[systemd-bugs] [Bug 54522] New: Unable to mount by LABEL containing a '/'
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Sep 4 17:10:06 PDT 2012
https://bugs.freedesktop.org/show_bug.cgi?id=54522
Bug #: 54522
Summary: Unable to mount by LABEL containing a '/'
Classification: Unclassified
Product: systemd
Version: unspecified
Platform: All
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: general
AssignedTo: systemd-bugs at lists.freedesktop.org
ReportedBy: d at falconindy.com
QAContact: systemd-bugs at lists.freedesktop.org
Created attachment 66647
--> https://bugs.freedesktop.org/attachment.cgi?id=66647
Example failing unit
Having a device in /etc/fstab specified by a tag containing a '/' character
will cause systemd to fail to mount the device. The root of the issue seems to
be inconsistent escaping in the unit. For example, a device identified by
LABEL=foo/bar generates the following dependencies:
BindsTo=dev-disk-by\x2dlabel-foo-bar.device
WantedBy=dev-disk-by\x2dlabel-foo\x5cx2fbar.device
These need to be identical in order for mounting to succeed, since only one of
these devices will ever show up.
Full output from 'systemctl show' on the faily mount unit is attached.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the systemd-bugs
mailing list