Your message dated Thu, 11 Jun 2015 06:47:07 +0000
with message-id <e1z2wgz-0002v6...@franck.debian.org>
and subject line Bug#783683: fixed in cron 3.0pl1-127+deb8u1
has caused the Debian Bug report #783683,
regarding restarting cron kills running jobs
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.)


-- 
783683: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=783683
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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

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

Debian distribution maintenance software
pp.
Christian Kastner <deb...@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 ftpmas...@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 <j...@debian.org>
Changed-By: Christian Kastner <deb...@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-----

--- End Message ---

Reply via email to