Bugzilla – Bug 1218377
cronie-anacron-1.7.0: missing /etc/default/anacron
Last modified: 2024-01-17 08:31:54 UTC
Hello, the new cronie-anacron-1.7.0 (part of snapshot 20231222) installs a modified /etc/cron.hourly/0anacron. Upon execution cron aborts because 0anacron now tries to execute /etc/default/anacron which doesn't exist: [...] # Check whether run on battery should be allowed . /etc/default/anacron if [ "$ANACRON_RUN_ON_BATTERY_POWER" != "yes" ]; then # Do not run jobs when on battery power [...] Error message: /etc/cron.hourly/0anacron: Zeile 11: /etc/default/anacron: Datei oder Verzeichnis nicht gefunden run-parts: /etc/cron.hourly/0anacron exited with return code 1
Am Donnerstag, 28. Dezember 2023, 19:52:50 CET schrieb Andrei Borzenkov: > This is fixed upstream > > https://github.com/cronie-crond/cronie/commit/7700b1465d32ddb1d3988e9af852af6f0f5cd66e
Reassigning to the cronie maintainer
Come on guys, it's almost 3 weeks after the report - why is there no update available? Do you really want to drive cron users to use systemd timers? The solution is *so* easy: touch /etc/default/anacron then release a new package!
Hello Manfred, just pushed the fix to Factory: https://build.opensuse.org/request/show/1138167
Hi Danilo, (In reply to Danilo Spinella from comment #4) > Hello Manfred, just pushed the fix to Factory: > > https://build.opensuse.org/request/show/1138167 great, thanks a lot!
The request has been accepted, I am closing this bug as fixed.