[Pkg-systemd-maintainers] Bug#722523: Bug#722523: "systemctl enable" fails for SysV init scripts which have been removed via "update-rc.d remove"

Michael Stapelberg stapelberg at debian.org
Sun Oct 27 19:39:47 GMT 2013


control: tags -1 + pending

Hi Michael,

Michael Biebl <biebl at debian.org> writes:
> If a SysV init script has been removed (by the administrator) via
> "update-rc.d remove", systemctl enable will fail:
>
> # systemctl enable rsyslog.service 
> Synchronizing state for rsyslog.service with sysvinit using update-rc.d...
> Executing /usr/sbin/update-rc.d rsyslog enable
> update-rc.d: error: no runlevel symlinks to modify, aborting!
>
> systemctl will abort at this point and not enable the systemd service
> either.
> I wonder if we should always call "update-rc.d foo defaults" before
> forwarding requests to update-rc.d.
My apologies for the late reply. I think your suggestion makes
sense. I’ve implemented it in

http://anonscm.debian.org/gitweb/?p=pkg-systemd/systemd.git;a=commitdiff;h=f63b493

-- 
Best regards,
Michael



More information about the Pkg-systemd-maintainers mailing list