Bug 116841 - autofs does not work quite right in enforcing mode
autofs does not work quite right in enforcing mode
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: kernel (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: James Morris
:
Depends On:
Blocks: FC2Blocker
  Show dependency treegraph
 
Reported: 2004-02-25 12:37 EST by Bill Nottingham
Modified: 2014-03-16 22:42 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-04-05 16:19:32 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Bill Nottingham 2004-02-25 12:37:20 EST
Description of problem:

autofs prints failure, but manages to mount the filesystem

Version-Release number of selected component (if applicable):

policy-1.6-6

How reproducible:

Every time

Steps to Reproduce:
1. cd to some autofs-mounted dir
  
Actual results:

avc: denied { read write } for pid=20425 exe=/bin/mount
path=socket:[28123] dev= ino=21823 scontext=system_u:system_r:mount_t
tcontext=system_u:system_r:automount_t tclass=tcp_socket

avc: denied { write } for pid=14897 exe=/bin/bash laddr=172.16.56.125
lport=799 faddr=192.168.10.8 fport=2049
scontext=root:sysadm_r:sysadm_t tcontext=system_u:system_r:mount_t
tclass=tcp_socket

RPC: sendmsg returned error 13
nfs: RPC call returned error 13
-bash: cd: /mnt/redhat/test: Permission denied

Yet, /mnt/redhat is mounted.

Expected results:

Considerably fewer errors.

Additional info:
Comment 1 Daniel Walsh 2004-02-26 16:10:47 EST
According to Stephen Tweedie this looks like a kernel problem.

Dan
Comment 2 James Morris 2004-04-05 15:57:04 EDT
AFAIK, this shold be fixed.  Is this still a problem?
Comment 3 Bill Nottingham 2004-04-05 16:19:32 EDT
Yeah, it works now.

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