Summary: |
Unable to mount by LABEL containing a '/' |
Product: |
systemd
|
Reporter: |
Dave Reisner <d> |
Component: |
general | Assignee: |
systemd-bugs |
Status: |
RESOLVED
FIXED
|
QA Contact: |
systemd-bugs |
Severity: |
normal
|
|
|
Priority: |
medium
|
CC: |
jay
|
Version: |
unspecified | |
|
Hardware: |
All | |
|
OS: |
Linux (All) | |
|
Whiteboard: |
|
i915 platform:
|
|
i915 features:
|
|
Attachments: |
Example failing unit
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 66647 [details] 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.