The effects of anacron cannot be disabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
anacron (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
Focal |
Confirmed
|
Undecided
|
Unassigned | ||
Jammy |
New
|
Undecided
|
Unassigned |
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
ProcVersionSign
Uname: Linux 5.8.0-25-generic x86_64
ApportVersion: 2.20.11-0ubuntu50
Architecture: amd64
CasperMD5CheckR
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)
Changed in anacron (Ubuntu): | |
status: | New → Confirmed |
Changed in anacron (Ubuntu Focal): | |
status: | New → Confirmed |
Changed in anacron (Ubuntu): | |
status: | Confirmed → New |