Built kernel-2.6.16.20 for ntfs driver; now SELinux won't let me in

Matthew Munro denormalised at yahoo.co.uk
Mon Jun 19 18:55:55 UTC 2006


Stephen Smalley wrote:
> On Fri, 2006-06-16 at 22:37 +0100, Matthew Munro wrote:
>> Matthew Munro wrote:
>>>> try booting with enforcing=0 on the end of your
>>>> kernel line.
>>>> incidentally, for the ntfs stuff you can just as
>>>> easily use the livna
>>>> repository and install kmod-ntfs
>>> Thanks for the livna tip.  I think my kernel build was
>>> mainly inspired by ntfs, but I soon began to enjoy
>>> snicking out the bulk of the FC5 `.config'.
>>>
>>> As for getting in to inspect the logs, I have already
>>> entered KDE as non-root, then `su'd to root to dig
>>> around.  I built a module to allow hotplug_t to login,
>>> but then I found it banned from just about everything
>>> else.
>>>
>>> I haven't booted that kernel in a little while, and I
>>> don't have any logs handy, but I'll gladly provide
>>> some example avc messages when I boot again.
>>>
>> Here's one.  So I've built and installed this new kernel, and then 
>> rebooted into it, and then I get this.
>>
>> Jun 13 12:08:24 north kernel: audit(1150196904.915:6): avc:  denied  { 
>> entrypoint } for  pid=1873 comm="login" name="bash" dev=hda7 ino=49158 
>> scontext=root:sysadm_r:hotplug_t:s0-s0:c0.c255 
>> tcontext=system_u:object_r:file_t:s0 tclass=file
> 
> Hmmm...either your filesystem isn't labeled, or you didn't enable xattr
> support for your filesystem type in your kernel config?

The xattr thing was okay.  I suppose the labeling went astray at some point.

		
___________________________________________________________ 
Yahoo! Messenger - with free PC-PC calling and photo sharing. http://uk.messenger.yahoo.com




More information about the fedora-list mailing list