Bug#776862: Bug#776859: systemd-cron: uninstalling package dumps core and seemingly disturbs systemd

Alexandre Detiste alexandre.detiste at gmail.com
Mon Feb 2 19:24:11 GMT 2015


> Am 02.02.2015 um 18:23 schrieb Alexandre Detiste:
> 
> > - 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
> 
> Well, you call dh_systemd_start twice, that's why that code is added
> twice. Nothing really unexpected here.

That's right ! 

I somehow inheritted this package and I never digged what was doing the "override_dh_systemd_start" rule.

The 'dh_systemd_start --no-start' is completely extraneous; so it's gone.
http://anonscm.debian.org/cgit/collab-maint/systemd-cron.git/commit/?id=afacd3645349530dd447ff88bd46c985479279e2

Now, I don't know if it's still usefull to ask dh_systemd to automagically do the right thing in this situation ;-)
better fix the individual packages.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20150202/f2453dac/attachment-0005.sig>


More information about the Pkg-systemd-maintainers mailing list