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

Re: [HTCondor-users] Docker universe error



Hi,

the initial creation of the /var/run stuff works ok but after reboot /var/run is empty so you need a little addition to 

/usr/lib/systemd/system/condor.service to recreate /var/run/condor before starting: 

ExecStartPre=-/usr/bin/mkdir -p /var/run/condor
ExecStartPre=-/usr/bin/chown -R condor:condor /var/run/condor
PermissionsStartOnly=true

In /etc/sysconfig/docker

I needed the additional option '--storage-opt dm.no_warn_on_loop_devices=true' to avoid a warning at the start-up of docker that condor considers to be an error


best regards
        ~christoph


-- 
/*   Christoph Beyer     |   Office: Building 2b / 23     *\
 *   DESY                |    Phone: 040-8998-2317        *
 *   - IT -              |      Fax: 040-8994-2317        *
\*   22603 Hamburg       |     http://www.desy.de         */

----- Original Message -----
From: "Dimitri Maziuk" <dmaziuk@xxxxxxxxxxxxx>
To: "htcondor-users" <htcondor-users@xxxxxxxxxxx>
Sent: Friday, 24 July, 2015 17:47:08
Subject: Re: [HTCondor-users] Docker universe error

On 07/24/2015 05:02 AM, Beyer, Christoph wrote:

> There are some minor things like the systemd issues with the cleanup
of /var/run at boot time that are not reflected in the RHEL7 rpm pkgs

Are your condor user:group in local files in /etc? -- because in 8.2
rpms the problem is it's creating /run stuff before it can get uid:gid
from ldap server.

-- 
Dimitri Maziuk
Programmer/sysadmin
BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu


_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/