Bug#856985: systemd: Uninstalling systemd-cron hangs/crashes systemd
Felipe Sateler
fsateler at debian.org
Wed Mar 8 13:48:05 GMT 2017
Control: clone -1 -2
Control: retitle -2 systemd-cron: stop cron-update.path before removal
Control: reassign -2 systemd-cron 1.3.1+ds1-2
Control: found -1 215-1
Control: fixed -1 232-1
On Tue, Mar 7, 2017 at 11:32 PM, Andreas Bombe <aeb at debian.org> wrote:
> On Tue, Mar 07, 2017 at 10:05:38AM +0100, Michael Biebl wrote:
>> Andreas, can you confirm that stopping the cron-update.path unit prior
>> to the removal avoids the crash? You will have to edit
>> /lib/systemd/system/cron-update.path to remove
>> RefuseManualStart=true
>> RefuseManualStop=true
>
> I did:
> - install systemd-cron again
> - remove those lines
> - systemctl daemon-reload (to pick up these changes)
> - systemctl stop cron-update.path
> - installed cron at the same time systemd-cron is uninstalled
>
> Now I have seen no crash or other problems.
I have cloned this bug to track that fix separately from the systemd
issue. It is a good idea to stop the path unit before the removal
anyway, as it makes no sense to retrigger systemd-cron if it will be
removed.
The systemd crash on the other hand has been fixed in 232. Michael
found the fixing commit here:
https://github.com/systemd/systemd/commit/47fffb35
Unfortunately, that does not apply cleanly to 215, so some backporting
will be needed.
--
Saludos,
Felipe Sateler
More information about the Pkg-systemd-maintainers
mailing list