2014-08-23 11:41:10

by Nicolas Iooss

[permalink] [raw]
Subject: [refpolicy] [PATCH] Label /usr/lib/networkmanager/ like /usr/lib/NetworkManager/

On ArchLinux the directory name of Network Manager in /usr/lib is
written in lowercase but not the files in /usr/bin, /var/lib, etc.
---
networkmanager.fc | 1 +
1 file changed, 1 insertion(+)

diff --git a/networkmanager.fc b/networkmanager.fc
index 94b9734074a0..2f2bdd029387 100644
--- a/networkmanager.fc
+++ b/networkmanager.fc
@@ -14,6 +14,7 @@
/etc/wicd/wired-settings\.conf -- gen_context(system_u:object_r:NetworkManager_etc_rw_t, s0)

/usr/lib/NetworkManager/nm-dispatcher\.action -- gen_context(system_u:object_r:NetworkManager_initrc_exec_t,s0)
+/usr/lib/networkmanager/nm-dispatcher\.action -- gen_context(system_u:object_r:NetworkManager_initrc_exec_t,s0)
/usr/libexec/nm-dispatcher\.action -- gen_context(system_u:object_r:NetworkManager_initrc_exec_t,s0)

/sbin/wpa_cli -- gen_context(system_u:object_r:wpa_cli_exec_t,s0)
--
2.0.4


2014-08-26 13:35:50

by cpebenito

[permalink] [raw]
Subject: [refpolicy] [PATCH] Label /usr/lib/networkmanager/ like /usr/lib/NetworkManager/

On 8/23/2014 7:41 AM, Nicolas Iooss wrote:
> On ArchLinux the directory name of Network Manager in /usr/lib is
> written in lowercase but not the files in /usr/bin, /var/lib, etc.
> ---
> networkmanager.fc | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/networkmanager.fc b/networkmanager.fc
> index 94b9734074a0..2f2bdd029387 100644
> --- a/networkmanager.fc
> +++ b/networkmanager.fc
> @@ -14,6 +14,7 @@
> /etc/wicd/wired-settings\.conf -- gen_context(system_u:object_r:NetworkManager_etc_rw_t, s0)
>
> /usr/lib/NetworkManager/nm-dispatcher\.action -- gen_context(system_u:object_r:NetworkManager_initrc_exec_t,s0)
> +/usr/lib/networkmanager/nm-dispatcher\.action -- gen_context(system_u:object_r:NetworkManager_initrc_exec_t,s0)
> /usr/libexec/nm-dispatcher\.action -- gen_context(system_u:object_r:NetworkManager_initrc_exec_t,s0)
>
> /sbin/wpa_cli -- gen_context(system_u:object_r:wpa_cli_exec_t,s0)

Merged.

--
Chris PeBenito
Tresys Technology, LLC
http://www.tresys.com | oss.tresys.com