[systemd-bugs] [Bug 56837] Enable custom path to be ignored on shutdown umount cycle

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jan 21 05:01:59 PST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=56837

--- Comment #6 from aleksei.lissitsin at gmail.com ---
Yes. Without MNT_FORCE it now seems to behave correctly: only bind-mount gets
unmounted.

Just for the info: the problem only exists in the setting when only the
bind-mount is seen in mountinfo, and the real mountpoint is hidden. umount2
with MNT_FORCE then incorrectly assumes that the bind-mount is the last
mountpoint and proceeds to unmount the device (it succeeds because of MNT_FORCE
probably).

If both mountpoints are seen, it would correctly only detach the bind-mount and
leave the device mounted.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20130121/817c815a/attachment.html>


More information about the systemd-bugs mailing list