dspam /etc/init.d/dspam ignores $USER
Bug #232543 reported by
Bernhard Wodok
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dspam (Debian) |
Fix Released
|
Unknown
|
|||
dspam (Ubuntu) |
Fix Released
|
Medium
|
Daniel Hahler |
Bug Description
Binary package hint: dspam
Package: dspam
Version: 3.6.8-8ubuntu1
The start/stop script /etc/init.d/dspam ignores user:
Here's a diff for the fixed version:
root@moe:
34c34
< chown dspam $(dirname $PIDFILE)
---
> chown $USER $(dirname $PIDFILE)
45c45
< start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- $OPTIONS || return 2
---
> start-stop-daemon --start --quiet --pidfile $PIDFILE --chuid $USER --exec $DAEMON -- $OPTIONS || return 2
Changed in dspam: | |
status: | Unknown → Fix Released |
Changed in dspam: | |
status: | Unknown → New |
Changed in dspam: | |
status: | New → Fix Committed |
Changed in dspam: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Thank you for this bug report.
This has been changed in Debian (3.6.8-8), but not completely apparently.
I'll upload your fix to Ubuntu and forward it to Debian.