Bug 211272 - rpc.idmapd does not function after upgrade to kernel-2.6.18-1.2200.fc5
Summary: rpc.idmapd does not function after upgrade to kernel-2.6.18-1.2200.fc5
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted
Version: 5
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-10-18 11:52 UTC by major
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-02-14 15:16:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description major 2006-10-18 11:52:26 UTC
Description of problem:
The system log gives the error "rpc.idmapd[2148]: nfsopen:
open(/var/lib/nfs/rpc_pipefs/nfs/clnt0/idmap): Permission denied".

The problematic audit entries are:

#####
type=AVC msg=audit(1161170267.497:8): avc:  denied  { read write } for  pid=2148
comm="rpc.idmapd" name="idmap" dev=rpc_pipefs ino=1843
scontext=system_u:system_r:rpcd_t:s0 tcontext=system_u:object_r:rpc_pipefs_t:s0
tclass=fifo_file

type=SYSCALL msg=audit(1161170267.497:8): arch=c000003e syscall=2 success=no
exit=-13 a0=55555566a178 a1=2 a2=0 a3=7fff204a9cb0 items=0 ppid=1 pid=2148
auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0
tty=(none) comm="rpc.idmapd" exe="/usr/sbin/rpc.idmapd"
subj=system_u:system_r:rpcd_t:s0 key=(null)

#####

The referenced file, "/var/lib/nfs/rpc_pipefs/nfs/clnt0/idmap", is a named pipe
(fifo) in kernel-2.6.18-1.2200.fc5, but it was a socket in
kernel-2.6.17-1.2187_FC5. I believe the relevant change in the kernel source is
in the function "rpc_mkpipe" in the file
"kernel-2.6.18/linux-2.6.18.x86_64/net/sunrpc/rpc_pipe.c".

Version-Release number of selected component (if applicable):
kernel-2.6.18-1.2200.fc5
nfs-utils-1.0.8-3.fc5

Comment 1 Daniel Walsh 2007-02-14 15:16:34 UTC
All of these bugs should be fixed in FC6,  You could attempt to use the FC6
policy on FC5 or upgrade.  Or you could use 

audit2allow -M mypolicy -i /var/log/audit/audit.log 
and build local customized policy


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