Description of problem: Not technically a problem, but an inconsistency. /var/run/condor should be the target for pidfiles, and it should be made available from the condor RPM.
This is a problem for people who store /var/lib/condor on a shared file system.
This will be fixed in 7.2.0-4 commit c2cb6fdf7f29c8de9b8aaff99b1d89a51a47e655 Author: Matthew Farrellee <matt> Date: Wed Jan 21 08:03:07 2009 -0600 Moved pidfile from /var/lib/condor to a more proper /var/run/condor diff --git a/src/condor_examples/condor.init b/src/condor_examples/condor.init index 04f1047..9fbb23a 100644 --- a/src/condor_examples/condor.init +++ b/src/condor_examples/condor.init @@ -7,7 +7,7 @@ # platform. # processname: condor_master # config: /etc/condor/condor_config -# pidfile: /var/lib/condor/condor_master.pid +# pidfile: /var/run/condor/condor_master.pid ### BEGIN INIT INFO # Provides: condor @@ -21,7 +21,7 @@ prog=condor_master lockfile=/var/lock/subsys/$prog -pidfile=/var/lib/condor/$prog.pid +pidfile=/var/run/condor/$prog.pid # Source function library . /etc/init.d/functions
Verified on condor-7.2.1-0.1.el5: rhel5:~# service condor start Starting Condor daemons: [ OK ] rhel5:~# ls /var/lib/condor/ condor_config.local execute log spool rhel5:~# ls /var/run/condor/ condor_master.pid procd_pipe.SCHEDD procd_pipe.SCHEDD.watchdog
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2009-0434.html