[Pkg-systemd-maintainers] Bug#709780: Bug#709780: Bug#709780: Bug#709780: Provide a way to not start a daemon on boot
Michael Stapelberg
stapelberg at debian.org
Fri Aug 9 18:18:49 BST 2013
Hi Michael,
Michael Biebl <biebl at debian.org> writes:>
> Running systemctl enable|disable for a service which has both a native
> .service file *and* a SysV/LSB init script results in systemctl only
> acting on the native service.
>
> root at pluto:/etc# ls rc?.d/???rsyslog
> rc0.d/K04rsyslog rc1.d/K04rsyslog rc2.d/S01rsyslog rc3.d/S01rsyslog
> rc4.d/S01rsyslog rc5.d/S01rsyslog rc6.d/K04rsyslog
>
> root at pluto:/etc# systemctl disable rsyslog
> rm '/etc/systemd/system/multi-user.target.wants/rsyslog.service'
> rm '/etc/systemd/system/syslog.service'
>
> root at pluto:/etc# ls rc?.d/???rsyslog
> rc0.d/K04rsyslog rc1.d/K04rsyslog rc2.d/S01rsyslog rc3.d/S01rsyslog
> rc4.d/S01rsyslog rc5.d/S01rsyslog rc6.d/K04rsyslog
The issue here is that you are omitting the “.service” suffix. If you
add that, it will work. I’ll look into fixing this.
--
Best regards,
Michael
More information about the Pkg-systemd-maintainers
mailing list