Giter Club home page Giter Club logo

Comments (6)

msalle avatar msalle commented on July 29, 2024

To document the issue:
The problem comes from myproxy_get_delegation.c lines 205-210 where a warning is logged in case the voms-proxy-init command failed, but it does not influence the exit value. (Note that the actual call and waitpid() is in at the end of the same file myproxy_get_delegation.c lines 506-L510). So when the voms-proxy-init command fails, you get a warning and instead a non-voms proxy is successfully issued, hence you get the 0 exit value. We should decide whether we find this behaviour correct (in which case it probably must be documented) or a bug.

from gct.

zsalvet avatar zsalvet commented on July 29, 2024

The second part of the problem is lack of proper handling of "rc" returned by the waitpid(),
it needs to be interpreted (at least WIFEXITED and WIFSIGNALED cases) and replaced
with suitable negative value before return from voms_proxy_init().

from gct.

msalle avatar msalle commented on July 29, 2024

I agree that returning the status as rc is incorrect, but in any case, any return value of voms_proxy_init() is currently ignored. Parsing the status to produce better (and correct) logging would indeed be a good idea.

from gct.

fscheiner avatar fscheiner commented on July 29, 2024

@zsalvet @msalle
@jbasney and me have provided #147 to solve this issue. This should automatically close this issue when merged. If the provided solution is not what you had in mind or incomplete, please re-open this issue and provide an explanation.

from gct.

fscheiner avatar fscheiner commented on July 29, 2024

Ok, as per #129 I label this issue "fixed in git master", re-open it and keep it open until our next release.

from gct.

fscheiner avatar fscheiner commented on July 29, 2024

Fixed in GCT 6.2.20210826 maintenance release.

from gct.

Related Issues (20)

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.