Hi Michael,

Michael Biebl <[email protected]> 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@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@pluto:/etc# systemctl disable rsyslog
> rm '/etc/systemd/system/multi-user.target.wants/rsyslog.service'
> rm '/etc/systemd/system/syslog.service'
>
> root@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


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to