From: Ted X Toth <txtoth@gmail.com>
To: bigotp@acm.org
Cc: selinux@tycho.nsa.gov
Subject: Re: MLS sensitivity sensitivity
Date: Thu, 27 Dec 2007 15:40:20 -0600 [thread overview]
Message-ID: <47741BC4.4060105@gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0712271318020.32461@euphrosyne.pab>
Peter A. Bigot wrote:
> 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.
>
Maybe mls_file_write_all_levels(syslogd_t)?
--
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.
next prev parent reply other threads:[~2007-12-27 21:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-27 20:40 MLS sensitivity sensitivity Peter A. Bigot
2007-12-27 21:40 ` Ted X Toth [this message]
2007-12-27 22:32 ` Peter A. Bigot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47741BC4.4060105@gmail.com \
--to=txtoth@gmail.com \
--cc=bigotp@acm.org \
--cc=selinux@tycho.nsa.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.