Git Product home page Git Product logo

ipa-experimental-x509-auth-plugin's Introduction

Some irrelevant GitHub's stats

ipa-experimental-x509-auth-plugin's People

Contributors

tiboris avatar

Stargazers

 avatar

Watchers

 avatar  avatar

ipa-experimental-x509-auth-plugin's Issues

post-install.py cannot be python3

Hi, I was testing out the newest version of this (from the COPR) and ran in to some issues. Basically, it's a violation of both Fedora and RHEL policy for this to be python3: it should have #!/usr/bin/python, and if it's runnable with python3 that's a bonus. In particular, python3 modules are not packaged for rhel7. This results in the following error:

Running transaction
  Installing : ipa-experimental-x509-auth-plugin-1.1-1.el7.centos.noarch   1/1 
Traceback (most recent call last):
  File "/usr/sbin/ipa-experimental-x509-auth-enable", line 5, in <module>
    import SSSDConfig
ImportError: No module named 'SSSDConfig'
warning: %post(ipa-experimental-x509-auth-plugin-1.1-1.el7.centos.noarch) scriptlet failed, exit status 1
Non-fatal POSTIN scriptlet failure in rpm package ipa-experimental-x509-auth-plugin-1.1-1.el7.centos.noar
ch

However, the file as it is written today is not python2-compliant:

# python /usr/sbin/ipa-experimental-x509-auth-enable 
  File "/usr/sbin/ipa-experimental-x509-auth-enable", line 25
    print("Execution of " + cmd + " failed: " + str(e), file=sys.stderr)
                                                            ^
SyntaxError: invalid syntax

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.