2020-12-18 05:33:56 |
Evan Linde |
bug |
|
|
added bug |
2020-12-18 05:34:24 |
Evan Linde |
description |
Using a polyinstantiated directory (see /etc/security/pam_namespace.conf) as a mount point is not working in focal (20.04.1) with libpam-mount 2.16-10.
The problem is only when the polydir itself is used as a mountpoint; there is no problem using a subdirectory inside the polydir. (e.g. If "/data2" is defined as a polydir in /etc/security/pam_namespace.conf, pam_mount succeeds when using /data2/subdir as a mount point, but fails when using /data2 as the mount point.)
I think the problem is this patch: 0014-Don-t-compare-source-when-checking-if-it-s-already-m.patch
Expected behavior: A filesystem should be mounted at the polydir or at least debug logs should show an attempted mount command.
Observed behavior: Nothing is mounted and the following lines are logged by both systemd and login (debugging enabled in pam_mount.conf.xml)
(mount.c:250): Mount info: globalconf, user=elinde <volume fstype="cifs" server="stor1" path="data" mountpoint="/data2" cipher="(null)" fskeypath="(null)" fskeycipher="(null)" fskeyhash="(null)" options="multiuser,cruid=elinde,sec=krb5,cifsacl" /> fstab=0 ssh=0
(mount.c:622): data already seems to be mounted at /data2, skipping
The behavior I'm looking for does work in bionic (18.04.5) with libpam-mount 2.16-3ubuntu0.1. |
Using a polyinstantiated directory as a mount point is not working in focal (20.04.1) with libpam-mount 2.16-10.
The problem is only when the polydir itself is used as a mountpoint; there is no problem using a subdirectory inside the polydir. (e.g. If "/data2" is defined as a polydir in /etc/security/pam_namespace.conf, pam_mount succeeds when using /data2/subdir as a mount point, but fails when using /data2 as the mount point.)
I think the problem is this patch: 0014-Don-t-compare-source-when-checking-if-it-s-already-m.patch
Expected behavior: A filesystem should be mounted at the polydir or at least debug logs should show an attempted mount command.
Observed behavior: Nothing is mounted and the following lines are logged by both systemd and login (debugging enabled in pam_mount.conf.xml)
(mount.c:250): Mount info: globalconf, user=elinde <volume fstype="cifs" server="stor1" path="data" mountpoint="/data2" cipher="(null)" fskeypath="(null)" fskeycipher="(null)" fskeyhash="(null)" options="multiuser,cruid=elinde,sec=krb5,cifsacl" /> fstab=0 ssh=0
(mount.c:622): data already seems to be mounted at /data2, skipping
The behavior I'm looking for does work in bionic (18.04.5) with libpam-mount 2.16-3ubuntu0.1. |
|
2020-12-18 05:56:59 |
Evan Linde |
tags |
|
focal |
|
2020-12-28 10:17:21 |
Jochen Sprickerhof |
bug watch added |
|
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=799752 |
|
2020-12-30 10:48:24 |
Jochen Sprickerhof |
bug |
|
|
added subscriber Jochen Sprickerhof |
2021-01-04 13:26:23 |
Paride Legovini |
bug |
|
|
added subscriber Paride Legovini |
2021-01-04 14:34:26 |
Paride Legovini |
libpam-mount (Ubuntu): status |
New |
Triaged |
|
2021-01-04 14:34:34 |
Paride Legovini |
bug |
|
|
added subscriber Ubuntu Server |
2021-01-04 14:34:42 |
Paride Legovini |
libpam-mount (Ubuntu): importance |
Undecided |
Low |
|
2021-01-14 22:35:34 |
Evan Linde |
bug watch added |
|
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=980117 |
|
2021-01-14 22:37:51 |
Evan Linde |
bug task added |
|
libpam-mount (Debian) |
|
2021-03-02 01:26:34 |
Bug Watch Updater |
libpam-mount (Debian): status |
Unknown |
New |
|
2022-07-08 06:14:52 |
Bug Watch Updater |
libpam-mount (Debian): status |
New |
Fix Released |
|
2022-07-12 03:12:48 |
Bryce Harrington |
nominated for series |
|
Ubuntu Kinetic |
|
2022-07-12 03:12:48 |
Bryce Harrington |
bug task added |
|
libpam-mount (Ubuntu Kinetic) |
|
2022-07-12 03:12:48 |
Bryce Harrington |
nominated for series |
|
Ubuntu Focal |
|
2022-07-12 03:12:48 |
Bryce Harrington |
bug task added |
|
libpam-mount (Ubuntu Focal) |
|
2022-07-12 03:12:48 |
Bryce Harrington |
nominated for series |
|
Ubuntu Jammy |
|
2022-07-12 03:12:48 |
Bryce Harrington |
bug task added |
|
libpam-mount (Ubuntu Jammy) |
|
2022-07-12 03:23:14 |
Bryce Harrington |
libpam-mount (Ubuntu Kinetic): status |
Triaged |
Fix Released |
|
2022-07-12 03:23:21 |
Bryce Harrington |
libpam-mount (Ubuntu Focal): importance |
Undecided |
Low |
|
2022-07-12 03:23:24 |
Bryce Harrington |
libpam-mount (Ubuntu Jammy): importance |
Undecided |
Low |
|