> 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.
signature.asc
Description: This is a digitally signed message part.