On Wed, Aug 3, 2011 at 16:07, Stef Bon <[email protected]> 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 pam_namespace. > > Anyhowe, I see that with using different namespaces still the central > managed (=system) mtab is used to lookup mounts. > > 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 namespace dependent. We don't support any idea of a regular file called mtab. Systemd will print errors at bootup. Kay _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
