Your message dated Tue, 15 Jan 2008 19:02:04 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#460869: 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: serious
This is a bit of a follow-up to #460514.
The cron init script fails when called with 'stop':
$ ps ax | grep cron
3562 ? Ss 0:00 /usr/sbin/cron
$ cat /var/run/crond.pid
3562
$ sudo /etc/init.d/cron stop
Stopping periodic command scheduler: crond failed!
[EMAIL PROTECTED]:~$ sudo /etc/init.d/cron start
Starting periodic command scheduler: crond/usr/sbin/cron: can't lock
/var/run/crond.pid, otherpid may be 3562: Resource temporarily unavailable
failed!
A run with 'set -x' in the init script shows that the following command
fails with exit code 1:
start-stop-daemon --stop --quiet --pidfile /var/run/cron.pid --name cron
Seems like the error is in this line:
PIDFILE=/var/run/cron.pid
which should probably be
PIDFILE=/var/run/crond.pid
Which makes me wonder if
[ -e /etc/cron.pid ] && PIDFILE=/etc/cron.pid
should also possibly be
[ -e /etc/crond.pid ] && PIDFILE=/etc/crond.pid
?
Cheers,
FJP
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.24-rc7 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages cron depends on:
ii adduser 3.105 add and remove users and groups
ii debianutils 2.28.2 Miscellaneous utilities specific t
ii libc6 2.7-6 GNU C Library: Shared libraries
ii libpam0g 0.99.7.1-5 Pluggable Authentication Modules l
ii libselinux1 2.0.15-2+b1 SELinux shared libraries
ii lsb-base 3.1-24 Linux Standard Base 3.1 init scrip
Versions of packages cron recommends:
ii exim4 4.68-2 meta-package to ease Exim MTA (v4)
ii exim4-daemon-light [mail-tran 4.68-2 lightweight Exim MTA (v4) daemon
-- no debconf information
--- 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 ---