Re: 2.6.27-rc1 + selinux new options = no httpd

From: Al Viro
Date: Fri Aug 01 2008 - 10:48:14 EST


On Fri, Aug 01, 2008 at 08:51:08AM -0400, Stephen Smalley wrote:
>
> On Thu, 2008-07-31 at 10:44 -0400, Eric Paris wrote:
> > On Thu, 2008-07-31 at 09:09 -0400, Gene Heskett wrote:
> > > On Thursday 31 July 2008, James Morris wrote:
> >
> > > >What AVC messages are you seeing?
> > >
> > > I posted the whole screen from setroubleshoot earlier.
> >
> > I'm sorry but I can't seem to find it in your original message...
> >
> > http://marc.info/?l=linux-kernel&m=121747333012971&w=2
> >
> > Do you have another pointer? I can't think of anything that went into
> > 2.6.27 related to SELinux that should have in any way changed file
> > access checks but I'll poke through the changelog and see if something
> > stands out...
>
> It could be the append bug introduced by the vfs changes.
> See:
> http://marc.info/?l=linux-kernel&m=121726661110266&w=2
>
> That would break any case where only append permission is granted (not
> full write access), as would be typical for httpd log files.

commit d54bb7a971b41b8a4baba6e3d9adf14ce035947f
Author: Stephen Smalley <sds@xxxxxxxxxxxxx>
Date: Mon Jul 28 13:32:38 2008 -0400

Re: BUG at security/selinux/avc.c:883 (was: Re: linux-next: Tree
for July 17: early crash on x86-64)

in vfs-2.6.git/for-next (and for-linus as well)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/