Debian Bug report logs - #783683
restarting cron kills running jobs

version graph

Package: cron; Maintainer for cron is Georges Khaznadar <georgesk@debian.org>; Source for cron is src:cron (PTS, buildd, popcon).

Reported by: Joerg Morbitzer <jomo@sol-3.de>

Date: Wed, 29 Apr 2015 07:39:01 UTC

Severity: critical

Tags: confirmed

Found in version cron/3.0pl1-127

Fixed in versions cron/3.0pl1-128, cron/3.0pl1-127+deb8u1

Done: Christian Kastner <debian@kvr.at>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Javier Fernández-Sanguino Peña <jfs@debian.org>:
Bug#783683; Package cron. (Wed, 29 Apr 2015 07:39:06 GMT) (full text, mbox, link).


Acknowledgement sent to Joerg Morbitzer <jomo@sol-3.de>:
New Bug report received and forwarded. Copy sent to Javier Fernández-Sanguino Peña <jfs@debian.org>. (Wed, 29 Apr 2015 07:39:06 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Joerg Morbitzer <jomo@sol-3.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: cron started with -f (foreground), killing processes on restart
Date: Wed, 29 Apr 2015 09:28:44 +0200
Package: cron
Version: 3.0pl1-127
Severity: normal

Dear Maintainer,

on Debian Jessie the cron daemon is being started with the parameter -f
(for running in "foreground"). Now, when restarting the daemon using
"systemctl restart cron.service" all running processes *initiated*
by the cron daemon will be killed.

I think the culprit is in this file:

/lib/systemd/system/cron.service

sol3@leeds:~$ ps auxww | grep '[c]ron'
root      8694  0.0  0.0  27464  2644 ?        Ss   Apr28   0:00 /usr/sbin/cron -f
sol3@leeds:~$

In the past (with Squeeze, Wheezy etc.) cron was always daemonized
and that behaviour never(!) happened, I think this -f is a pretty 
dangerous thing.

Kind regards, Joerg Morbitzer


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


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

--- /usr/bin/crontab:
-rwxr-sr-x 1 root crontab 36008 Oct 26  2014 /usr/bin/crontab

--- /var/spool/cron:
drwxr-xr-x 5 root root 4096 Jan 28 11:44 /var/spool/cron

--- /var/spool/cron/crontabs:
drwx-wx--T 2 root crontab 4096 Mar 27 09:37 /var/spool/cron/crontabs

--- /etc/cron.d:
drwxr-xr-x 2 root root 4096 Jan 28 11:45 /etc/cron.d

--- /etc/cron.daily:
drwxr-xr-x 2 root root 4096 Apr 20 07:03 /etc/cron.daily

--- /etc/cron.hourly:
drwxr-xr-x 2 root root 4096 Jan 28 11:40 /etc/cron.hourly

--- /etc/cron.monthly:
drwxr-xr-x 2 root root 4096 Jan 28 11:45 /etc/cron.monthly

--- /etc/cron.weekly:
drwxr-xr-x 2 root root 4096 Jan 28 11:45 /etc/cron.weekly


-- System Information:
Debian Release: 8.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages cron depends on:
ii  adduser              3.113+nmu3
ii  debianutils          4.4+b1
ii  dpkg                 1.17.25
ii  init-system-helpers  1.22
ii  libc6                2.19-18
ii  libpam-runtime       1.1.8-3.1
ii  libpam0g             1.1.8-3.1
ii  libselinux1          2.3-2
ii  lsb-base             4.1+Debian13+nmu1

Versions of packages cron recommends:
ii  exim4                                      4.84-8
ii  exim4-daemon-light [mail-transport-agent]  4.84-8

Versions of packages cron suggests:
ii  anacron        2.3-23
pn  checksecurity  <none>
ii  logrotate      3.8.7-1+b1

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

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Javier Fernández-Sanguino Peña <jfs@debian.org>:
Bug#783683; Package cron. (Fri, 01 May 2015 07:30:04 GMT) (full text, mbox, link).


Acknowledgement sent to Alexandre Detiste <alexandre.detiste@gmail.com>:
Extra info received and forwarded to list. Copy sent to Javier Fernández-Sanguino Peña <jfs@debian.org>. (Fri, 01 May 2015 07:30:05 GMT) (full text, mbox, link).


Message #10 received at 783683@bugs.debian.org (full text, mbox, reply):

From: Alexandre Detiste <alexandre.detiste@gmail.com>
To: 783683@bugs.debian.org
Subject: Re: cron started with -f (foreground), killing processes on restart
Date: Fri, 01 May 2015 09:24:41 +0200
Control: severity -1 important


Hi,

To solve your problem, you can add "KillMode=process" 
into the [Service] stanza of cron.service.

I guess this is an important bug that should be solved in Debian 8.1
due soon.


---

http://www.freedesktop.org/software/systemd/man/systemd.kill.html

| If set to control-group, all remaining processes in the control group of this unit will be killed on unit stop
| If set to process, only the main process itself is killed.
| Defaults to control-group.

Other distro's do that too

https://git.fedorahosted.org/cgit/cronie.git/tree/contrib/cronie.systemd
http://arch-general.archlinux.narkive.com/FcUpb8Nw/protect-a-cron-job-from-systemd

(not Debian)
http://anonscm.debian.org/cgit/pkg-cron/pkg-cron.git/tree/debian/cron.service

Alexandre Detiste




Severity set to 'important' from 'normal' Request was from Alexandre Detiste <alexandre.detiste@gmail.com> to 783683-submit@bugs.debian.org. (Fri, 01 May 2015 07:30:05 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Javier Fernández-Sanguino Peña <jfs@debian.org>:
Bug#783683; Package cron. (Sun, 03 May 2015 13:00:10 GMT) (full text, mbox, link).


Message #15 received at 783683@bugs.debian.org (full text, mbox, reply):

From: Christoph Berg <myon@debian.org>
To: Joerg Morbitzer <jomo@sol-3.de>, 783683@bugs.debian.org, Alexandre Detiste <alexandre.detiste@gmail.com>
Subject: Re: Bug#783683: cron started with -f (foreground), killing processes on restart
Date: Sun, 3 May 2015 14:58:07 +0200
[Message part 1 (text/plain, inline)]
Control: severity -1 critical

Re: Joerg Morbitzer 2015-04-29 <20150429072844.9034.66226.reportbug@mars.sol-3.de>
> In the past (with Squeeze, Wheezy etc.) cron was always daemonized
> and that behaviour never(!) happened, I think this -f is a pretty 
> dangerous thing.

The problem isn't running in the foreground, but systemd's process
group handling.


Re: Alexandre Detiste 2015-05-01 <2522456.jJ8AmF7lJg@antec>
> Control: severity -1 important
> 
> 
> Hi,
> 
> To solve your problem, you can add "KillMode=process" 
> into the [Service] stanza of cron.service.
> 
> I guess this is an important bug that should be solved in Debian 8.1
> due soon.

The behavior was different for decades, and this change isn't
mentioned in NEWS.Debian to make the user aware. I guess everyone who
has been managing cron as a sysadmin will get bitten badly by this
change.

I'd strongly opt to change the KillMode as mentioned above.
#debian-devel seems to agree, so I'm upgrading this bug to RC.
(critical as it's killing "random" processes)

> http://www.freedesktop.org/software/systemd/man/systemd.kill.html
> 
> | If set to control-group, all remaining processes in the control group of this unit will be killed on unit stop
> | If set to process, only the main process itself is killed.
> | Defaults to control-group.
> 
> Other distro's do that too
> 
> https://git.fedorahosted.org/cgit/cronie.git/tree/contrib/cronie.systemd
> http://arch-general.archlinux.narkive.com/FcUpb8Nw/protect-a-cron-job-from-systemd
> 
> (not Debian)
> http://anonscm.debian.org/cgit/pkg-cron/pkg-cron.git/tree/debian/cron.service

Christoph
-- 
cb@df7cb.de | http://www.df7cb.de/
[signature.asc (application/pgp-signature, inline)]

Severity set to 'critical' from 'important' Request was from Christoph Berg <myon@debian.org> to 783683-submit@bugs.debian.org. (Sun, 03 May 2015 13:00:10 GMT) (full text, mbox, link).


Changed Bug title to 'restarting cron kills running jobs' from 'cron started with -f (foreground), killing processes on restart' Request was from Christoph Berg <myon@debian.org> to control@bugs.debian.org. (Sun, 03 May 2015 13:03:08 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Javier Fernández-Sanguino Peña <jfs@debian.org>:
Bug#783683; Package cron. (Sun, 03 May 2015 13:36:04 GMT) (full text, mbox, link).


Message #22 received at 783683@bugs.debian.org (full text, mbox, reply):

From: Christoph Berg <myon@debian.org>
To: Joerg Morbitzer <jomo@sol-3.de>, 783683@bugs.debian.org, Alexandre Detiste <alexandre.detiste@gmail.com>
Subject: Re: Bug#783683: cron started with -f (foreground), killing processes on restart
Date: Sun, 3 May 2015 15:33:45 +0200
[Message part 1 (text/plain, inline)]
Re: To Joerg Morbitzer 2015-05-03 <20150503125807.GA3116@msg.df7cb.de>
> > I guess this is an important bug that should be solved in Debian 8.1
> > due soon.
> 
> The behavior was different for decades, and this change isn't
> mentioned in NEWS.Debian to make the user aware. I guess everyone who
> has been managing cron as a sysadmin will get bitten badly by this
> change.
> 
> I'd strongly opt to change the KillMode as mentioned above.
> #debian-devel seems to agree, so I'm upgrading this bug to RC.
> (critical as it's killing "random" processes)

A particular reason why the current behavior is bad is that it is
common practise to start user daemons using @reboot cronjobs. These
are long-running and shouldn't get terminated. (There are alternatives
available to start user processes at boot, but the predominant way atm
is still @reboot.)

Christoph
-- 
cb@df7cb.de | http://www.df7cb.de/
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Javier Fernández-Sanguino Peña <jfs@debian.org>:
Bug#783683; Package cron. (Sun, 03 May 2015 13:48:09 GMT) (full text, mbox, link).


Acknowledgement sent to Christian Kastner <debian@kvr.at>:
Extra info received and forwarded to list. Copy sent to Javier Fernández-Sanguino Peña <jfs@debian.org>. (Sun, 03 May 2015 13:48:09 GMT) (full text, mbox, link).


Message #27 received at 783683@bugs.debian.org (full text, mbox, reply):

From: Christian Kastner <debian@kvr.at>
To: Christoph Berg <myon@debian.org>
Cc: Joerg Morbitzer <jomo@sol-3.de>, 783683@bugs.debian.org, Alexandre Detiste <alexandre.detiste@gmail.com>
Subject: Re: Bug#783683: cron started with -f (foreground), killing processes on restart
Date: Sun, 03 May 2015 15:47:04 +0200
Control: tag -1 + confirmed pending

On 2015-05-03 15:33, Christoph Berg wrote:
> Re: To Joerg Morbitzer 2015-05-03 <20150503125807.GA3116@msg.df7cb.de>
>> I'd strongly opt to change the KillMode as mentioned above.
>> #debian-devel seems to agree, so I'm upgrading this bug to RC.
>> (critical as it's killing "random" processes)
> 
> A particular reason why the current behavior is bad is that it is
> common practise to start user daemons using @reboot cronjobs.

I was wondering what the use case for this was, but that seems plausible.

Regardless, I committed a fix for the sole fact that it's a significant
deviation from past behavior, as you pointed out.

I've prepared packages for both jessie and unstable.

Thanks, Alexandre and Christoph, for your analysis and solution!

Regards,
Christian



Added tag(s) confirmed and pending. Request was from Christian Kastner <debian@kvr.at> to 783683-submit@bugs.debian.org. (Sun, 03 May 2015 13:48:09 GMT) (full text, mbox, link).


Reply sent to Christian Kastner <debian@kvr.at>:
You have taken responsibility. (Thu, 14 May 2015 07:36:20 GMT) (full text, mbox, link).


Notification sent to Joerg Morbitzer <jomo@sol-3.de>:
Bug acknowledged by developer. (Thu, 14 May 2015 07:36:21 GMT) (full text, mbox, link).


Message #34 received at 783683-close@bugs.debian.org (full text, mbox, reply):

From: Christian Kastner <debian@kvr.at>
To: 783683-close@bugs.debian.org
Subject: Bug#783683: fixed in cron 3.0pl1-128
Date: Thu, 14 May 2015 07:34:04 +0000
Source: cron
Source-Version: 3.0pl1-128

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.

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 783683@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christian Kastner <debian@kvr.at> (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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 03 May 2015 15:25:18 +0200
Source: cron
Binary: cron
Architecture: source i386
Version: 3.0pl1-128
Distribution: unstable
Urgency: medium
Maintainer: Javier Fernández-Sanguino Peña <jfs@debian.org>
Changed-By: Christian Kastner <debian@kvr.at>
Description:
 cron       - process scheduling daemon
Closes: 783683
Changes:
 cron (3.0pl1-128) unstable; urgency=medium
 .
   * d/cron.service: Use KillMode=process to kill only the daemon.
     The default of KillMode=control-group kills all the processes in the control
     group, for example when restarting the daemon. This is a deviation from past
     behavior we do not want. Thanks, Alexandre Detiste! Closes: #783683
Checksums-Sha1:
 065ca50b6c8a10cedc42be0cf82c6a471cb21e67 1911 cron_3.0pl1-128.dsc
 6b5c00d9dc79d05525f9f1bd76dbdbe4c540dc14 98918 cron_3.0pl1-128.diff.gz
 1b7e672dd3e8b77b4da0c3885ceadf246c6153c9 95574 cron_3.0pl1-128_i386.deb
Checksums-Sha256:
 eb54373a81a19a2afa44457ac4a38d0e09436e8f078c68c7c6db2b6e2c6c0edf 1911 cron_3.0pl1-128.dsc
 0380e331d1f20187df088dea7b2e1ace5948192a4f729d8c28651ab01796a8a2 98918 cron_3.0pl1-128.diff.gz
 9c8fbe4f0bda7c4d9165b6c69e58f1250b0836b3713f2d3b405ea39ca660c282 95574 cron_3.0pl1-128_i386.deb
Files:
 5e8a6aa14d3b8c5519c9ba61664599b3 1911 admin important cron_3.0pl1-128.dsc
 7b29818023b184e6dd47464bd1cfa729 98918 admin important cron_3.0pl1-128.diff.gz
 8e6b76bc894cf88a668f3339d30c8482 95574 admin important cron_3.0pl1-128_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIVAwUBVVRNJTg8os7RvajdAQjkYw/9H0MzCXxzohhNADo3P0SwHMVuZwKDU/3/
h2ESLyR2C1Rnl3ax4OSR98YFaUsKC+oBDJadFfN1/9G3hz0YkoUO2du8LCaqqY3A
Y5n5GmSFDom58vQuZ3BSWbJO3Ii5Z9pyigbU240Kxb6+TCIiYaxSnn3/knxmAqro
whTg6VJtBjbwM/aGirQ2hCvAMLe8NIiZXdBQdY/nkh8jVEbLXNcLeuAJn1Y+aTDW
+cfLYJ7M87pT1zRb/fSHw3a/dGGjX/jub1gE+qzywHDjHomSa6CQTc8tn/t1dANZ
1QNbgVeVA/nvj0PItCT9fgqB7lT0oRT2pFS5j7Y02DjjYYHzSN/bGrwBvzPZNriu
3xzaTFL2YnfKDrX93ckLW4dQpXrGEEmawwL8QHIx16wow5GPTghhXVSBs8ukq8Q4
jtnfSJ/eIsjAxi8K9+nJmuKEoKILpee6a+BtsXaFBCaEKxohjb4vXgVAeL0KGxju
BcNQ885HMR5YnzrOeMjL5ltNFbrLOhIUXFvpd9dOmXCs3A94ONg4v8OQsp0cmy+h
WxVbz4hT5Iqdlk8X3odzU37RRy6dHzalzGaktc974EHwp27V/zTGHUlR3ov2Y91P
b+/1aFbgGeM43k2JyrUUHzw5qJqYkCWQsGSF8GwwmXBIIHHjkLR7L7AXOXP4HhTi
CFEBA94gwYo=
=ZB1u
-----END PGP SIGNATURE-----




Information forwarded to debian-bugs-dist@lists.debian.org, Javier Fernández-Sanguino Peña <jfs@debian.org>:
Bug#783683; Package cron. (Sat, 06 Jun 2015 19:36:03 GMT) (full text, mbox, link).


Message #37 received at 783683@bugs.debian.org (full text, mbox, reply):

From: Christoph Berg <myon@debian.org>
To: Christian Kastner <debian@kvr.at>, 783683@bugs.debian.org
Cc: Joerg Morbitzer <jomo@sol-3.de>, Alexandre Detiste <alexandre.detiste@gmail.com>
Subject: Re: Bug#783683: cron started with -f (foreground), killing processes on restart
Date: Sat, 6 Jun 2015 21:33:24 +0200
[Message part 1 (text/plain, inline)]
Re: Christian Kastner 2015-05-03 <554626D8.4090906@kvr.at>
> >> I'd strongly opt to change the KillMode as mentioned above.
> >> #debian-devel seems to agree, so I'm upgrading this bug to RC.
> >> (critical as it's killing "random" processes)
> > 
> > A particular reason why the current behavior is bad is that it is
> > common practise to start user daemons using @reboot cronjobs.
> 
> I was wondering what the use case for this was, but that seems plausible.
> 
> Regardless, I committed a fix for the sole fact that it's a significant
> deviation from past behavior, as you pointed out.
> 
> I've prepared packages for both jessie and unstable.

Hi,

I had hoped to see this fixed in today's point release. What happened
with the jessie package?

Christoph
-- 
cb@df7cb.de | http://www.df7cb.de/
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Javier Fernández-Sanguino Peña <jfs@debian.org>:
Bug#783683; Package cron. (Sun, 07 Jun 2015 16:33:08 GMT) (full text, mbox, link).


Acknowledgement sent to Christian Kastner <debian@kvr.at>:
Extra info received and forwarded to list. Copy sent to Javier Fernández-Sanguino Peña <jfs@debian.org>. (Sun, 07 Jun 2015 16:33:08 GMT) (full text, mbox, link).


Message #42 received at 783683@bugs.debian.org (full text, mbox, reply):

From: Christian Kastner <debian@kvr.at>
To: Christoph Berg <myon@debian.org>, 783683@bugs.debian.org, Joerg Morbitzer <jomo@sol-3.de>, Alexandre Detiste <alexandre.detiste@gmail.com>
Subject: Re: Bug#783683: cron started with -f (foreground), killing processes on restart
Date: Sun, 07 Jun 2015 18:30:03 +0200
Hi,

On 2015-06-06 21:33, Christoph Berg wrote:
> Re: Christian Kastner 2015-05-03 <554626D8.4090906@kvr.at>
>>>> I'd strongly opt to change the KillMode as mentioned above.
>>>> #debian-devel seems to agree, so I'm upgrading this bug to RC.
>>>> (critical as it's killing "random" processes)
>>>
>>> A particular reason why the current behavior is bad is that it is
>>> common practise to start user daemons using @reboot cronjobs.
>>
>> I was wondering what the use case for this was, but that seems plausible.
>>
>> Regardless, I committed a fix for the sole fact that it's a significant
>> deviation from past behavior, as you pointed out.
>>
>> I've prepared packages for both jessie and unstable.
> 
> I had hoped to see this fixed in today's point release. What happened
> with the jessie package?

I'm afraid I couldn't get a hold of Javier regarding an upload. I myself
don't have upload rights yet.

I meant to take care of this before I went AFK for the weekend, but I
forgot about this :-/ If an upload to jessie-p-u is still a possibility
and you'd like to sponsor, a package for jessie has been prepared on the
"jessie" branch. It was already ACKed by the RT, see #785573.

Regards,
Christian




Information forwarded to debian-bugs-dist@lists.debian.org, Javier Fernández-Sanguino Peña <jfs@debian.org>:
Bug#783683; Package cron. (Sun, 07 Jun 2015 20:36:04 GMT) (full text, mbox, link).


Acknowledgement sent to Javier Fernandez-Sanguino <jfs@computer.org>:
Extra info received and forwarded to list. Copy sent to Javier Fernández-Sanguino Peña <jfs@debian.org>. (Sun, 07 Jun 2015 20:36:04 GMT) (full text, mbox, link).


Message #47 received at 783683@bugs.debian.org (full text, mbox, reply):

From: Javier Fernandez-Sanguino <jfs@computer.org>
To: Christian Kastner <debian@kvr.at>, 783683@bugs.debian.org
Cc: Christoph Berg <myon@debian.org>, Joerg Morbitzer <jomo@sol-3.de>, Alexandre Detiste <alexandre.detiste@gmail.com>
Subject: Re: Bug#783683: cron started with -f (foreground), killing processes on restart
Date: Sun, 7 Jun 2015 22:32:41 +0200
[Message part 1 (text/plain, inline)]
On 7 June 2015 at 18:30, Christian Kastner <debian@kvr.at> wrote:

> On 2015-06-06 21:33, Christoph Berg wrote:
>
> > I had hoped to see this fixed in today's point release. What happened
> > with the jessie package?
>
> I'm afraid I couldn't get a hold of Javier regarding an upload. I myself
> don't have upload rights yet.
>

My fault. Quite simply: life got in the way.


> I meant to take care of this before I went AFK for the weekend, but I
> forgot about this :-/ If an upload to jessie-p-u is still a possibility
> and you'd like to sponsor, a package for jessie has been prepared on the
> "jessie" branch. It was already ACKed by the RT, see #785573.
>

I am going to do this right away. I'm building the origin/jessie branch as
I'm writing this.

Regards

Javier
[Message part 2 (text/html, inline)]

Reply sent to Christian Kastner <debian@kvr.at>:
You have taken responsibility. (Thu, 11 Jun 2015 06:51:04 GMT) (full text, mbox, link).


Notification sent to Joerg Morbitzer <jomo@sol-3.de>:
Bug acknowledged by developer. (Thu, 11 Jun 2015 06:51:04 GMT) (full text, mbox, link).


Message #52 received at 783683-close@bugs.debian.org (full text, mbox, reply):

From: Christian Kastner <debian@kvr.at>
To: 783683-close@bugs.debian.org
Subject: Bug#783683: fixed in cron 3.0pl1-127+deb8u1
Date: Thu, 11 Jun 2015 06:47:07 +0000
Source: cron
Source-Version: 3.0pl1-127+deb8u1

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.

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 783683@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christian Kastner <debian@kvr.at> (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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 03 May 2015 15:25:18 +0200
Source: cron
Binary: cron
Architecture: source i386
Version: 3.0pl1-127+deb8u1
Distribution: jessie
Urgency: medium
Maintainer: Javier Fernández-Sanguino Peña <jfs@debian.org>
Changed-By: Christian Kastner <debian@kvr.at>
Description:
 cron       - process scheduling daemon
Closes: 783683
Changes:
 cron (3.0pl1-127+deb8u1) jessie; urgency=medium
 .
   * d/cron.service: Use KillMode=process to kill only the daemon.
     The default of KillMode=control-group kills all the processes in the control
     group, for example when restarting the daemon. This is a deviation from past
     behavior we do not want. Thanks, Alexandre Detiste! Closes: #783683
Checksums-Sha1:
 494c77f34042c61d780a8194f59e15598596de2b 1939 cron_3.0pl1-127+deb8u1.dsc
 e20c7e9a30554c4956d80c6afe5d446b6dab4488 98972 cron_3.0pl1-127+deb8u1.diff.gz
 377cbd2046b69e2a3f2fa506fa2f98da35af5bba 95590 cron_3.0pl1-127+deb8u1_i386.deb
Checksums-Sha256:
 d3255452473d33e576c5a1fcf55b3c2d61e37edcb656f07edb5289aa1ff066c2 1939 cron_3.0pl1-127+deb8u1.dsc
 48a26d94033ba7918cdf6aa12036e230112090043001b8491900b0328b441229 98972 cron_3.0pl1-127+deb8u1.diff.gz
 aa6de82e4e4855306db6b6af6aa017b5d1b38e9964d496b5d0c48e239c4e2910 95590 cron_3.0pl1-127+deb8u1_i386.deb
Files:
 43c7e937c9ab77ed338f22bf400b9f5f 1939 admin important cron_3.0pl1-127+deb8u1.dsc
 c0a14101952f612a321eca39cc502fa0 98972 admin important cron_3.0pl1-127+deb8u1.diff.gz
 461bd49c0e1493851faf3136105c4d08 95590 admin important cron_3.0pl1-127+deb8u1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIVAwUBVXSrfTg8os7RvajdAQiISBAA7HY0xnp0KSEk+hgsPJlVsBn97SgLIoJj
grvcQMJcN6qCFEiiNCAbEBcH62eybRdOD+nKqkM35ZWDiiYycxChBKZ7LmBMF1Ex
72RLCpQlaSk+ie6W6vQiMcD7hfJifdhry0rFWSljV3E68+EW5JW7ANxUU1XKtLUp
WDVuag19dqTGgKX0FoD0+oQCRhrcy+8vd8sOMVNoNtMg2aQKkU7IWoXQhuIN9is8
CFu5EiaSOpQZbWwTa48B4bI7G5vLPQOY40MFLIV/prH7hIVRzaR4CMFxiVBLrn/x
M7t/6/b2wxnKI6igL4TKWbdtwVRg4AsiDGf/jzckzdyIudW8CcZGxFzRuUCmzR8Q
Z6tm9Ab59YeSbpXqI++RIRNSXcL+2KbbmjwClwFT4Yazo7+yQ406KpZXx1vAIr8d
ilIRcOUoh5RT3BvEbHri1wlYiMDL+qcWv1BUDwz01iaiU6vu3LnC+9Bq1EjtqU5B
ZZME9oIXh3hhwcfLHB4rb1GR5S+UGPwvJ4ZdmO0fFfXTQRL63v12JRvBUleYTP6w
QWWFcG7t/aoOMJ/uNKkuEKDe1oTWsf9AeMHEiXLyMrfYCMMpieF+mHtGrakKgFZ8
FLZ58O7fbb9QgVd4vJUHCDZ5X3/YnI6pju/F9JqxIfz/yKb1KgDyEkPIhqFP4wbC
KG4Gqew3Fo8=
=ssMt
-----END PGP SIGNATURE-----




Information forwarded to debian-bugs-dist@lists.debian.org, Javier Fernández-Sanguino Peña <jfs@debian.org>:
Bug#783683; Package cron. (Sat, 13 Jun 2015 10:06:08 GMT) (full text, mbox, link).


Acknowledgement sent to "Margarita Manterola" <marga@debian.org>:
Extra info received and forwarded to list. Copy sent to Javier Fernández-Sanguino Peña <jfs@debian.org>. (Sat, 13 Jun 2015 10:06:08 GMT) (full text, mbox, link).


Message #57 received at 783683@bugs.debian.org (full text, mbox, reply):

From: "Margarita Manterola" <marga@debian.org>
To: 783683@bugs.debian.org
Subject: Unattended upgrades to 3.0pl1-127+deb8u1 will break
Date: Sat, 13 Jun 2015 10:02:17 +0000
HI,

An "interesting" consequence of this bug is that unattended upgrades are
triggered from cron, so when the cron package is automatically upgraded to the
latest version, the upgrade gets killed and leaves the cron package in a broken
state that "configure -a" doesn't fix but "dpkg -i cron.deb" does.     
                                                                       
I don't know if there was a way of not causing this, but it's extremely
unfortunate as this means any machine using unattended upgrades has it's cron
package already in a broken state that requires manual action to fix.

Regards,
Marga



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 06 Sep 2015 07:40:19 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Aug 8 03:06:57 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.