On 4 Apr 2005, [EMAIL PROTECTED] wrote:
> Package: drbd
> Version: drbd0.7-utils  0.7.10-2
>
> #  uname -a
> Linux srv1.polycnrs-gre.fr 2.6.11.5 #1 Fri Mar 25 15:16:57 CET 2005
> i686 GNU/Linux
>
> Sometime, when I launch '/etc/init.d/drbd stop' I got :
> Stopping all DRBD resources
> Can not exec Command './drbdsetup /dev/drbd0 down' terminated with
> exit code 20
> drbdsetup exited with code 20
> ERROR: Module drbd is in use
>
> I suggest this modification :
>
> # diff /etc/init.d/drbd_original  /etc/init.d/drbd_new
> 96c96
> <               $DRBDADM down all
> ---
>> $DRBDADM -s /sbin/drbdsetup down all

Same here.

This modification looks useless too because /sbin/drbdsetup is
already the default place where drbdadm is looking drbdsetup for:

       -s, --drbdsetup file
              Specifies the full path to the drbdsetup program. If this option
              is omitted, drbdadm will look for  /sbin/drbdsetup  and  ./drbdâ
              setup.

Sorry but I'll close that bug.
-- 
Cyril Bouthors

Attachment: pgpCLgCLgiQrI.pgp
Description: PGP signature

Reply via email to