[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] Problem with scitokens-cpp v1.3.0 and HTCondor-CEs



Hi Stefano,

can you also check what the `XDG_CACHE_HOME` envvar is set in the context of your CE service?

We had some time ago some problems so that we explicitly added a dropin (with the cache dir owned by the `condor` user) [1] If you want to be on the safe(r) side you could also add a drop in to the condor-ce service and own the dir explicitly [2] (provided that there is no ownership confusion later on ð)

However, tbh I am not sure if it is still needed or if it got covered in one of the releases since.

Cheers,
  Thomas

[1]
> cat /etc/systemd/system/condor-ce.service.d/condor-ce_10-XDG_CACHE_HOME_envvar.conf
#
# managed by puppet
# module-htcondor_ce::templates/etc/systemd/system/condor-ce_10-XDG_CACHE_HOME_envvar.conf.dropin
#   module-htcondor_ce ~~> services.pp
#
[Service]
Environment=XDG_CACHE_HOME=/var/lib/condor-ce/cache

[2]
# picked from the condor unit as example
[Service]
ExecStartPre=-/usr/bin/mkdir -p /var/run/condor
ExecStartPre=-/usr/bin/chown -R condor:condor /var/run/condor

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature