Hey all,

Had a bug reported by a user who has an /etc/fstab setup by LABEL, with
the only quirk being that all his FS labels contain slashes. This all
fails at bootup because systemd seems to vary in how it escapes the
slash. I can reproduce this on a VM with a device labelled 'foo/bar'. A
full dump is available [1], but the relevant bits seem to be:

  BindsTo=dev-disk-by\x2dlabel-foo-bar.device
  WantedBy=dev-disk-by\x2dlabel-foo\x5cx2fbar.device

Shouldn't these be the same device file? The WantedBy appears to be the
correct escaping, but the BindsTo looks to be escaping the path with
unit-name escaping rather than hex escapes to match the udev node.

Cheers,
Dave

[1] http://sprunge.us/cRdO
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to