Skip to contentSkip to conversation

avc messages occuring that aren't getting into dmesg or syslog

DISCUSSION Luke Kenneth Casson Leighton 2 participants 2 messages May 18, 2004 – May 19, 2004 SELinux security module

lore
Share & tools
lore
#0 lore raw

okay, next step: i have the discover package installed on my system, and i believe that some avc messages are occurring that aren't going into the logs.

i'm trying dmesg to capture them, see what happens.

the hotplug ones are particularly bugging me:

	allow hotplug_t sysctl_net_t:file { write };

is banned under the policy verification rules.

and these:

assertion on line 94076 violated by allow initrc_t etc_t:dir { setattr }; assertion on line 94076 violated by allow mount_t etc_t:dir { mounton };

which is this assertion at line 94076:

# Verify that only appropriate domains can write to /etc (IE mess with # /etc/passwd)
neverallow {domain -auth_write -etc_writer -unconfined_t } etc_t:dir ~{ read getattr lock search ioctl add_name remove_name write };

clues, anyone?

l.

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#1 lore raw
Quoted 5 lines · Luke Kenneth Casson Leighton

the hotplug ones are particularly bugging me:

	allow hotplug_t sysctl_net_t:file { write };

is banned under the policy verification rules.

Should probably allow that.

Quoted 1 line

assertion on line 94076 violated by allow initrc_t etc_t:dir { setattr };

That's either a bug in one of the startup scripts or a mis-labelled directory.

Quoted 1 line

assertion on line 94076 violated by allow mount_t etc_t:dir { mounton };

Why would you want to mount something under /etc?

Signature · 9 lines
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.