- Separate out the ucnonfined user from the unconfined.pp package

This commit is contained in:
Daniel J Walsh 2009-04-11 12:30:22 +00:00
parent 90e4193775
commit d4af172a64
4 changed files with 2138 additions and 765 deletions

View File

@ -1676,6 +1676,13 @@ bitlbee = module
# #
soundserver = module soundserver = module
# Layer: role
# Module: unconfineduser
#
# The unconfined user domain.
#
unconfineduser = module
# Layer:role # Layer:role
# Module: staff # Module: staff
# #

View File

@ -1676,6 +1676,13 @@ bitlbee = module
# #
soundserver = module soundserver = module
# Layer: role
# Module: unconfineduser
#
# The unconfined user domain.
#
unconfineduser = module
# Layer:role # Layer:role
# Module: staff # Module: staff
# #

File diff suppressed because it is too large Load Diff

View File

@ -20,7 +20,7 @@
Summary: SELinux policy configuration Summary: SELinux policy configuration
Name: selinux-policy Name: selinux-policy
Version: 3.6.12 Version: 3.6.12
Release: 2%{?dist} Release: 3%{?dist}
License: GPLv2+ License: GPLv2+
Group: System Environment/Base Group: System Environment/Base
Source: serefpolicy-%{version}.tgz Source: serefpolicy-%{version}.tgz
@ -167,7 +167,7 @@ fi
%define loadminpolicy() \ %define loadminpolicy() \
( cd /usr/share/selinux/%1; \ ( cd /usr/share/selinux/%1; \
semodule -b base.pp.bz2 -i unconfined.pp.bz2 -s %1; \ semodule -b base.pp.bz2 -i unconfined.pp.bz2 unconfineduser.pp.bz2 -s %1; \
); \ ); \
%define loadpolicy() \ %define loadpolicy() \
@ -313,14 +313,10 @@ SELinux Reference policy targeted base module.
%post targeted %post targeted
if [ $1 -eq 1 ]; then if [ $1 -eq 1 ]; then
%loadpolicy targeted %loadpolicy targeted
#semanage -S targeted -i - << __eof
#login -m -s unconfined_u -r s0-s0:c0.c1023 __default__
#login -m -s unconfined_u -r s0-s0:c0.c1023 root
#__eof
restorecon -R /root /var/log /var/run 2> /dev/null restorecon -R /root /var/log /var/run 2> /dev/null
else else
semodule -n -s targeted -r moilscanner -r mailscanner -r gamin -r audio_entropy -r iscsid 2>/dev/null semodule -n -s targeted -r moilscanner -r mailscanner -r gamin -r audio_entropy -r iscsid 2>/dev/null
%loadpolicy targeted %loadpolicy targeted unconfined.pp unconfineduser.pp
%relabel targeted %relabel targeted
fi fi
exit 0 exit 0
@ -444,6 +440,9 @@ exit 0
%endif %endif
%changelog %changelog
* Thu Apr 9 2009 Dan Walsh <dwalsh@redhat.com> 3.6.12-3
- Separate out the ucnonfined user from the unconfined.pp package
* Wed Apr 7 2009 Dan Walsh <dwalsh@redhat.com> 3.6.12-2 * Wed Apr 7 2009 Dan Walsh <dwalsh@redhat.com> 3.6.12-2
- Make sure unconfined_java_t and unconfined_mono_t create user_tmpfs_t. - Make sure unconfined_java_t and unconfined_mono_t create user_tmpfs_t.