Comment 12 for bug 1908638

Revision history for this message
Oliver Ford (ojford) wrote :

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?