xfs
[Top] [All Lists]

Re: [PATCH xfstests] _qmount: mount w/o selinux xattrs

To: Eric Sandeen <sandeen@xxxxxxxxxx>
Subject: Re: [PATCH xfstests] _qmount: mount w/o selinux xattrs
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Fri, 2 Jul 2010 03:10:06 -0400
Cc: xfs mailing list <xfs@xxxxxxxxxxx>
In-reply-to: <4C2CF34F.7070008@xxxxxxxxxx>
References: <4C2CF34F.7070008@xxxxxxxxxx>
User-agent: Mutt/1.5.20 (2009-08-17)
On Thu, Jul 01, 2010 at 02:58:07PM -0500, Eric Sandeen wrote:
> when selinux is on it can change quota usage due to extra
> xattr blocks.
> 
> Mounting with a context prevents this.  We already do so
> for xfs in general because so many things look at detailed
> on-disk format, and extra xattrs confuses those tests.
> 
> For other filesystems, we've left selinux alone so far, 
> as that seemed the best way to test.
> 
> However, it throws quota accounting off, so add a fixup
> in _qmount()

What about just disabling selinux for all filesystems instead of just
XFS for the general case.

<Prev in Thread] Current Thread [Next in Thread>