Re: [systemd-devel] namespace: session dependant mtab

2011-08-03 Thread Kay Sievers
On Wed, Aug 3, 2011 at 16:19, Stef Bon wrote: > 2011/8/3 Kay Sievers : >> On Wed, Aug 3, 2011 at 16:07, Stef Bon wrote: > >>> Isn't it a good idea to provide every different namespace a own mtab, >>> containing only the mounts visible for that namespace? >> >> You mean /etc/mtab? Systemd requires

Re: [systemd-devel] namespace: session dependant mtab

2011-08-03 Thread Stef Bon
2011/8/3 Kay Sievers : > On Wed, Aug 3, 2011 at 16:07, Stef Bon wrote: >> Isn't it a good idea to provide every different namespace a own mtab, >> containing only the mounts visible for that namespace? > > You mean /etc/mtab? Systemd requires that to be symlink to > /proc/mounts, which is always

Re: [systemd-devel] namespace: session dependant mtab

2011-08-03 Thread Kay Sievers
On Wed, Aug 3, 2011 at 16:07, Stef Bon wrote: > I've been looking into how namespaces work, shared mounted subtrees > and user namespaces using PAM. > > My own construction is using a FUSE filesystem, some bind mounts of > system directories and (still) pam_chroot. > and looking to switch to use p

[systemd-devel] namespace: session dependant mtab

2011-08-03 Thread Stef Bon
Hi all, I've been looking into how namespaces work, shared mounted subtrees and user namespaces using PAM. My own construction is using a FUSE filesystem, some bind mounts of system directories and (still) pam_chroot. and looking to switch to use pam_namespace. Anyhowe, I see that with using dif