2012-09-28 08:47:51

by Laurent Bigonville

[permalink] [raw]
Subject: [refpolicy] [PATCH 1/2] Add Debian location for tcsd init script

From: Laurent Bigonville <[email protected]>

---
tcsd.fc | 1 +
1 file changed, 1 insertion(+)

diff --git a/tcsd.fc b/tcsd.fc
index e59fd73..a38b954 100644
--- a/tcsd.fc
+++ b/tcsd.fc
@@ -1,4 +1,5 @@
/etc/rc\.d/init\.d/tcsd -- gen_context(system_u:object_r:tcsd_initrc_exec_t,s0)
+/etc/rc\.d/init\.d/trousers -- gen_context(system_u:object_r:tcsd_initrc_exec_t,s0)

/usr/sbin/tcsd -- gen_context(system_u:object_r:tcsd_exec_t,s0)

--
1.7.10.4


2012-09-28 08:47:52

by Laurent Bigonville

[permalink] [raw]
Subject: [refpolicy] [PATCH 2/2] Add Debian location for libvirtd init script

From: Laurent Bigonville <[email protected]>

---
virt.fc | 1 +
1 file changed, 1 insertion(+)

diff --git a/virt.fc b/virt.fc
index 2124b6a..b789844 100644
--- a/virt.fc
+++ b/virt.fc
@@ -6,6 +6,7 @@ HOME_DIR/VirtualMachines/isos(/.*)? gen_context(system_u:object_r:virt_content_t
/etc/libvirt/[^/]* -- gen_context(system_u:object_r:virt_etc_t,s0)
/etc/libvirt/[^/]* -d gen_context(system_u:object_r:virt_etc_rw_t,s0)
/etc/libvirt/.*/.* gen_context(system_u:object_r:virt_etc_rw_t,s0)
+/etc/rc\.d/init\.d/libvirt-bin -- gen_context(system_u:object_r:virtd_initrc_exec_t,s0)
/etc/rc\.d/init\.d/libvirtd -- gen_context(system_u:object_r:virtd_initrc_exec_t,s0)
/etc/xen -d gen_context(system_u:object_r:virt_etc_t,s0)
/etc/xen/[^/]* -- gen_context(system_u:object_r:virt_etc_t,s0)
--
1.7.10.4

2012-09-28 11:15:07

by dominick.grift

[permalink] [raw]
Subject: [refpolicy] [PATCH 1/2] Add Debian location for tcsd init script

Applied, thanks

On Fri, Sep 28, 2012 at 10:47 AM, Laurent Bigonville <[email protected]>wrote:

> From: Laurent Bigonville <[email protected]>
>
> ---
> tcsd.fc | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tcsd.fc b/tcsd.fc
> index e59fd73..a38b954 100644
> --- a/tcsd.fc
> +++ b/tcsd.fc
> @@ -1,4 +1,5 @@
> /etc/rc\.d/init\.d/tcsd --
> gen_context(system_u:object_r:tcsd_initrc_exec_t,s0)
> +/etc/rc\.d/init\.d/trousers --
> gen_context(system_u:object_r:tcsd_initrc_exec_t,s0)
>
> /usr/sbin/tcsd -- gen_context(system_u:object_r:tcsd_exec_t,s0)
>
> --
> 1.7.10.4
>
> _______________________________________________
> refpolicy mailing list
> refpolicy at oss.tresys.com
> http://oss.tresys.com/mailman/listinfo/refpolicy
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.tresys.com/pipermail/refpolicy/attachments/20120928/19dcbff3/attachment.html

2012-09-28 11:15:53

by dominick.grift

[permalink] [raw]
Subject: [refpolicy] [PATCH 2/2] Add Debian location for libvirtd init script

Applied, thanks

On Fri, Sep 28, 2012 at 10:47 AM, Laurent Bigonville <[email protected]>wrote:

> From: Laurent Bigonville <[email protected]>
>
> ---
> virt.fc | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/virt.fc b/virt.fc
> index 2124b6a..b789844 100644
> --- a/virt.fc
> +++ b/virt.fc
> @@ -6,6 +6,7 @@ HOME_DIR/VirtualMachines/isos(/.*)?
> gen_context(system_u:object_r:virt_content_t
> /etc/libvirt/[^/]* --
> gen_context(system_u:object_r:virt_etc_t,s0)
> /etc/libvirt/[^/]* -d
> gen_context(system_u:object_r:virt_etc_rw_t,s0)
> /etc/libvirt/.*/.*
> gen_context(system_u:object_r:virt_etc_rw_t,s0)
> +/etc/rc\.d/init\.d/libvirt-bin --
> gen_context(system_u:object_r:virtd_initrc_exec_t,s0)
> /etc/rc\.d/init\.d/libvirtd --
> gen_context(system_u:object_r:virtd_initrc_exec_t,s0)
> /etc/xen -d
> gen_context(system_u:object_r:virt_etc_t,s0)
> /etc/xen/[^/]* --
> gen_context(system_u:object_r:virt_etc_t,s0)
> --
> 1.7.10.4
>
> _______________________________________________
> refpolicy mailing list
> refpolicy at oss.tresys.com
> http://oss.tresys.com/mailman/listinfo/refpolicy
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.tresys.com/pipermail/refpolicy/attachments/20120928/9e652db9/attachment.html