From: cpebenito@tresys.com (Christopher J. PeBenito) Date: Wed, 8 Aug 2012 09:31:08 -0400 Subject: [refpolicy] [PATCH 1/1] New location for udevd binary In-Reply-To: <20120725114119.GA27418@siphos.be> References: <20120725114119.GA27418@siphos.be> Message-ID: <50226A1C.6090305@tresys.com> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com 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 > --- > 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 www.tresys.com | oss.tresys.com