When pam_namespace is implementing polyinstantiated mounts, mounts/unmounts performed in one 'su' session are not propagated to other login sessions

Solution In Progress - Updated -

Issue

If polyinstantiated mounts are in use, a mount/unmount performed in a su root shell or via sudo will not be available in other login sessions.

Example:

session 1:
[user@server ~]$ su -
Password:
[root@server ~]# mount nfsserver:/exports /mnt/nfsserver
[root@server ~]# grep nfsserver /proc/self/mountinfo
436 435 0:43 / /mnt/nfsserver rw,relatime - nfs4 nfsserver:/exports rw,seclabel,vers=4.2,rsize=524288,wsize=524288,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.122.50,local_lock=none,addr=192.168.122.73

session 2:
[user@server ~]$ grep nfsserver /proc/self/mountinfo

Environment

Red Hat Enterprise Linux
pam_namespace configured through /etc/security/namespace.conf

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content