Removing obsolete selinux setup

Pete Stieber pstieber at gmail.com
Sun Jan 18 21:58:00 UTC 2015


I received an answer that worked on the fedora forums.

1. Edit the file 
/etc/selinux/targeted/modules/active/file_contexts.local and comment/fix 
the wrong contexts.

In my case this meant changing httpd_mediawiki_rw_content_t to 
mediawiki_rw_content_t.  Then I used

# semanage fcontext -a -t httpd_sys_rw_content_t '/etc/dokuwiki'
# semanage fcontext -a -t httpd_sys_rw_content_t 
'/etc/dokuwiki/users.auth.php'
# semanage fcontext -a -t httpd_sys_rw_content_t '/etc/dokuwiki/local.php'
# restorecon -R /etc/dokuwiki

to get the files setup properly.

Seems like the dokuwiki selinux package should be setup to do something 
similar.

Pete


More information about the users mailing list