selinux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Another small issue on Debian
@ 2005-11-30 15:52 Erich Schubert
  2005-11-30 16:06 ` Stephen Smalley
  0 siblings, 1 reply; 2+ messages in thread
From: Erich Schubert @ 2005-11-30 15:52 UTC (permalink / raw)
  To: SELinux

Hi,
Debian currently uses a "strict" policy, but uses "SELINUXTYPE=." and
has the sources in /etc/selinux/src, not /etc/selinux/strict/src
Since the Makefile I got has "strict" somewhere hardcoded in there, I
set up a symlink "strict -> ." causing the following violation:
avc:  denied  { read } for  pid=8075 comm="checkpolicy" name="strict"
dev=ida/c0d0p5 ino=49769 scontext=root:sysadm_r:checkpolicy_t
tcontext=system_u:object_r:selinux_config_t tclass=lnk_file

Any objections to allowing this?

best regards,
Erich Schubert
-- 
    erich@(vitavonni.de|debian.org)    --    GPG Key ID: 4B3A135C    (o_
        The best things in life are free: Friendship and Love.       //\
  Wie kann ich wissen, was ich denke, bevor ich höre, was ich sage.  V_/_



--
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] 2+ messages in thread

* Re: Another small issue on Debian
  2005-11-30 15:52 Another small issue on Debian Erich Schubert
@ 2005-11-30 16:06 ` Stephen Smalley
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Smalley @ 2005-11-30 16:06 UTC (permalink / raw)
  To: Erich Schubert; +Cc: SELinux

On Wed, 2005-11-30 at 16:52 +0100, Erich Schubert wrote:
> Hi,
> Debian currently uses a "strict" policy, but uses "SELINUXTYPE=." and
> has the sources in /etc/selinux/src, not /etc/selinux/strict/src
> Since the Makefile I got has "strict" somewhere hardcoded in there, I
> set up a symlink "strict -> ." causing the following violation:
> avc:  denied  { read } for  pid=8075 comm="checkpolicy" name="strict"
> dev=ida/c0d0p5 ino=49769 scontext=root:sysadm_r:checkpolicy_t
> tcontext=system_u:object_r:selinux_config_t tclass=lnk_file
> 
> Any objections to allowing this?

The "hardcoded" strict is a definition, so you should be able to do:
	make TYPE=. [all|install|load|relabel]

But allowing the reading of a selinux_config_t:lnk_file is likely
harmless too.

-- 
Stephen Smalley
National Security Agency


--
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] 2+ messages in thread

end of thread, other threads:[~2005-11-30 16:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-30 15:52 Another small issue on Debian Erich Schubert
2005-11-30 16:06 ` Stephen Smalley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).