I have a similar issue using a FUSE mount (gocryptfs) - however it is
not resolved by @elinde's patch, though I'm grateful for the pointer in
the right direction.
In my case the volume `path` mounted is
`/usr/bin/gocryptfs#/home/%(USER).cipher` in `pam_mount.conf.xml`, and
this corresponds to both `vpt->combopath` *and* `vpt->volume`, since:

```
// pam_mount.h excerpt

/**
 * @server:     server name, if any
 * @volume:     path relative to server, or full path in case @server is empty
 * @combopath:  concatenation of @server and @volume dependent upon @fstype
 */
struct vol {
```

in my case `server` is null. I'm not sure what the right fix is here,
check if `combopath` begins with `server` (if not null) and ends with
`"#" + volume` if `fstype = "fuse"`, perhaps?

-- 
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