Science and technology

A sysadmin’s information to SELinux

Jun 14 19:41:07 web1 setroubleshoot: SELinux is stopping httpd from getattr entry on the file /var/www/html/index.html. For full message run: sealert -l 12fd8b04-0119-4077-a710-2d0e0ee5755e

# sealert -l 12fd8b04-0119-4077-a710-2d0e0ee5755e
SELinux is stopping httpd from getattr entry on the file /var/www/html/index.html.

***** Plugin restorecon (99.5 confidence) suggests ************************

If you wish to repair the label,
/var/www/html/index.html default label needs to be httpd_syscontent_t.
Then you may restorecon.
Do
# /sbin/restorecon -v /var/www/html/index.html

Most Popular

breakingExpress.com features the latest multimedia technologies, from live video streaming to audio packages to searchable archives of news features and background information. The site is updated continuously throughout the day.

Copyright © 2017 Breaking Express, Green Media Corporation

To Top