2012-07-25 11:41:19

by sven.vermeulen

[permalink] [raw]
Subject: [refpolicy] [PATCH 1/1] New location for udevd binary

Recent udev installs its main binary in /usr/lib/systemd (called systemd-udevd).
Update file contexts to support this.

Signed-off-by: Sven Vermeulen <[email protected]>
---
policy/modules/system/udev.fc | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/policy/modules/system/udev.fc b/policy/modules/system/udev.fc
index 2575393..fc067b9 100644
--- a/policy/modules/system/udev.fc
+++ b/policy/modules/system/udev.fc
@@ -28,6 +28,8 @@ ifdef(`distro_redhat',`

/usr/bin/udevinfo -- gen_context(system_u:object_r:udev_exec_t,s0)

+/usr/lib/systemd/systemd-udevd -- gen_context(system_u:object_r:udev_exec_t,s0)
+
/var/run/PackageKit/udev(/.*)? gen_context(system_u:object_r:udev_var_run_t,s0)
/var/run/udev(/.*)? gen_context(system_u:object_r:udev_tbl_t,s0)

--
1.7.8.6


2012-08-08 13:31:08

by cpebenito

[permalink] [raw]
Subject: [refpolicy] [PATCH 1/1] New location for udevd binary

On 07/25/12 07:41, Sven Vermeulen wrote:
> Recent udev installs its main binary in /usr/lib/systemd (called systemd-udevd).
> Update file contexts to support this.
>
> Signed-off-by: Sven Vermeulen <[email protected]>
> ---
> policy/modules/system/udev.fc | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/policy/modules/system/udev.fc b/policy/modules/system/udev.fc
> index 2575393..fc067b9 100644
> --- a/policy/modules/system/udev.fc
> +++ b/policy/modules/system/udev.fc
> @@ -28,6 +28,8 @@ ifdef(`distro_redhat',`
>
> /usr/bin/udevinfo -- gen_context(system_u:object_r:udev_exec_t,s0)
>
> +/usr/lib/systemd/systemd-udevd -- gen_context(system_u:object_r:udev_exec_t,s0)
> +
> /var/run/PackageKit/udev(/.*)? gen_context(system_u:object_r:udev_var_run_t,s0)
> /var/run/udev(/.*)? gen_context(system_u:object_r:udev_tbl_t,s0)

Merged.

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