group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #24019
[Bug 1673255] Re: drbd udev rule with multiple symlinks fails
This bug was fixed in the package drbd-utils - 8.9.10-2ubuntu1
---------------
drbd-utils (8.9.10-2ubuntu1) cosmic; urgency=medium
* Fix creation of drbd symlinks with newer udev.
(LP: #1673255)
-- Dan Streetman <ddstreet@xxxxxxxxxxxxx> Fri, 25 May 2018 11:17:50
-0400
** Changed in: drbd-utils (Ubuntu Cosmic)
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1673255
Title:
drbd udev rule with multiple symlinks fails
Status in drbd-utils package in Ubuntu:
Fix Released
Status in drbd-utils source package in Trusty:
Invalid
Status in drbd-utils source package in Xenial:
In Progress
Status in drbd-utils source package in Artful:
In Progress
Status in drbd-utils source package in Bionic:
In Progress
Status in drbd-utils source package in Cosmic:
Fix Released
Status in drbd-utils package in Debian:
New
Bug description:
The drbd udev rule creates multiple symlinks with a single udev rule, by space-separating them inside an env var. However, recent udev changes no longer allow doing that:
https://github.com/systemd/systemd/issues/4833
Now, recent versions of udev will, by default, replace any whitespace
introduced into SYMLINK values by variable substitution, so the drbd
udev rule that does this breaks:
ENV{SYMLINK}!="", SYMLINK="$env{SYMLINK}", GOTO="have_symlink"
when that SYMLINK env variable contains multiple symlinks, they are
combined into a single symlink with an underscore joining them.
Instead, since it's desired to leave all spaces in the env var in
order to create multiple symlinks, the rule needs to use the
"string_escape=none" option which prevents whitespace replacement:
ENV{SYMLINK}!="", SYMLINK="$env{SYMLINK}",
OPTIONS+="string_escape=none", GOTO="have_symlink"
Related ubuntu bug that introduced the new udev default whitespace replacement behavior:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1647485
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/drbd-utils/+bug/1673255/+subscriptions