[Pkg-systemd-maintainers] Bug#741597: systemd: anacron stopped immediately if acpi-support is installed
Michael Biebl
biebl at debian.org
Fri Mar 14 11:43:58 GMT 2014
Am 14.03.2014 12:08, schrieb Andreas B. Mundt:
> Package: systemd
> Version: 204-7
> Severity: normal
>
> Hi,
>
> I observed the following strange issue on my desktop machine:
>
> At the beginning of february, suddenly anacron failed to run
> at all. No suspicious packages where upgraded at that time.
> When having a look at 'journalctl -b | grep anacron', I saw that
> anacron was started, but before being able to run it's jobs, it
> stopped or was stopped again, like shown here (note the time stamp):
>
> Mar 14 11:17:35 flashgordon systemd[1]: Starting Run anacron jobs...
> Mar 14 11:17:35 flashgordon systemd[1]: Started Run anacron jobs.
> Mar 14 11:17:35 flashgordon anacron[1413]: Anacron 2.3 started on 2014-03-14
> Mar 14 11:17:35 flashgordon anacron[1413]: Will run job `cron.daily' in 5 min.
> Mar 14 11:17:35 flashgordon anacron[1413]: Jobs will be executed sequentially
> Mar 14 11:17:36 flashgordon systemd[1]: Stopping Run anacron jobs...
> Mar 14 11:17:36 flashgordon systemd[1]: Stopped Run anacron jobs
>
> Running 'systemctl start anacron.service' manually after boot worked
> fine. I tried to find the reason for anacron failing at boot and
> finally found that purging the acpi-support package made anacron run
> happily again (the cron daily exit status 1 is due to the test runs
> with manually changed anacron timestamp):
>
> Mar 14 11:24:59 flashgordon systemd[1]: Starting Run anacron jobs...
> Mar 14 11:24:59 flashgordon systemd[1]: Started Run anacron jobs.
> Mar 14 11:24:59 flashgordon anacron[1418]: Anacron 2.3 started on 2014-03-14
> Mar 14 11:24:59 flashgordon anacron[1418]: Will run job `cron.daily' in 5 min.
> Mar 14 11:24:59 flashgordon anacron[1418]: Jobs will be executed sequentially
> Mar 14 11:29:59 flashgordon anacron[1418]: Job `cron.daily' started
> Mar 14 11:29:59 flashgordon anacron[2523]: Updated timestamp for job `cron.daily' to 2014-03-14
> Mar 14 11:30:11 flashgordon anacron[1418]: Job `cron.daily' terminated (exit status: 1) (mailing output)
> Mar 14 11:30:11 flashgordon anacron[1418]: Normal exit (1 job run)
>
> So to sum up: At least on this machine (and it is machine specific, as
> all works fine on my laptop with acpi-support installed) there seems
> to be a conflict/problem with systemd and anacron when the
> acpi-support package is installed.
>
> I have no idea about the root cause, but perhaps this report helps to
> collect further information and finally fix it. Feel free to reassign if
> appropriate.
anacron.service has ConditionACPower=true
We suspect that the ACPI module loading in acpid causes that condition
to fail (temporarily).
What is the MODULES parameter in /etc/default/acpid set to? If you
comment that out (which is the default), i.e. no modules are loaded by
acpid, do you still encounter the issue?
Michael
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20140314/abb5c259/attachment-0002.sig>
More information about the Pkg-systemd-maintainers
mailing list