Bug#776859: systemd-cron: uninstalling package dumps core and seemingly disturbs systemd
Alexandre Detiste
alexandre.detiste at gmail.com
Mon Feb 2 17:23:38 GMT 2015
control: clone 776859 -2 -3
control: tag -1 + moreinfo unreproducible
control: retitle -2 please don't call "systemctl daemon-reload" repeatdly in a row in postrm
control: reassign -2 dh_systemd
control: severity -2 normal
control: retitle -3 systemctl daemond-reload is racy
control: tag -3 + moreinfo unreproducible
control: reassign -3 systemd
> Package: systemd-cron
> Version: 1.3.1+ds1-2
> Severity: important
>
> I guess failure to remove a non-essential package is at least important.
Hi,
There are 3 bugs here:
- most (all ?) packages that depends on cron should instead depends on cron-daemon
backintime-common is on my list: http://users.teledisnet.be/ade15809/cron-daemon.html
but this is a migration that would happen after Jessie is released, so there is no point to file a bug now:
https://lists.debian.org/debian-devel/2014/10/msg00474.html
- dh_systemd shouldn't add two calls to "systemctl --system daemon-reload" in a row in the postrm script for no reason:
cat /var/lib/dpkg/info/systemd-cron.postrm
...
# Automatically added by dh_systemd_start
if [ -d /run/systemd/system ]; then
systemctl --system daemon-reload >/dev/null || true
fi
# End automatically added section
# Automatically added by dh_systemd_start
if [ -d /run/systemd/system ]; then
systemctl --system daemon-reload >/dev/null || true
fi
# End automatically added section
- and the worst: systemd shouldn't crash mysteriously sometimes when you call daemon-reload repeatedly !
http://lists.freedesktop.org/archives/systemd-devel/2014-January/016150.html
If you could reproduce this, this would be great. Are you using v215 or v218 ?
BTW, there is no bug in systemd-cron itself :-)
Alexandre Detiste
More information about the Pkg-systemd-maintainers
mailing list