glideinWMS / glideinwms

The glideinWMS Project
http://tinyurl.com/glideinwms
Apache License 2.0
16 stars 45 forks source link

Unset CONDOR_INHERIT in the condor_startup script #274

Open mmascher opened 1 year ago

mmascher commented 1 year ago

Describe the bug A site admin found a case where the CONDOR_INHERIT environment variable leaked from the CE configuration to the pilot one: https://support.opensciencegrid.org/a/tickets/72095

To Reproduce Set CONDOR_INHERIT on a test CE and have it propagate to the environment of the pilot.

Expected behavior We should unset the variable in the condor_startup script to avoid any conflict in the condor configurations.

Info (please complete the following information):

mmascher commented 1 year ago

Jeff already patched it in the factory:

[0928] gfactory@gfactory-2 ~$ diff /var/lib/gwms-factory/web-base/condor_startup.sh.bak20230307 /var/lib/gwms-factory/web-base/condor_startup.sh
65a66,68
> 
> unset CONDOR_INHERIT
>