Raphael Hertzog wrote:
> On Sun, 15 Mar 2015, Christian Seiler wrote:
>> Control: severity -1 important
>> Control: tags -1 + patch
>
> I'm tempted to raise the severity to serious as the current behaviour
> is really bad for packages that ship both native .service files and
> init script.

I think the severity should be raised - the working of update-rc.d ought
to be improved for jessie.

My case is mpd, which ships an init script, a .service as well as a
.socket file. The .service file references the .socket file in an Also=
directive.

On a machine using systemd, calling 'update-rc.d mpd disable' will only
disable the .service file; the .socket file remains enabled and will
continue to start the daemon as specified in the .service file on
connect to the listening socket/port. Thus in effect, nothing has
changed: update-rc.d fails to disable mpd.

Florian

BTW 'systemctl disable mpd' does the right thing and disables both
units.

_______________________________________________
Pkg-systemd-maintainers mailing list
Pkg-systemd-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers

Reply via email to