From: dwalsh@redhat.com (Daniel J Walsh) Date: Thu, 13 Sep 2012 11:56:03 -0400 Subject: [refpolicy] [PATCH] Add Debian location for rtkit-daemon daemon In-Reply-To: <1347538790.2915.20.camel@d30.localdomain> References: <1347488050-19736-1-git-send-email-bigon@debian.org> <1347538790.2915.20.camel@d30.localdomain> Message-ID: <50520213.40902@redhat.com> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 09/13/2012 08:19 AM, Dominick Grift wrote: > > > On Thu, 2012-09-13 at 00:14 +0200, Laurent Bigonville wrote: >> From: Laurent Bigonville >> >> --- rtkit.fc | 4 ++++ 1 file changed, 4 insertions(+) >> >> diff --git a/rtkit.fc b/rtkit.fc index 52c441e..fd82305 100644 --- >> a/rtkit.fc +++ b/rtkit.fc @@ -1 +1,5 @@ /usr/libexec/rtkit-daemon -- >> gen_context(system_u:object_r:rtkit_daemon_exec_t,s0) + >> +ifdef(`distro_debian',` +/usr/lib/rtkit/rtkit-daemon -- >> gen_context(system_u:object_r:rtkit_daemon_exec_t,s0) +') > > This was merged. Thanks > > _______________________________________________ refpolicy mailing list > refpolicy at oss.tresys.com http://oss.tresys.com/mailman/listinfo/refpolicy > I have never been a big fan of the ifdef(DISTRO) stuff in the fc files. Why is it necessary hear? Only reason for this would be if another distro had a file here named /usr/lib/rtkit/rtkit-daemon that they wanted to label differently. Lets not flood the fc files with these macros. I could definitely see Fedora moving to this location. Driven by systemd. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlBSAhMACgkQrlYvE4MpobPSZwCcCR2+DEOBscaO5+tAW8MVeh/1 v54AoLQLibo8L9y6id4oXH1ukQJJ3SLC =GfgV -----END PGP SIGNATURE-----