From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 16 May 2016 22:47:12 -0500 From: "Serge E. Hallyn" To: James Bottomley Cc: Serge Hallyn , Djalal Harouni , Chris Mason , tytso@mit.edu, Serge Hallyn , 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 Subject: Re: [RFC 1/1] shiftfs: uid/gid shifting bind mount Message-ID: <20160517034712.GA10436@mail.hallyn.com> References: <1463080006.2380.39.camel@HansenPartnership.com> <1463080076.2380.40.camel@HansenPartnership.com> <20160516194117.GA29354@ubuntumail> <1463452112.4101.25.camel@HansenPartnership.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1463452112.4101.25.camel@HansenPartnership.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: On Mon, May 16, 2016 at 10:28:32PM -0400, James Bottomley wrote: > On Mon, 2016-05-16 at 19:41 +0000, Serge Hallyn wrote: > > Hey James, > > > > I probably did something wrong - but i applied your patch onto 4.6, > > compiled in shiftfs, did > > > > mount -t shiftfs -o uidmap=0:100000:65536,gidmap=0:100000:65536 > > /home/ubuntu /mnt > > > > and ls segfaults and gives me kernel syslog msgs like: > > Hm, it looks to be something IMA related, since the SUSE default is no > IMA and this BUG in the filesystem is to do with the IMA version of > i_readcount_dec. I'll recompile my kernel to see if I can reproduce. > Just in case, what's the underlying filesystem on /home/ubuntu? It was ext4