Fedora 21, unable to add new file context

Mark Montague mark at catseye.org
Mon Mar 9 23:16:26 UTC 2015


On 2015-03-09 10:33, Miroslav Grepl wrote:
> On 03/07/2015 08:50 PM, Mark Montague wrote:
>> [root at ice ~]# semanage fcontext -a -t phpfcgi_exec_t 
>> /usr/sbin/php-fpm  # this works fine
>> [root at ice ~]# semanage fcontext -a -t phpfcgi_var_run_t 
>> "/var/run/php-fpm(/.*)?"  # fails
>> libsemanage.dbase_llist_query: could not query record value (No such 
>> file or directory).
>> OSError: No such file or directory
>> [root at ice ~]# semanage fcontext -a -t phpfcgi_var_run_t 
>> "/var/run/php-fpm"  # but this works
>> [root at ice ~]#
>>
>> Does anyone have any idea why the first and third commands above 
>> work, but the second one no longer works under Fedora 21?
> Could you please open a new bug against libsemanage for now?

Thanks!  I've created a minimal test case and submitted this as Bugzilla 
1200181:

https://bugzilla.redhat.com/show_bug.cgi?id=1200181


-- 
   Mark Montague
   mark at catseye.org



More information about the selinux mailing list