cron: /etc/default/cron should not actually be deprecated
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cron (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
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/
# 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/
[Unit]
Description=Regular background program processing daemon
Documentation=
[Service]
EnvironmentFile
ExecStart=
IgnoreSIGPIPE=false
KillMode=process
[Install]
WantedBy=
(venv) arceo@lab-
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.
This bug is related to two other bugs:
Similar issue where /etc/default/cron is still relevant: /bugs.launchpad .net/ubuntu/ +source/ cron/+bug/ 1078607
https:/
Inaccurate commit where file was wrongly marked deprecated, for a bad boot speed related reason, in the now deprecated Upstart system. This should probably be reverted in some way. /bugs.launchpad .net/ubuntu/ +source/ cron/+bug/ 794082
https:/