[Debian-ha-maintainers] Bug#862248: Bug#862248: Bug#862248: No straightforward and permanent way to disable DRBD autostart, no drbd systemd unit file
Apollon Oikonomopoulos
apoikos at debian.org
Wed May 10 11:24:25 UTC 2017
Control: tags -1 unreproducible moreinfo
Hi Feri,
On 13:04 Wed 10 May , Ferenc Wágner wrote:
> Apollon Oikonomopoulos <apoikos at debian.org> writes:
>
> > On 17:53 Wed 10 May , Christian Balzer wrote:
> >
> >> # systemctl disable drbd
> >> drbd.service is not a native service, redirecting to systemd-sysv-install.
> >> Executing: /lib/systemd/systemd-sysv-install disable drbd
> >> insserv: warning: current start runlevel(s) (empty) of script `drbd' overrides LSB defaults (2 3 4 5).
> >> insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `drbd' overrides LSB defaults (0 1 6).
> >
> > You can always use `systemctl mask drbd.service', which will neuter the
> > initscript completely.
>
> Hi Apollon,
>
> I'd expect the "systemctl disable drbd" command to disable the init
> script, which it seemingly does without any error. Why does it start
> anyway under systemd? Is this by design?
It should work normally, yes. I've been trying to reproduce this without
success sofar. On my system, when I `systemctl disable drbd` and reload
systemd, there is no symlink to drbd.service under
/run/systemd/generator.late/multi-user-target.wants.d/.
/A
More information about the Debian-ha-maintainers
mailing list