Your message dated Mon, 14 Aug 2006 01:19:35 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Bug#382599: clamav-freshclam: uses start_daemon incorrectly
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: lsb-base
Version: 3.1-12
Severity: serious

[EMAIL PROTECTED]:/home/joey>/etc/init.d/clamav-freshclam start
Starting ClamAV virus database updater:
freshclam/sbin/start-stop-daemon: stat /var/run/clamav/freshclam.pid: No
such file or directory (No such file or directory)
 failed!

sh -x reveals it going badly wrong is parsing the start_daemon params:

+ start_daemon /usr/bin/freshclam -p /var/run/clamav/freshclam.pid -d --quiet
+ local force nice pidfile exec i
+ force=0
+ nice=0
+ pidfile=/dev/null
+ getopts fn:p: opt
+ shift 2
+ '[' /var/run/clamav/freshclam.pid = -- ']'
+ exec=/var/run/clamav/freshclam.pid
+ shift
+ '[' 0 = 1 ']'
+ '[' /dev/null ']'
+ /sbin/start-stop-daemon --start --nicelevel 0 --quiet --exec
/var/run/clamav/freshclam.pid --oknodo --pidfile /dev/null -- -d --quiet

If this is a bug in clamav-freshclam for passing the daemon to start before
the options, please reassign the bug; I haven't checked the LSB and this
package doesn't seem to bother to document start_daemon's syntax internally.

-- 
see shy jo


--- End Message ---
--- Begin Message ---
This one time, at band camp, Carlos C Soto said:
> It works correct to me.

Thank you for the feedback.  I am going to close this bug.  Joey (or
others) if you experience problems, feel free to reopen or open a new
bug.  In a future upload, I'll probably drop the OPTIND workaround now
that it's in lsb-base, and the problematic version are gone from the
archive.

Thanks all,
-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        [EMAIL PROTECTED] |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to