Re: MNT_DETACH and mount namespace issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 04, 2014 at 11:19:35PM +0200, Richard Weinberger wrote:
> Am 04.08.2014 18:46, schrieb Eric W. Biederman:
> > Richard Weinberger <richard.weinberger@xxxxxxxxx> writes:
> 
> /proc is propagating into another mount namespaces that does not care.
> This happens because systemd creates for several services a mount namespace and sets
> the root tree to MS_SHARED.

if propagations are not needed, than set the root of the new mount
namespace to MS_PRIVATE first and then set it to MS_SHARED.

MS_PRIVATE will delink the propagations, and MS_SHARED later will enable
the new mounts to propagate to whoever wants them.

RP

--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux