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

Re: [HTCondor-users] Help on running HTCondor as root



On 10/21/2015 07:22 AM, Tommaso Boccali wrote:

can you point me to the change user that condor tries to do in an occasion like this? which is the user it tries to change to?

Condor is switching user it by calling the system call setuid.  In this case it is trying to switch to the condor user.

I still don't understand why condor needs to be started as root in this case.  In fact, I don't understand why condor needs to be run under parrot.  Isn't it just the payload job that needs to see cvmfs?  Condor has a feature, USER_JOB_WRAPPER, that lets you write a shell wrapper that runs "around" each end user job.  Would it be easier to start Condor as usual, outside of parrot, and just have the USER_JOB_WRAPPER exec the job under parrot?

-greg