Skip to contentSkip to conversation

New location for udevd binary

PATCH New Sven Vermeulen 2 participants 2 messages Jul 25, 2012 – Aug 8, 2012

lore
Share & tools
lore
#0 lore raw

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.

---
 policy/modules/system/udev.fc |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
policy/modules/system/udev.fc +2 -0
index 2575393..fc067b9 100644
@@ -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)
 
Signature · 1 line
1.7.8.6
#1 lore raw

PATCH 1/1 New location for udevd binary

Quoted 13 lines · Sven Vermeulen

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

---
 policy/modules/system/udev.fc |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
policy/modules/system/udev.fc +0 -0
index 2575393..fc067b9 100644

policy/modules/system/udev.fc ifdef(`distro_redhat',` · line 34

Quoted 7 lines
policy/modules/system/udev.fc +2 -0
@@ -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.

Signature · 3 lines
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com