On 1 Apr 2005, [EMAIL PROTECTED] wrote: > Sometime, when I launch '/etc/init.d/drbd start', I got : Starting > DRBD resources: Can not exec[ d0 /etc/init.d/drbd: line 74: > ./drbdsetup: Permission denied cmd ./drbdsetup /dev/drbd0 disk > /dev/hdb1 /dev/hdb2 0 --on-io-error=detach failed! > > I suggest these modifications : > > # diff /etc/init.d/drbd_original /etc/init.d/drbd_new > 23c23 > < RMMOD="rmmod" > --- >> RMMOD="/sbin/rmmod"
I guess this rmmod issue has nothing to do with the bug you have
reported.
> 64c64
> < COMMANDS=`$DRBDADM -d adjust all` || exit 20
> ---
>> COMMANDS=`$DRBDADM -s /sbin/drbdsetup -d adjust all` || exit 20
> 91c91
> < $DRBDADM wait_con_int # User interruptible version of wait_connect all
> ---
>> $DRBDADM -s /sbin/drbdsetup wait_con_int # User interruptible version of
>> wait_connect all
And 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
pgpbGcYo4nIKb.pgp
Description: PGP signature

