Examine the sequence:
sealed -I dda34207-61fd-4de2-831d-039c79270864 SELinux is preventing /usr/sbin/httpd from read access on the file/var/www/manual/new_features_2_2.html.
***** Plugin restorecon (85.9 confidence) suggests *****
If you want to fix the label.
/var/www/manual/new_features_2_2.html default label should be httpd_sys_content_t.
Then you can run restorecon.
Do
/sbin/restorecon -v /var/www/manual/new_features_2_2.html ***** Plugin catchall_boolen (7.33 confidence) suggests *****
If you want to allow httpd to read user content ^
Then you must tell SELinux about this by enabling the ‘httpd_read_user_content’ boolean. You can read ‘user_selinux’ man page for more details. Do
setsebool -P httpd_read_user_content 1
What action must you take for fix this problem?
A.
Relabel the file in question by using therestoreconcommand.
B.
Allowhttpdto read user content by using thesetseboolcommand.
C.
Allowhttpdto read home directories by using thesetseboolcommand.
D.
Repod a bug.
E.
Generate a local policy by using theaudit2allowcommand.
not sure but C should be correct
A
I think both A and B is mandatory but A is more correct
Sorry should be B because A restorecon is not command to use to relabel.
B