Bug 1096542 - Add policy for min-cloud-agent (matching min-metadata-service)
Summary: Add policy for min-cloud-agent (matching min-metadata-service)
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1100977
TreeView+ depends on / blocked
 
Reported: 2014-05-11 21:46 UTC by Colin Walters
Modified: 2014-05-24 21:10 UTC (History)
4 users (show)

Fixed In Version: selinux-policy-3.13.1-52.fc21
Clone Of:
: 1100977 (view as bug list)
Environment:
Last Closed: 2014-05-12 08:38:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Colin Walters 2014-05-11 21:46:39 UTC
Hi, I renamed min-metadata-service -> min-cloud-agent.  Can we update the policy?  I think it's OK to just delete the old policy as no release shipped min-metadata-service.

Comment 1 Miroslav Grepl 2014-05-12 08:38:34 UTC
diff --git a/cloudform.fc b/cloudform.fc
index d0501e3..ab279d9 100644
--- a/cloudform.fc
+++ b/cloudform.fc
@@ -2,6 +2,7 @@
 
 /usr/bin/cloud-init     --      gen_context(system_u:object_r:cloud_init_exec_t,s0)
 /usr/libexec/min-metadata-service     --      gen_context(system_u:object_r:cloud_init_exec_t,s0)
+/usr/libexec/min-cloud-agent    --  gen_context(system_u:object_r:cloud_init_exec_t,s0)


is a path OK?

Comment 2 Colin Walters 2014-05-12 11:26:28 UTC
Yep, can you also add /var/lib/min-cloud-agent as cloud_var_lib_t ?  Thanks!

Comment 3 Miroslav Grepl 2014-05-12 11:33:26 UTC
Added.


Note You need to log in before you can comment on or make changes to this bug.