📖 ~1 min read
Table of contents
Symptom & Impact
Confined user blocked by AVC denial on shared mount on CentOS Stream 10 disrupts services and slows incident response until the root cause is resolved.
Environment & Reproduction
Mapped staff_u user cannot write to NFS-backed home due to SELinux booleans.
id -Z
ls -lZ /home/
getsebool -a | grep nfs
Root Cause Analysis
Misalignment between selinux configuration and CentOS Stream 10 defaults causes the failure path described above.
Quick Triage
Confirm package state, service status, and recent changes before deeper diagnostics.
systemctl status
rpm -qa | grep -i
journalctl -p err -b --no-pager | tail -100
Step-by-Step Diagnosis
Capture detailed logs, configuration deltas, and runtime state to isolate the failing component.
ausearch -m AVC -ts recent
sealert -a /var/log/audit/audit.log

Solution – Primary Fix
Apply the targeted configuration change and restart the relevant services to restore expected behavior.
Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.
sudo setsebool -P use_nfs_home_dirs on
sudo restorecon -Rv /home/
sudo semanage fcontext -a -t user_home_t '/home/(/.*)?'

Solution – Alternative Approaches
Map user to unconfined_u during migration if policy refinement is risky.
Verification & Acceptance Criteria
Validate the fix with deterministic checks and ensure no regressions in dependent services.
ausearch -m AVC -ts recent | wc -l
touch /home//test
Rollback Plan
Revert configuration and restart services to return to the previous known-good state.
setsebool -P use_nfs_home_dirs off
semanage login -d
Prevention & Hardening
Audit SELinux booleans in compliance scans and document home-dir mounts.
Related Errors & Cross-Refs
Related: AVC, sealert, semanage; see also adjacent topics in the CentOS Stream 10 common problems series.
Related tutorial: View the step-by-step tutorial for centos-stream-10.
View all centos-stream-10 tutorials on the Tutorials Hub →
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
CentOS Stream documentation, Red Hat upstream guides, and CentOS Stream 10 release notes covering this subsystem.
Need Expert Help?
If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today — we respond within one business day.