purge /var/run/*pid ?

George Georgalis george at galis.org
Mon Jun 20 17:10:14 PDT 2005


Humm, it looks like the rc process doesn't invoke "stop"s on shutdown.

in that case maybe /var/run/*.pid files should be purged at end of
shutdown or start of boot? or maybe all rc scripts should trap SIGTERM
(and other "terminate process" signals?) to remove their own pid file
on exit? Thoughts?

does it matter really if rc scripts fork and call another executable, or
become the daemon themselves?

// George


-- 
George Georgalis, systems architect, administrator Linux BSD IXOYE
http://galis.org/george/ cell:646-331-2027 mailto:george at xxxxxxxxx





More information about the Bugs mailing list