Your message dated Tue, 15 Jan 2008 19:02:04 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#460886: fixed in cron 3.0pl1-103
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: cron
Version: 3.0pl1-102
Severity: normal

Hello.

localhost:~# ps aux | grep cron
root     14394  0.0  0.0   2400   688 pts/0    R+   12:54   0:00 grep cron
localhost:~# /etc/init.d/cron start
Starting periodic command scheduler: crond.
localhost:~# ps aux | grep cron
root     14478  0.0  0.0   2972   972 ?        Ss   12:54   0:00 /usr/sbin/cron
root     14502  0.0  0.0   2400   696 pts/0    S+   12:54   0:00 grep cron
localhost:~# /etc/init.d/cron stop
Stopping periodic command scheduler: crond failed!
localhost:~#ps aux | grep cron
root     14478  0.0  0.0   2972   972 ?        Ss   12:54   0:00 /usr/sbin/cron
root     17036  0.0  0.0   2400   696 pts/0    S+   12:58   0:00 grep cron
localhost:~#cat /var/run/crond.pid
14478
localhost:~#

The problem is that cron has probably hardcoded pidfile as
/var/run/crond.pid and ignores --pidfile argument that start-stop-daemon
tries to pass it.

Thus whenever cron is started it creates /var/run/crond.pid, but during
shutdown it searches for /var/run/cron.pid.

The solution is either change PIDFILE variable in /etc/init.d/cron or make
cron able to use some variable passed to it instead of hardcoded value.

regards
fEnIo

-- 
  ,''`.  Bartosz Fenski | mailto:[EMAIL PROTECTED] | pgp:0x13fefc40 | irc:fEnIo
 : :' :       32-050 Skawina - Glowackiego 3/15 - malopolskie v. - Poland
 `. `'           phone:+48602383548 | proud Debian maintainer and user
   `-            http://fenski.pl | xmpp:[EMAIL PROTECTED] | rlu:172001

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: cron
Source-Version: 3.0pl1-103

We believe that the bug you reported is fixed in the latest version of
cron, which is due to be installed in the Debian FTP archive:

cron_3.0pl1-103.diff.gz
  to pool/main/c/cron/cron_3.0pl1-103.diff.gz
cron_3.0pl1-103.dsc
  to pool/main/c/cron/cron_3.0pl1-103.dsc
cron_3.0pl1-103_i386.deb
  to pool/main/c/cron/cron_3.0pl1-103_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Javier Fernandez-Sanguino Pen~a <[EMAIL PROTECTED]> (supplier of updated cron 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue, 15 Jan 2008 19:50:37 +0100
Source: cron
Binary: cron
Architecture: source i386
Version: 3.0pl1-103
Distribution: unstable
Urgency: low
Maintainer: Javier Fernandez-Sanguino Pen~a <[EMAIL PROTECTED]>
Changed-By: Javier Fernandez-Sanguino Pen~a <[EMAIL PROTECTED]>
Description: 
 cron       - management of regular background processing
Closes: 460869 460886
Changes: 
 cron (3.0pl1-103) unstable; urgency=low
 .
   * Fix bug introduced in the init.d file with the changes in the previous
     version that makes the init.d not work properly when stopping cron due
     to the improper definition of PIDFILE (Closes:  #460869, #460886)
Files: 
 780a022ca7dc08bd53de684933d15c2a 685 admin important cron_3.0pl1-103.dsc
 1e21c43062b3b977aac211eaea53600b 69702 admin important cron_3.0pl1-103.diff.gz
 f9bf6068bbd6b2195783e98893194e3b 80170 admin important cron_3.0pl1-103_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHjQGSsandgtyBSwkRAubtAJ47sDf57zFpqUlzE9Q/JAHrpkcooQCfW39b
ckuMFMxjjaundVC4Os5dRsk=
=DWLO
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to