Bug#856985: systemd: Uninstalling systemd-cron hangs/crashes systemd

Michael Biebl biebl at debian.org
Tue Mar 7 09:19:37 GMT 2017


Am 07.03.2017 um 10:05 schrieb Michael Biebl:

> My suggestion would be, that systemd-cron stops cron-update.path in
> prerm on "remove", to disable path triggering at a point where the
> package is in an inconsistent state.
> 
> This seems to me to be the least invasive fix for jessie by avoiding the
> situation which can trigger the crash.
> 
> Andreas, can you confirm that stopping the cron-update.path unit prior
> to the removal avoids the crash?

systemd should not crash, and doing so is most likely a genuine bug.
I can't reproduce the crash on a stretch system though, installing the
systemd-cron package from jessie, so I assume it's already fixed (I
didn't bother git bisecting the changes between v215 and v232)

While I usually prefer to fix the root cause of a problem, I think in
this situation having a fix applied to the systemd-cron package is
preferable, as it has less risk of regressions.

The changes I proposed to systemd-cron (i.e. stopping path activation on
remove) seem like something you should do in any case.
I.e. I would lean towards reassigning this bug to systemd-cron and have
a stable upload for systemd-cron with those changes.


-- 
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: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20170307/10d47a69/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list