Skip to contentSkip to conversation

Another small issue on Debian

DISCUSSION Erich Schubert 2 participants 2 messages Nov 30, 2005 SELinux security module

lore
Share & tools
lore
#0 lore raw

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

Signature · 10 lines
    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 [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#1 lore raw
Quoted 10 lines · Erich Schubert

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.

Signature · 8 lines
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 [email protected] with
the words "unsubscribe selinux" without quotes as the message.