Your message dated Tue, 03 Jul 2012 21:32:13 +0000
with message-id <e1smahh-0001on...@franck.debian.org>
and subject line Bug#679106: fixed in cron 3.0pl1-124
has caused the Debian Bug report #679106,
regarding cron: multiple /etc/init.d/cron stop may kill unrelated processes
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
679106: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=679106
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: cron
Version: 3.0pl1-123
Severity: critical
Justification: breaks unrelated software



Hi.

Apparently, cron doesn't clear the PID file once stopped, so
subsequent invokations of:
/etc/init.d/cron stop
continue to try killing a process of that PID.
E.g.:
# /etc/init.d/cron stop
[ ok ] Stopping periodic command scheduler: cron.
# /etc/init.d/anacron stop && /etc/init.d/cron stop
[....] Stopping periodic command scheduler: cron/sbin/start-stop-daemon: 
warning: failed to kill 10944: No such process
. ok 

Given that any other process can have this PID in the meantime it may
not too unlikely break unrelated software or cause even serious
data loss; therefore marking it as critical.


Cheers,
Chris.

-- Package-specific info:
--- EDITOR:


--- /usr/bin/editor:
/usr/bin/vim.gnome

--- /usr/bin/crontab:
-rwxr-sr-x 1 root crontab 35880 Jun 23 09:15 /usr/bin/crontab

--- /var/spool/cron:
drwxr-xr-x 5 root root 4096 Jul  2  2008 /var/spool/cron

--- /var/spool/cron/crontabs:
drwx-wx--T 2 root crontab 4096 Dec 20  2006 /var/spool/cron/crontabs

--- /etc/cron.d:
drwxr-xr-x 2 root root 4096 Jun 23 12:03 /etc/cron.d

--- /etc/cron.daily:
drwxr-xr-x 2 root root 4096 Jun 23 12:03 /etc/cron.daily

--- /etc/cron.hourly:
drwxr-xr-x 2 root root 4096 Jun 23 12:03 /etc/cron.hourly

--- /etc/cron.monthly:
drwxr-xr-x 2 root root 4096 Jun 23 12:03 /etc/cron.monthly

--- /etc/cron.weekly:
drwxr-xr-x 2 root root 4096 Jun 23 12:03 /etc/cron.weekly


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.20-heisenberg (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_DE.UTF-8, LC_CTYPE=en_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cron depends on:
ii  adduser         3.113+nmu3
ii  debianutils     4.3.1
ii  dpkg            1.16.4.3
ii  libc6           2.13-33
ii  libpam-runtime  1.1.3-7.1
ii  libpam0g        1.1.3-7.1
ii  libselinux1     2.1.9-5
ii  lsb-base        4.1+Debian7

Versions of packages cron recommends:
ii  postfix [mail-transport-agent]  2.9.3-2

Versions of packages cron suggests:
ii  anacron        2.3-19
ii  checksecurity  2.0.14
ii  logrotate      3.8.1-4

Versions of packages cron is related to:
pn  libnss-ldap   <none>
pn  libnss-ldapd  <none>
pn  libpam-ldap   <none>
pn  libpam-mount  <none>
pn  nis           <none>
pn  nscd          <none>

-- no debconf information



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

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-124.diff.gz
  to main/c/cron/cron_3.0pl1-124.diff.gz
cron_3.0pl1-124.dsc
  to main/c/cron/cron_3.0pl1-124.dsc
cron_3.0pl1-124_i386.deb
  to main/c/cron/cron_3.0pl1-124_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 679...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Javier Fernández-Sanguino Peña <j...@debian.org> (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 ftpmas...@debian.org)


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

Format: 1.8
Date: Thu, 28 Jun 2012 12:08:09 +0200
Source: cron
Binary: cron
Architecture: source i386
Version: 3.0pl1-124
Distribution: unstable
Urgency: medium
Maintainer: Javier Fernández-Sanguino Peña <j...@debian.org>
Changed-By: Javier Fernández-Sanguino Peña <j...@debian.org>
Description: 
 cron       - process scheduling daemon
Closes: 615855 674192 679062 679106
Changes: 
 cron (3.0pl1-124) unstable; urgency=medium
 .
   [ Release targeted to Wheezy including fixes for critical/important bugs ]
   * debian/{preinst,postinst,postrm}: remove obsolete /etc/cron.daily/standard
     on upgrade. (Closes: #679062)
   * debian/cron.init: Have the init.d file remove cron's pidfile if it
     exists after killing the process. The pidfile should be removed
     by cron itself (but it isn't) through its SIGhandler as done in later
     versions in cron (4.1 and cronie). This fix is, however, simpler and less
     intrusive. (Closes: 679106, 615855)
   * debian/control:
        - Reword last paragraph since cron does not provide any standard tasks
          anymore. (Closes: 674192)
        - Update to Standards-Version: 3.9.3 - which BTW includes an indication
          on which are the valid cron filenames.
        - Depend on debhelper >= 9 (lintian warning)
Checksums-Sha1: 
 a0003f00360b8ec2ede46692cf955b5f5b373ccb 1262 cron_3.0pl1-124.dsc
 d9d45f55cef431e3b3e0e5e9d86d75749287ffa8 96334 cron_3.0pl1-124.diff.gz
 4678510a68b827155daf9df1a5a7f734ab4d8fad 106192 cron_3.0pl1-124_i386.deb
Checksums-Sha256: 
 98acc2d6b71e64e6cdd2f8ef3d4fc0db0db58c92de164cc000f5bf3e99a81db0 1262 
cron_3.0pl1-124.dsc
 6ddfd64c325d288eaa5c8448d5ed8013cea2804334b4e6dd5ae8a9c19d2bc3dd 96334 
cron_3.0pl1-124.diff.gz
 632015ee8cb9a2c28caf0b6755b83af23a9fbe3377e77e7d71fd119c156a97cb 106192 
cron_3.0pl1-124_i386.deb
Files: 
 2854d296ae5b42ffa465d92af172b893 1262 admin important cron_3.0pl1-124.dsc
 30475d136fb609c7b512c0299b9286a4 96334 admin important cron_3.0pl1-124.diff.gz
 8d197739af3d05dd20016e2c40bfb6da 106192 admin important 
cron_3.0pl1-124_i386.deb

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

iD8DBQFP82OCsandgtyBSwkRApx6AJ9Hqvv4TDErdiixVmoVBeZyIaVzxACfYhQv
kIWxzGOeb/fUhpjnR2yVdVc=
=w7r1
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to