From: Daniel J Walsh <dwalsh@redhat.com>
To: "Christopher J. PeBenito" <cpebenito@tresys.com>
Cc: Jim Carter <jwcart2@epoch.ncsc.mil>,
SELinux Mail List <selinux@tycho.nsa.gov>
Subject: Re: latest diff
Date: Sat, 19 Mar 2005 11:36:05 -0500 [thread overview]
Message-ID: <423C54F5.5060205@redhat.com> (raw)
In-Reply-To: <1111248890.5582.20.camel@chris.pebenito.net>
Christopher J. PeBenito wrote:
>On Sat, 2005-03-19 at 01:53 -0500, Daniel J Walsh wrote:
>
>
>>I think we can remove the hostname policy, it adds little value.
>>
>>
>[cut]
>
>
>>I think it would work fine without hostname policy. I think we could
>>probably get rid of consoletype also.
>>
>>
>
>I don't remember why hostname and consoletype were added in the first
>place, but a quick look through them makes me think that its so we don't
>have to give sys_admin capability to initrc_t when these programs are
>run from init scripts. Sys_admin is a huge set a privileges, so I'd say
>its worthwhile to keep them around.
>
>
>
Ok, that is what I saw. I saw the sys_admin avc messages, but there was
no failure in
setting up the hostname. So I put a dontaudit in dhcpc and everything
seems to work.
Does anyone know if these apps actually need this priv or are just
asking for it even though
they don't need it. Problem with hostname is that lots of tools are
doing stuff like
hostname >> logfile. Which causes hostname to need write access to
postgress_log_t, ...
>>plain text document attachment (diff)
>>+bool use_syslogng false;
>>+
>>+if (use_syslogng) {
>>+allow syslogd_t proc_kmsg_t:file write;
>>+allow syslogd_t self:capability { sys_admin chown };
>>+}
>>
>>
>
>Shouldn't this go in the ifdef(`klogd.te',`',` block? Its already
>there for syslogds that also do the klogd functions, like syslog-ng. In
>fact, I think that block was originally added for syslog-ng. That
>should eliminate the need for a boolean too.
>
>
>
The protections are not needed for standard syslog, so I think we should
have a boolean
saying whether you are using standard syslog of syslog-ng (Targeted
policy does not
ship klog. Now maybe the other proc_kmsg stuff should be under the
boolean? Maybe
this should be only for Red Hat since we do not ship klog.te in targeted
policy. Or should
we ship klog.te for targeted policy?
--
--
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:[~2005-03-19 16:38 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-19 6:53 latest diff Daniel J Walsh
2005-03-19 16:14 ` Christopher J. PeBenito
2005-03-19 16:36 ` Daniel J Walsh [this message]
2005-03-23 11:10 ` Thomas Bleher
2005-03-23 13:51 ` Stephen Smalley
2005-04-20 12:22 ` Russell Coker
2005-03-21 19:40 ` James Carter
-- strict thread matches above, loose matches on Subject: below --
2005-03-22 18:24 Latest diff Daniel J Walsh
2005-03-22 20:20 ` Daniel J Walsh
2005-03-23 18:25 ` James Carter
2005-05-19 18:51 Latest Diff Daniel J Walsh
2005-05-19 21:36 ` Ivan Gyurdiev
2006-01-17 4:06 latest diff Daniel J Walsh
2006-01-17 18:35 ` Christopher J. PeBenito
2006-01-24 21:58 Latest Diff Daniel J Walsh
2006-01-25 18:41 ` Christopher J. PeBenito
2006-01-27 6:37 Latest diff Daniel J Walsh
2006-01-27 20:07 ` Christopher J. PeBenito
2006-01-28 21:17 ` Daniel J Walsh
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=423C54F5.5060205@redhat.com \
--to=dwalsh@redhat.com \
--cc=cpebenito@tresys.com \
--cc=jwcart2@epoch.ncsc.mil \
--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.