This continues to be an issue in Plucky (so 7 years and counting).

If you have a system that is on 24/7, but you also want to have a desktop on it 
(i.e. a GUI login), you install kubuntu-desktop.
But that pulls in anacron, and you now have the cron.d, cron.daily etc scripts 
run at random(ish) times by anacron. This is not useful when you wish to 
schedule things like backups across systems to run when you know they will not 
interact.

You can disable anacron, but that just means the scripts will not run AT
ALL, as the /etc/crontab file just checks for the existence of the
anacron executable NOT whether it is being used.

/etc/crontab should replace all "test -x /usr/sbin/anacron" tests with
"systemctl -q is-enabled anacron.timer"

(You have to check the timer, not the service....)


Currently you have to remove anacron, which also removes kubuntu-desktop!   
(Fortunately this does not remove the other packages that kubuntu-desktop 
installs - somehow).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1759846

Title:
  Incorrect test used for anacron being active

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cron/+bug/1759846/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to