[Bug 1185756] Fwd: Re: [Drbd-dev] drbdsetup legacy utils can't fall back to version 8.3

Lionel Sausin - Numérigraphe 1185756 at bugs.launchpad.net
Tue Apr 22 13:52:41 UTC 2014


Linbit's Lars Ellenberg confirmed on the ML that adding /lib/drbd to the 
path won't fix drbdsetup in all cases: drbdsetup-83 has to be in the 
same directory as the drbdsetup, and it also applies to drbdadmin.

On Tue, Apr 22, 2014 at 01:56:16PM +0200, Lionel Sausin wrote:
> (...)
> Is the correct fix to add a symlink from /lib/drbd/drbdsetup-83 to
> /sbin, or should drbdsetup be patched to search in /lib/drbd too?

"Correct" is whatever works for you.
As long as you know what version you are using, use the matching tools.

Note that using explicit path (anything with a '/' in it)
on drbdadm or drbdsetup causes them to expect the respective "legacy"
binary at that same path, beneath the current executable.
(on purpose).

So if you want to say /sbin/drbdsetup, and expect that to be able to
execvp drbdsetup-83, then yes, you have to make that accesible under
/sbin/drbdsetup-83, adding it to the PATH will not be good enough.

Also, as a heads up, we are in the process on splitting out the DRBD
userland, providing the "grand unified drbd utils", so this will all
change again within the next few weeks/month.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to drbd8 in Ubuntu.
https://bugs.launchpad.net/bugs/1185756

Title:
  drbd8-utils not compatible with linux-lts-raring kernel in 12.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/drbd8/+bug/1185756/+subscriptions



More information about the Ubuntu-server-bugs mailing list