The attached patch uses the correct paths for Xen in Debian/Lenny.
--
russell at coker.com.au
http://etbe.coker.com.au/ My Blog
http://www.coker.com.au/sponsorship.html Sponsoring Free Software development
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xen-fc.diff
Type: text/x-diff
Size: 1046 bytes
Desc: not available
Url : http://oss.tresys.com/pipermail/refpolicy/attachments/20081021/c2b89268/attachment.bin
On Mon, 2008-10-20 at 08:28 -0500, Russell Coker wrote:
> The attached patch uses the correct paths for Xen in Debian/Lenny.
Merged.
>
>
>
>
>
> differences
> between files
> attachment
> (xen-fc.diff)
>
> --- xen.fc 2008-09-10 09:06:03.000000000 +1000
> +++ /tmp/xen.fc 2008-10-21 00:27:04.000000000 +1100
> @@ -1,11 +1,17 @@
> /dev/xen/tapctrl.* -p gen_context(system_u:object_r:xenctl_t,s0)
>
> /usr/bin/virsh -- gen_context(system_u:object_r:xm_exec_t,s0)
> -
> +ifdef(`distro_debian', `
> +/usr/lib/xen-[^/]*/bin/xenconsoled -- gen_context(system_u:object_r:xenconsoled_exec_t,s0)
> +/usr/lib/xen-[^/]*/bin/xend -- gen_context(system_u:object_r:xend_exec_t,s0)
> +/usr/lib/xen-[^/]*/bin/xenstored -- gen_context(system_u:object_r:xenstored_exec_t,s0)
> +/usr/lib/xen-[^/]*/bin/xm -- gen_context(system_u:object_r:xm_exec_t,s0)
> +', `
> /usr/sbin/xenconsoled -- gen_context(system_u:object_r:xenconsoled_exec_t,s0)
> /usr/sbin/xend -- gen_context(system_u:object_r:xend_exec_t,s0)
> /usr/sbin/xenstored -- gen_context(system_u:object_r:xenstored_exec_t,s0)
> /usr/sbin/xm -- gen_context(system_u:object_r:xm_exec_t,s0)
> +')
>
> /var/lib/xen(/.*)? gen_context(system_u:object_r:xend_var_lib_t,s0)
> /var/lib/xen/images(/.*)? gen_context(system_u:object_r:xen_image_t,s0)
>
--
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150