Label /etc/locale.alias as locale_t on Debian
PATCH 1/1 Label /etc/locale.alias as locale_t on Debian
From: Laurent Bigonville <[email protected]>
On Debian, /usr/share/locale/locale.alias is a symlink to /etc/locale.alias, properly label this file.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=707246
--- policy/modules/system/miscfiles.fc | 4 ++++ 1 file changed, 4 insertions(+)
policy/modules/system/miscfiles.fc +4 -0
@@ -15,6 +15,10 @@ ifdef(`distro_gentoo',` /etc/ssl(/.*)? gen_context(system_u:object_r:cert_t,s0) /etc/timezone -- gen_context(system_u:object_r:locale_t,s0) +ifdef(`distro_debian',` +/etc/locale.alias -- gen_context(system_u:object_r:locale_t,s0) +') + ifdef(`distro_redhat',` /etc/sysconfig/clock -- gen_context(system_u:object_r:locale_t,s0) ')
Signature · 1 line
1.9.2
PATCH 1/1 Label /etc/locale.alias as locale_t on Debian
Quoted 15 lines · Laurent Bigonville
From: Laurent Bigonville <[email protected]>
On Debian,
/usr/share/locale/locale.aliasis a symlink to/etc/locale.alias, properly label this file.https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=707246
--- policy/modules/system/miscfiles.fc | 4 ++++ 1 file changed, 4 insertions(+)policy/modules/system/miscfiles.fc +0
-0
policy/modules/system/miscfiles.fc ifdef(`distro_gentoo',` · line 24
Quoted 10 lines
policy/modules/system/miscfiles.fc +4
-0@@ -15,6 +15,10 @@ ifdef(`distro_gentoo',` /etc/ssl(/.*)? gen_context(system_u:object_r:cert_t,s0) /etc/timezone -- gen_context(system_u:object_r:locale_t,s0) +ifdef(`distro_debian',` +/etc/locale.alias -- gen_context(system_u:object_r:locale_t,s0) +') + ifdef(`distro_redhat',` /etc/sysconfig/clock -- gen_context(system_u:object_r:locale_t,s0) ')
Merged.
Signature · 3 lines
Chris PeBenito Tresys Technology, LLC www.tresys.com | oss.tresys.com