Bug#803373: systemd: fail to enable/disable services that have no LSB init script
Luca Bruno
lethalman88 at gmail.com
Thu Oct 29 11:29:02 GMT 2015
Package: systemd
Version: 215-17+deb8u2
Hello, using systemd 215-17+deb8u2 on jessie.
I've put a simple service in /lib/systemd/system. Doing systemctl
start/stop on this service works correctly, however enable/disable
doesn't work: "Failed to execute operation: No such file or directory".
The reason is that my systemd service has no LSB init script. By doing a
touch /etc/init.d/servicename then enable/disable works, though
update-rc.d will spit out some warning.
But I DON'T want an LSB init script for my service, only the systemd
service.
I can see this behaviour only on debian, so pretty sure it must caused
by one of the 200+ patches. Is there a way to properly workaround the
issue? Is creating an empty LSB script ok or not? Because I don't know
the consequences.
Best regards,
More information about the Pkg-systemd-maintainers
mailing list