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

From: Stephen Smalley
Date: Fri Aug 01 2008 - 10:39:51 EST



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.

--
Stephen Smalley
National Security Agency

--
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/