DragonFly bugs List (threaded) for 2005-06
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: purge /var/run/*pid ?
On Tue, Jun 21, 2005 at 02:15:48AM +0200, Simon 'corecode' Schubert wrote:
>Lately "George Georgalis" <george@xxxxxxxxx> said:
>> 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?
>
>i thought /var/run is being cleaned on startup anyways...
humm, well not this time...
c12# uptime
12:18AM up 28 mins, 1 user, load averages: 0.00, 0.00, 0.00
c12# ls -l /var/run/
total 62
-rw-r--r-- 1 root wheel 4 Jun 20 23:50 cron.pid
-rw-r--r-- 1 root wheel 4 Jun 20 23:50 cvsdup.sh.pid
-rw-r--r-- 1 root wheel 57344 Jun 20 23:50 dev.db
-rw-r--r-- 1 root wheel 4983 Jun 20 23:50 dmesg.boot
-r--r--r-- 1 root wheel 197 Jun 20 23:50 ld-elf.so.hints
srw-rw-rw- 1 root wheel 0 Jun 20 23:50 log
-rw-r--r-- 1 root wheel 4 Jun 20 23:50 mountd.pid
drwxrwx--- 2 root network 512 Jun 5 15:59 ppp
-rw------- 1 root wheel 78 Jun 20 23:50 sendmail.pid
-rw-r--r-- 1 root wheel 4 Jun 20 23:50 sshd.pid
-rw-r--r-- 1 root wheel 4 Jun 20 23:50 syslog.pid
-rw-r--r-- 1 root wheel 0 Jun 20 23:50 syslogd.sockets
-rw-r--r-- 1 root wheel 748 Jun 20 23:50 utmp
c12# date
Tue Jun 21 00:18:25 EDT 2005
c12#
I'll take another look to see if I broke something here...
// George
--
George Georgalis, systems architect, administrator Linux BSD IXOYE
http://galis.org/george/ cell:646-331-2027 mailto:george@xxxxxxxxx
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]