Description of problem:
Selinux error as follows:
***** Plugin catchall (100. confidence) suggests **************************
If you believe that nfs-server-gene should be allowed read access on the export_features file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# ausearch -c 'nfs-server-gene' --raw | audit2allow -M my-nfsservergene
# semodule -X 300 -i my-nfsservergene.pp
Additional Information:
Source Context system_u:system_r:init_t:s0
Target Context system_u:object_r:nfsd_fs_t:s0
Target Objects export_features [ file ]
Source nfs-server-gene
Source Path nfs-server-gene
Port <Unknown>
Host xxxx.private
Source RPM Packages
Target RPM Packages
Policy RPM selinux-policy-3.13.1-191.14.fc24.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name ears.private
Platform Linux xxxx.private 4.6.7-300.fc24.x86_64 #1 SMP
Wed Aug 17 18:48:43 UTC 2016 x86_64 x86_64
Alert Count 4
First Seen 2016-09-03 10:08:17 EDT
Last Seen 2016-09-07 13:00:04 EDT
Local ID 04c6d43f-19b2-4cb9-8488-dc4a2d3c8209
Raw Audit Messages
type=AVC msg=audit(1473267604.570:19510): avc: denied { read } for pid=30357 comm="nfs-server-gene" name="export_features" dev="nfsd" ino=3 scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:nfsd_fs_t:s0 tclass=file permissive=0
Hash: nfs-server-gene,init_t,nfsd_fs_t,file,read
Yes, it would make sense for the new nfs-server-generator to be accessing /proc/fs/nsfd/export_features. I'm not sure whose job it is to fix the policy....
Description of problem: Selinux error as follows: ***** Plugin catchall (100. confidence) suggests ************************** If you believe that nfs-server-gene should be allowed read access on the export_features file by default. Then you should report this as a bug. You can generate a local policy module to allow this access. Do allow this access for now by executing: # ausearch -c 'nfs-server-gene' --raw | audit2allow -M my-nfsservergene # semodule -X 300 -i my-nfsservergene.pp Additional Information: Source Context system_u:system_r:init_t:s0 Target Context system_u:object_r:nfsd_fs_t:s0 Target Objects export_features [ file ] Source nfs-server-gene Source Path nfs-server-gene Port <Unknown> Host xxxx.private Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-191.14.fc24.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name ears.private Platform Linux xxxx.private 4.6.7-300.fc24.x86_64 #1 SMP Wed Aug 17 18:48:43 UTC 2016 x86_64 x86_64 Alert Count 4 First Seen 2016-09-03 10:08:17 EDT Last Seen 2016-09-07 13:00:04 EDT Local ID 04c6d43f-19b2-4cb9-8488-dc4a2d3c8209 Raw Audit Messages type=AVC msg=audit(1473267604.570:19510): avc: denied { read } for pid=30357 comm="nfs-server-gene" name="export_features" dev="nfsd" ino=3 scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:nfsd_fs_t:s0 tclass=file permissive=0 Hash: nfs-server-gene,init_t,nfsd_fs_t,file,read