[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] write and execute from different computer in grid
- Date: Thu, 17 Mar 2016 11:33:20 -0400
- From: Michael V Pelletier <Michael.V.Pelletier@xxxxxxxxxxxx>
- Subject: Re: [HTCondor-users] write and execute from different computer in grid
From: René Labounek <xlabou01@xxxxxxxxxxxxxxxxxx>
Date: 03/17/2016 09:25 AM
> I think I have found a problem. Based on chapter
2.5.3 in next URL, UIDs
> and GIDs must agree between computers. and they are not. Even not
> the condor user. Can I manually rewrite uid and gid for condor user
> one computer without breaking the HTcondor installation?
Changing the condor uid/gid is not as hard as you
You'll want to shut down the service first, of course.
Next, update the
user and group ID numbers to your desired value.
And the RPM package handily gives you a list of files
that need to be owned by the condor user and group.
rpm -qlv condor | grep '[0-9] condor'
(That'll need to include all the other packages in
the 8.4 release,
such as condor-procd, )
You've got /var/lib/condor and its subdirectories,
/var/log/condor, and /var/run/condor in 8.2. Then
you just do
a chown -R condor:condor on those directories, which
will use the
new UID and GID values you updated in /etc/passwd
and then restart the service.
You might also have a /tmp/hsperfdata_condor directory,
on your system, but you can just remove it rather
than chowning it.
If you want to be really sure, you can use find on
filesystems on a given machine:
find / -fstype ext4 -uid <olduid> -print
If you find anything outside of the RPM's purview,
add it to the
chown list or remove it. Since it's a privilege separation
though, you really shouldn't find anything outside
And then you just fire up the service again, and away