From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754348AbdBFOvA (ORCPT ); Mon, 6 Feb 2017 09:51:00 -0500 Received: from imap.thunk.org ([74.207.234.97]:38404 "EHLO imap.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752270AbdBFOu5 (ORCPT ); Mon, 6 Feb 2017 09:50:57 -0500 Date: Mon, 6 Feb 2017 09:50:44 -0500 From: "Theodore Ts'o" To: James Bottomley Cc: "J. R. Okajima" , Djalal Harouni , Chris Mason , Josh Triplett , "Eric W. Biederman" , Andy Lutomirski , Seth Forshee , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, Dongsu Park , David Herrmann , Miklos Szeredi , Alban Crequy , Al Viro , "Serge E. Hallyn" , Phil Estes Subject: Re: [RFC 1/1] shiftfs: uid/gid shifting bind mount Message-ID: <20170206145044.7xlm6l72kystp5zc@thunk.org> Mail-Followup-To: Theodore Ts'o , James Bottomley , "J. R. Okajima" , Djalal Harouni , Chris Mason , Josh Triplett , "Eric W. Biederman" , Andy Lutomirski , Seth Forshee , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, Dongsu Park , David Herrmann , Miklos Szeredi , Alban Crequy , Al Viro , "Serge E. Hallyn" , Phil Estes References: <1486235880.2484.17.camel@HansenPartnership.com> <1486235972.2484.19.camel@HansenPartnership.com> <4608.1486351540@jrobl> <1486363583.2496.63.camel@HansenPartnership.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1486363583.2496.63.camel@HansenPartnership.com> User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tytso@thunk.org X-SA-Exim-Scanned: No (on imap.thunk.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Feb 05, 2017 at 10:46:23PM -0800, James Bottomley wrote: > Yes, I know the problem. However, I believe most current linux > filesystems no longer guarantee stable, for the lifetime of the file, > inode numbers. The usual docker container root is overlayfs, which, > similarly doesn't support stable inode numbers. I see the odd > complaint about docker with overlayfs having unstable inode numbers, > but none seems to have any serious repercussions. Um, no. Most current linux file systems *do* guarantee stable inode numbers. For one thing, NFS would break horribly if you didn't have stable inode numbers. Never mind applications which depend on POSIX semantics. And you wouldn't be able to save games in rogue or nethack, either. :-) Overlayfs may not, currently, but it's considered a bug. - Ted