Still affects Ubuntu Server 22.04 LTS

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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@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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to