From b963532e7c249b88bf4f3620334fb0b6476a3cfa Mon Sep 17 00:00:00 2001 From: Laurent Bigonville Date: Sun, 13 Apr 2014 23:46:09 +0200 Subject: [PATCH] Label /etc/locale.alias as locale_t on Debian 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(+) diff --git a/policy/modules/system/miscfiles.fc b/policy/modules/system/miscfiles.fc index e917c2e3a..fb7e7b200 100644 --- a/policy/modules/system/miscfiles.fc +++ b/policy/modules/system/miscfiles.fc @@ -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) ')