> Is "checkmounted" a standard / API function somewhere?

No, that would be a new option to be added.

> I'm not seeing how the path gets to be unpredictable (at least for NFS
on the linked bug). It looks more like vpt->volume might be failing to
match the source path in pmt_utabent_matches as a result of certain xml
configs because it's using the content of the path element verbatim
instead of constructing it from multiple elements (e.g.
'path="nfs:/home/prisoners/p"' vs. 'server="nfs"
path="/home/prisoners/p"') as happens in pmt_vol_to_dev.

Interesting, I was not aware of this function. Still there could be
other functions applied. for example I have path="/dev/disk/by-
label/home" which is passed to mount.crypt and transformed to
/dev/mapper/_dev_nvme0n1p3 in the mount output. This is done in
dmc_crypto_name but it could be a function outside of pam_mount as well.

-- 
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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to