Red Hat Bugzilla – Bug 166147
nfs client fails when selinux is enabled for 18.104.22.1681,1420
Last modified: 2015-01-04 17:21:35 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
Description of problem:
when running SElinux targetted mode, I get the following error trying to mount my home directory via NFS (the directory is normally automounted via autofs, using NIS-provided maps, but the same error occurs when manually mounting):
kernel: RPC: error 5 connecting to server needli07.infoplease.com
(needli07 is RHEL 3 with all the latest patches and updates)
When I boot the client into into kernel-2.6.12-1.1398 the nfs mount works fine. Also, when I enter SELINUX=disabled into /etc/sysconfig/selinux and reboot, the newer kernels work fine.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.boot machine into newer kernel with selinux enabled
2.try to mount anything via nfs
Actual Results: mount fails
Expected Results: mount should succeed
Are you seeing avc messages?
What is the state of NFS booleans
getsebool -a | grep nfs
nfs_export_all_ro --> active
nfs_export_all_rw --> active
nfsd_disable_trans --> inactive
use_nfs_home_dirs --> inactive
Mass update to all FC4 bugs:
An update has been released (2.6.13-1.1526_FC4) which rebases to a new upstream
kernel (22.214.171.124). As there were ~3500 changes upstream between this and the
previous kernel, it's possible your bug has been fixed already.
Please retest with this update, and update this bug if necessary.
Fixed (testing with 2.6.13-1.1524_FC4)