All of lore.kernel.org
 help / color / mirror / Atom feed
* MLS sensitivity sensitivity
@ 2007-12-27 20:40 Peter A. Bigot
  2007-12-27 21:40 ` Ted X Toth
  0 siblings, 1 reply; 3+ messages in thread
From: Peter A. Bigot @ 2007-12-27 20:40 UTC (permalink / raw)
  To: selinux

Running the HEAD version of the reference policy with strict MLS permissive
on Fedora 8, I'm trying to eliminate all the AVC denials I get on boot.  The
simplest of them is:

type=SYSCALL msg=audit(12/27/2007 10:11:23.883:128) : arch=i386 syscall=open success=yes exit=1 a0=a0544f8 a1=8541 a2=1a4 a3=8541 items=0 ppid=2213 pid=2214 auid=pab uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root tty=(none) comm=rsyslogd exe=/sbin/rsyslogd subj=system_u:system_r:syslogd_t:s0-s15:c0.c255 key=(null)

type=AVC msg=audit(12/27/2007 10:11:23.883:128) : avc:  denied  { append } for  pid=2214 comm=rsyslogd name=messages dev=sda5 ino=32066 scontext=system_u:system_r:syslogd_t:s0-s15:c0.c255 tcontext=system_u:object_r:var_log_t:s15:c0.c255 tclass=file

syslogd_t has append rights to var_log_t files, per apol:

allow syslogd_t var_log_t : file { ioctl read write create getattr setattr lock append unlink link rename };
allow syslogd_t var_log_t : dir { ioctl read write create getattr setattr lock add_name remove_name search };
allow syslogd_t var_log_t : fifo_file { ioctl read write getattr lock append };

and /var/log/messages has the correct type:

# ls -lZ /var/log/secure 
-rw-------  root root system_u:object_r:var_log_t:s15:c0.c255 /var/log/messages

The same failure occurs when I manually run_init service rsyslog restart.

If I downgrade the sensitivity on /var/log/messages all the way to s0, then
it works without complaint.  s1 through s15 all fail.  But changing the
security level can't be the intended solution.

What should I be doing to eliminate this denial?

Thanks.

Peter

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-12-27 22:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-27 20:40 MLS sensitivity sensitivity Peter A. Bigot
2007-12-27 21:40 ` Ted X Toth
2007-12-27 22:32   ` Peter A. Bigot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.