dspam won't start: /var/run/dspam missing in tmpfs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dspam (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Dapper |
Invalid
|
Medium
|
Unassigned | ||
Edgy |
Invalid
|
Medium
|
Unassigned | ||
Feisty |
Fix Released
|
Medium
|
Unassigned | ||
Gutsy |
Fix Released
|
Medium
|
Unassigned | ||
Hardy |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: dspam
Now that /var/run is tmpfs mounted, the dspam daemon won't start due to /var/run/dspam missing.
It should be created by dspam startup initscript.
TEST CASE:
$ mount | grep /var/run
varrun on /var/run type tmpfs (rw,noexec,
$ sudo aptitude install dspam
$ sudo vi /etc/default/dspam # set START=yes
$ sudo /etc/init.d/dspam start # Observe notification of starting
$ sudo /etc/init.d/dspam stop # Observe notification of stopping
$ sudo reboot
$ sudo /etc/init.d/dspam start # Observe notification of starting
$ sudo /etc/init.d/dspam stop # Observe notification that it was not running
With the updated dspam, dspam should start & stop cleanly before and after reboot.
Changed in dspam: | |
status: | New → Confirmed |
Changed in dspam: | |
assignee: | nobody → blueyed |
status: | Confirmed → In Progress |
Changed in dspam: | |
assignee: | nobody → persia |
status: | Confirmed → In Progress |
Changed in dspam: | |
status: | New → Confirmed |
Changed in dspam: | |
assignee: | nobody → persia |
status: | Confirmed → In Progress |
description: | updated |
Changed in dspam: | |
assignee: | nobody → blueyed |
status: | New → In Progress |
Changed in dspam: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
importance: | Undecided → Medium |
status: | New → Confirmed |
status: | Confirmed → Fix Committed |
Changed in dspam: | |
status: | Confirmed → Fix Committed |
dAniel -
Thanks for the diff, even just pulling out the +test -d $(dirname $PIDFILE) || mkdir -p -m 755 $(dirname $PIDFILE)` section has saved me quite some worries!
karl.