Red Hat Bugzilla – Bug 16217
default state file location is a VERY BAD choice
Last modified: 2008-05-01 11:37:57 EDT
When started, pvmd3 creates a couple of files keeping its state:
pvm[dl].<UID> . By default, it puts them into /tmp.
The problem is, PVM daemon doesn't touch those files after that. Thus, in
case there is no PVM activity for 10 days or such, the state files will get
removed by tmpwatch. This renders PVM majorly messed up, when only
kill(1)ing a daemon and restarting it can help.
The proper solution is:
a. In %postinstall script:
mkdir -p /var/run/pvm
chmod 1777 /var/run/pvm
b. In /etc/init.d/pvm:
Agreed - some programs can run for a long time (and for a little used cluster,
there doesn't need to be anything running for that period of time). Will fix.
That isnt all you can do....
Aha? I have a fixed RPM, but what could you do?
Submitted to the tree