dspam /etc/init.d/dspam ignores $USER

Bug #232543 reported by Bernhard Wodok
2
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:/etc/init.d# diff dspam.old dspam
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

Revision history for this message
Daniel Hahler (blueyed) wrote :

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.

Changed in dspam:
assignee: nobody → blueyed
importance: Undecided → Medium
status: New → In Progress
Changed in dspam:
status: Unknown → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dspam - 3.6.8-8ubuntu2

---------------
dspam (3.6.8-8ubuntu2) intrepid; urgency=low

  * debian/dspam.init:
    - use $USER for chowning $PIDFILE and starting the daemon (not only for
      the test start)
    - Patch from Bernhard Wodok (LP: #232543). Thanks.

 -- Daniel Hahler <email address hidden> Sat, 31 May 2008 21:01:08 +0200

Changed in dspam:
status: In Progress → 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.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.