All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lionel Sausin <ls@numerigraphe.com>
To: drbd-dev@lists.linbit.com
Subject: [Drbd-dev] drbdsetup legacy utils can't fall back to version 8.3
Date: Tue, 22 Apr 2014 13:56:16 +0200	[thread overview]
Message-ID: <535658E0.7060409@numerigraphe.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 903 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 1585 bytes --]

             reply	other threads:[~2014-04-22 12:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-22 11:56 Lionel Sausin [this message]
2014-04-22 12:56 ` [Drbd-dev] drbdsetup legacy utils can't fall back to version 8.3 Lars Ellenberg
2014-04-22 15:53   ` Lionel Sausin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=535658E0.7060409@numerigraphe.com \
    --to=ls@numerigraphe.com \
    --cc=drbd-dev@lists.linbit.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.