[Drbd-dev] drbdsetup legacy utils can't fall back to version 8.3
Lionel Sausin
ls at numerigraphe.com
Tue Apr 22 13:56:16 CEST 2014
Dear DRBD developers,
Ubuntu 12.04 has several kernel users can choose from, some with DRBD
8.3 and others with 8.4.
To address this, they have just deployed the drbd utils v8.4.3 with
"--with-legacy_utils".
This works fine for drbdadm but drbdsetup seems to not revert to the
legacy version, even though drbdsetup is built and deployed to
/lib/drbd/drbdsetup-83:
# /sbin/drbdsetup show 1
Could not connect to 'drbd' generic netlink family
# /lib/drbd/drbdsetup-83 show 1
disk {
size 0s _is_default; # bytes
...
}
From my (quick) reading of the source code, drbdadmin works because it
adds /lib/drbd to the path using add_lib_drbd_to_path(), and drbdsetup
seems not to.
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?
Thanks in advance,
Lionel Sausin.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-dev/attachments/20140422/a452fee0/attachment.htm>
More information about the drbd-dev
mailing list