Bug 166147 - nfs client fails when selinux is enabled for,1420
nfs client fails when selinux is enabled for,1420
Product: Fedora
Classification: Fedora
Component: kernel (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Dave Jones
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2005-08-17 09:40 EDT by Karl DeBisschop
Modified: 2015-01-04 17:21 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-11-05 03:15:48 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Karl DeBisschop 2005-08-17 09:40:38 EDT
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):
kernel-2.6.12-1.1411, kernel-2.6.12-1.1420

How reproducible:

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

Additional info:
Comment 2 Daniel Walsh 2005-09-01 14:29:24 EDT
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
Comment 3 Dave Jones 2005-09-30 03:00:17 EDT
Mass update to all FC4 bugs:

An update has been released (2.6.13-1.1526_FC4) which rebases to a new upstream
kernel ( 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.

Comment 4 Karl DeBisschop 2005-10-21 10:11:42 EDT
Fixed (testing with 2.6.13-1.1524_FC4)


Note You need to log in before you can comment on or make changes to this bug.