[Bug 1901634] Re: The effects of anacron cannot be disabled
Ryan Stewart
1901634 at bugs.launchpad.net
Wed Nov 30 14:38:37 UTC 2022
** Also affects: anacron (Ubuntu Focal)
Importance: Undecided
Status: New
** Also affects: anacron (Ubuntu Jammy)
Importance: Undecided
Status: New
** Changed in: anacron (Ubuntu Focal)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to anacron in Ubuntu.
https://bugs.launchpad.net/bugs/1901634
Title:
The effects of anacron cannot be disabled
Status in anacron package in Ubuntu:
Confirmed
Status in anacron source package in Focal:
Confirmed
Status in anacron source package in Jammy:
New
Bug description:
If anacron is installed its effects *cannot* be disabled.
You can run:
systemctl disable anacron anacron.timer
but that will not help. That stops anacron running, but it does *not*
prevent the run-parts entries in /etc/crontab from running, as they
only check for the presence of /usr/sbin/anacron, *not* whether
anacron is actually enabled.
The test should really be something like:
systemctl -q is-enabled anacron
(although that still prints an error message if anacron isn't
installed - despite the -q. Errors, even intended ones, seem to be
unavoidable).
The result is that if you have a desktop system that is permanently
on, you need to remove anacron - but the next dist-update will put it
back in place.
ProblemType: Bug
DistroRelease: Ubuntu 20.10
Package: anacron 2.3-29
ProcVersionSignature: Ubuntu 5.8.0-25.26-generic 5.8.14
Uname: Linux 5.8.0-25-generic x86_64
ApportVersion: 2.20.11-0ubuntu50
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: KDE
Date: Tue Oct 27 00:21:48 2020
InstallationDate: Installed on 2020-05-03 (176 days ago)
InstallationMedia: Kubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
SourcePackage: anacron
UpgradeStatus: Upgraded to groovy on 2020-10-26 (1 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/anacron/+bug/1901634/+subscriptions
More information about the foundations-bugs
mailing list