- Fix file context for nemiver
This commit is contained in:
parent
df0bef9ac0
commit
1a24735d8f
@ -224,7 +224,7 @@ allow_polyinstantiation = false
|
|||||||
|
|
||||||
# Allow all domains to talk to ttys
|
# Allow all domains to talk to ttys
|
||||||
#
|
#
|
||||||
allow_daemons_dump_core = true
|
allow_daemons_dump_core = false
|
||||||
|
|
||||||
# Allow mount command to mounton any directory
|
# Allow mount command to mounton any directory
|
||||||
#
|
#
|
||||||
|
@ -1185,3 +1185,11 @@ tzdata = base
|
|||||||
# Policy for sendmail.
|
# Policy for sendmail.
|
||||||
#
|
#
|
||||||
qmail = module
|
qmail = module
|
||||||
|
|
||||||
|
# Layer: apps
|
||||||
|
# Module: games
|
||||||
|
#
|
||||||
|
# The Open Group Pegasus CIM/WBEM Server.
|
||||||
|
#
|
||||||
|
games = module
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
Summary: SELinux policy configuration
|
Summary: SELinux policy configuration
|
||||||
Name: selinux-policy
|
Name: selinux-policy
|
||||||
Version: 2.5.3
|
Version: 2.5.3
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
Source: serefpolicy-%{version}.tgz
|
Source: serefpolicy-%{version}.tgz
|
||||||
@ -104,14 +104,12 @@ touch %{buildroot}%{_sysconfdir}/selinux/%1/contexts/files/homedir_template \
|
|||||||
touch %{buildroot}%{_sysconfdir}/selinux/%1/contexts/files/file_contexts.homedirs \
|
touch %{buildroot}%{_sysconfdir}/selinux/%1/contexts/files/file_contexts.homedirs \
|
||||||
install -m0644 ${RPM_SOURCE_DIR}/securetty_types-%1 %{buildroot}%{_sysconfdir}/selinux/%1/contexts/securetty_types \
|
install -m0644 ${RPM_SOURCE_DIR}/securetty_types-%1 %{buildroot}%{_sysconfdir}/selinux/%1/contexts/securetty_types \
|
||||||
install -m0644 ${RPM_SOURCE_DIR}/setrans-%1.conf %{buildroot}%{_sysconfdir}/selinux/%1/setrans.conf \
|
install -m0644 ${RPM_SOURCE_DIR}/setrans-%1.conf %{buildroot}%{_sysconfdir}/selinux/%1/setrans.conf \
|
||||||
ln -sf ../devel/include %{buildroot}%{_usr}/share/selinux/%1 \
|
|
||||||
%nil
|
%nil
|
||||||
|
|
||||||
%define fileList() \
|
%define fileList() \
|
||||||
%defattr(-,root,root) \
|
%defattr(-,root,root) \
|
||||||
%dir %{_usr}/share/selinux/%1 \
|
%dir %{_usr}/share/selinux/%1 \
|
||||||
%{_usr}/share/selinux/%1/*.pp \
|
%{_usr}/share/selinux/%1/*.pp \
|
||||||
%{_usr}/share/selinux/%1/include \
|
|
||||||
%dir %{_sysconfdir}/selinux/%1 \
|
%dir %{_sysconfdir}/selinux/%1 \
|
||||||
%config(noreplace) %{_sysconfdir}/selinux/%1/setrans.conf \
|
%config(noreplace) %{_sysconfdir}/selinux/%1/setrans.conf \
|
||||||
%ghost %{_sysconfdir}/selinux/%1/seusers \
|
%ghost %{_sysconfdir}/selinux/%1/seusers \
|
||||||
@ -209,7 +207,6 @@ make NAME=strict TYPE=strict-mcs DISTRO=%{distro} DIRECT_INITRC=y MONOLITHIC=%{m
|
|||||||
make NAME=strict TYPE=strict-mcs DISTRO=%{distro} DIRECT_INITRC=y MONOLITHIC=%{monolithic} POLY=n MLS_CATS=1024 MCS_CATS=1024 conf
|
make NAME=strict TYPE=strict-mcs DISTRO=%{distro} DIRECT_INITRC=y MONOLITHIC=%{monolithic} POLY=n MLS_CATS=1024 MCS_CATS=1024 conf
|
||||||
cp -f ${RPM_SOURCE_DIR}/modules-strict.conf ./policy/modules.conf
|
cp -f ${RPM_SOURCE_DIR}/modules-strict.conf ./policy/modules.conf
|
||||||
%installCmds strict strict-mcs y n
|
%installCmds strict strict-mcs y n
|
||||||
ln -sf ../devel/include %{buildroot}%{_usr}/share/selinux/strict
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{BUILD_MLS}
|
%if %{BUILD_MLS}
|
||||||
@ -356,8 +353,11 @@ semodule -b base.pp -r bootloader -r clock -r dpkg -r fstools -r hotplug -r init
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Sun Feb 11 2007 Dan Walsh <dwalsh@redhat.com> 2.5.3-7
|
* Wed Feb 14 2007 Dan Walsh <dwalsh@redhat.com> 2.5.3-2
|
||||||
-
|
- Fix file context for nemiver
|
||||||
|
|
||||||
|
* Sun Feb 11 2007 Dan Walsh <dwalsh@redhat.com> 2.5.3-1
|
||||||
|
- Remove include sym link
|
||||||
|
|
||||||
* Mon Feb 5 2007 Dan Walsh <dwalsh@redhat.com> 2.5.2-6
|
* Mon Feb 5 2007 Dan Walsh <dwalsh@redhat.com> 2.5.2-6
|
||||||
- Allow mozilla, evolution and thunderbird to read dev_random.
|
- Allow mozilla, evolution and thunderbird to read dev_random.
|
||||||
|
Loading…
Reference in New Issue
Block a user