From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael Kerrisk (man-pages)" Subject: Re: For review: user_namespace(7) man page Date: Tue, 09 Sep 2014 07:00:29 -0700 Message-ID: <540F07FD.7010106@gmail.com> References: <53F5310A.5080503@gmail.com> <87d2bhfxvc.fsf@x220.int.ebiederm.org> <5404AD7F.4070004@gmail.com> <87sikade6s.fsf@x220.int.ebiederm.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <87sikade6s.fsf-JOvCrm2gF+uungPnsOpG7nhyD016LWXt@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: "Eric W. Biederman" Cc: "linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , richard.weinberger-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, lkml , Andy Lutomirski , mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org List-Id: containers.vger.kernel.org Hi Eric, > On a related note. One thing that has come up recently (in 3 separate > implementations is that mount(MS_REMOUNT|...,...) must include all of > the mount flags that need to be preserved. People creating read-only > bind mounts tend to miss that and the locked flags in mount namespaces. > That issue was flushed out now that the kernel is now not allowing most > mount flags to be cleared in mount namespaces. So, are you meaning that something needs to be added to the page regarding this point? Thanks, Michael -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/ From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756771AbaIIOAh (ORCPT ); Tue, 9 Sep 2014 10:00:37 -0400 Received: from mail-pd0-f176.google.com ([209.85.192.176]:36905 "EHLO mail-pd0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751583AbaIIOAe (ORCPT ); Tue, 9 Sep 2014 10:00:34 -0400 Message-ID: <540F07FD.7010106@gmail.com> Date: Tue, 09 Sep 2014 07:00:29 -0700 From: "Michael Kerrisk (man-pages)" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0 MIME-Version: 1.0 To: "Eric W. Biederman" CC: mtk.manpages@gmail.com, lkml , "linux-man@vger.kernel.org" , containers@lists.linux-foundation.org, Andy Lutomirski , richard.weinberger@gmail.com, "Serge E. Hallyn" Subject: Re: For review: user_namespace(7) man page References: <53F5310A.5080503@gmail.com> <87d2bhfxvc.fsf@x220.int.ebiederm.org> <5404AD7F.4070004@gmail.com> <87sikade6s.fsf@x220.int.ebiederm.org> In-Reply-To: <87sikade6s.fsf@x220.int.ebiederm.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Eric, > On a related note. One thing that has come up recently (in 3 separate > implementations is that mount(MS_REMOUNT|...,...) must include all of > the mount flags that need to be preserved. People creating read-only > bind mounts tend to miss that and the locked flags in mount namespaces. > That issue was flushed out now that the kernel is now not allowing most > mount flags to be cleared in mount namespaces. So, are you meaning that something needs to be added to the page regarding this point? Thanks, Michael -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/