[Bug 1674492] Re: cron: /etc/default/cron should not actually be deprecated
Launchpad Bug Tracker
1674492 at bugs.launchpad.net
Tue Oct 2 10:34:28 UTC 2018
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: cron (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cron in Ubuntu.
https://bugs.launchpad.net/bugs/1674492
Title:
cron: /etc/default/cron should not actually be deprecated
Status in cron package in Ubuntu:
Confirmed
Bug description:
The /etc/default/cron file claims that it has been deprecated in its own
comments, and refers to an upstart configuration file (which is deprecated in
Ubuntu 15.10 and up, in favor of systemd):
$ cat /etc/default/cron
# This file has been deprecated. Please add custom options for cron to
# /etc/init/cron.conf and/or /etc/init/cron.override directly. See
# the init(5) man page for more information.
EXTRA_OPTS="-L 15" *** (added on my system for debugging) ***
Yet, the systemd cron.service actually respects the content of the
file:
$ cat /lib/systemd/system/cron.service
[Unit]
Description=Regular background program processing daemon
Documentation=man:cron(8)
[Service]
EnvironmentFile=-/etc/default/cron
ExecStart=/usr/sbin/cron -f $EXTRA_OPTS
IgnoreSIGPIPE=false
KillMode=process
[Install]
WantedBy=multi-user.target
(venv) arceo at lab-dev-01:~/poc-connectors/scripts$
So, the inaccurate comments in /etc/default/cron, and other such files (if
this was perhaps an automated error by debhelper or similar tools), should be
corrected accordingly.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cron/+bug/1674492/+subscriptions
More information about the foundations-bugs
mailing list