File context for /var/opt/quest/vas/vasd(/.*)? is defined in policy, cannot be deleted

Jayson Hurst swazup at hotmail.com
Tue Feb 11 01:42:27 UTC 2014


I am trying to create a policy for vasd but I cannot set my own fcontext for /var/opt/quest/vas/vasd(/.*)? because I get the following error:

/etc/selinux/targeted/contexts/files/file_contexts: Multiple different specifications for /var/opt/quest/vas/vasd(/.*)?  (system_u:object_r:qasd_var_auth_t:s0 and system_u:object_r:var_auth_t:s0)

When I attempt to delete the file context I get:

$ semanage fcontext -d "/var/opt/quest/vas/vasd(/.*)?"
/usr/sbin/semanage: File context for /var/opt/quest/vas/vasd(/.*)? is defined in policy, cannot be deleted

I don't know who or what has already installed this file context, but I am not able to work around it and it is causing problems with my module who is the true owner of the file directory in question.

Is there was way to find out how this file context was created and by what? Also how do I remove it so I can define the directories file context correctly?
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/selinux/attachments/20140210/4929173f/attachment.html>


More information about the selinux mailing list