mountall calls strip_slashes for the device and the mount path. For
mount path, it makes sense. For mounting /dev/sda on something, having
/dev mounted first makes sense, and I guess for that you need
strip_slashes. Perhaps the strip slashes and that part of the dependency
logic should only trigger for bind mounts or things in /dev. A simpler
check for that might be "not a remote filesystem" -- you already have
is_remote, and for remote filesystems the device just isn't a local path
ever.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/809221

Title:
  unable to mount ceph root at boot due to stripping of trailing slashes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/809221/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to