Comments (6)
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.
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.
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.
@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.
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.
Fixed in GCT 6.2.20210826 maintenance release.
from gct.
Related Issues (20)
- fail to compiler gct-6.2 because of openssl HOT 3
- Can't install gct-toolkit release gct-6.2.20210826 HOT 13
- fail to globus-job-run becasue of no permission to access tmp directory on execution node
- globus-gridftp, globus-gram5 and globus-gsi not found HOT 1
- globus_gsi_cert_utils_error.c:42: possible missing "," ? HOT 5
- globus-job-run fails because the job manager failed to create an internal script argument file HOT 2
- where is MDS in GT6 HOT 2
- globus-job-run fails because of no permission to tmp directory HOT 2
- DNS error on repo.gridcf.org HOT 3
- TLSv1.3 handling incorrectly assumes exactly two tickets will be sent
- Weak GSSAPIKexAlgorithms ciphers detected HOT 5
- grid-proxy-init w/OpenSSL 3.x: Weakly encrypted PKCS#12 keystores can't be processed HOT 1
- pipeline doesn't work: ERROR: too many url strings specified HOT 6
- Typo in globus_gsi_system_config.c HOT 1
- autoreconf failure: files not found HOT 1
- Build error: undefined reference to `FIPS_mode' HOT 9
- confusion between ASN1_UTCTIME and ASN1_GENERALIZEDTIME HOT 5
- Lack of IO error checks generate incorrect file checksums HOT 4
- Unknown/unsupported OpenSSL version ("30100040 (OpenSSL 3.1.4 24 Oct 2023)") HOT 9
- RHEL9 clients and dCache on java-17 compatibility HOT 22
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gct.