On Wed, 10 May 2017 10:52:26 +0200 Robert Altnoeder wrote:

> On 05/10/2017 10:15 AM, Christian Balzer wrote:
> > Since that needs to be selectable (if DRBD is not used with Pacemaker), a
> > proper solution is needed.  
> That would certainly be preferable, however unix-like systems do not
> exactly have a strong tradition of supplying administration tools that
> offer configuration choices based on installed packages. I am not sure
> whether or not Debian is going to create a configuration option for that.
> >  
> >> Sysadmin's bag of tricks says,
> >> rm /etc/rcX.d/drbd  
> > That's being done by both the "systemctl disable" and/or update-rc.d,
> > insserv, etc.
> >
> > Alas the the systemd-sysv component will pick up anything in /etc/init.d/
> > regardless of rc levels/links.  
> That is an obvious malfunction in systemd-sysv which should certainly be
> fixed.
> 
Just as a reference for future generations finding this thread, the
correct workaround for LSB sysv scripts is to not use disable but
"systemctl mask <name>".

Regards,

Christian
-- 
Christian Balzer        Network/Systems Engineer                
ch...@gol.com           Global OnLine Japan/Rakuten Communications
http://www.gol.com/
_______________________________________________
drbd-user mailing list
drbd-user@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to