The behavior prior to the 14* patch was to only mount if (path,
mountpoint) are not listed as mounted. But some mount helpers rewrite
the path before mounting (like cryptsetup transitioning through
/dev/mapper or NFS, as detailed in https://bugs.debian.org/799752). For
those the check always fails and the mount would be redone on every
login. The patch drops the path from the check as it is not predictable
and only checks if mountpoint is listed as mounted.

Your use case is the other way round, you want to mount something on top
of a mount point. The only way I see this works is by adding an option
to not check for mounts at all. Maybe checkmounted?

** Bug watch added: Debian Bug tracker #799752
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=799752

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

Title:
  mounts to polydirs not working

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libpam-mount/+bug/1908638/+subscriptions

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

Reply via email to