Bug 471906 - condor init script writes pidfile to /var/lib/condor
Summary: condor init script writes pidfile to /var/lib/condor
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: grid
Version: 1.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: 1.1.1
: ---
Assignee: Matthew Farrellee
QA Contact: Kim van der Riet
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-11-17 16:41 UTC by Matthew Farrellee
Modified: 2009-04-21 16:18 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-04-21 16:18:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2009:0434 0 normal SHIPPED_LIVE Red Hat Enterprise MRG Messaging and Grid Version 1.1.1 2009-04-21 16:15:50 UTC

Description Matthew Farrellee 2008-11-17 16:41:59 UTC
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.

Comment 1 Matthew Farrellee 2008-11-17 16:42:46 UTC
This is a problem for people who store /var/lib/condor on a shared file system.

Comment 2 Matthew Farrellee 2009-01-21 15:56:12 UTC
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

Comment 3 Jan Sarenik 2009-01-29 09:35:51 UTC
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

Comment 5 errata-xmlrpc 2009-04-21 16:18:52 UTC
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


Note You need to log in before you can comment on or make changes to this bug.