Re: [RFC 1/1] shiftfs: uid/gid shifting bind mount

From: James Bottomley
Date: Mon May 16 2016 - 22:28:40 EST


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?

Thanks,

James