Bug 435793 - AVC denial on mount of read-only NFS
AVC denial on mount of read-only NFS
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
8
All Linux
low Severity low
: ---
: ---
Assigned To: Daniel Walsh
Fedora Extras Quality Assurance
: Reopened
Depends On:
Blocks: K12LTSP
  Show dependency treegraph
 
Reported: 2008-03-03 17:27 EST by Warren Togami
Modified: 2008-03-19 14:33 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-03-19 14:33:38 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)
selinux_alert.txt (2.32 KB, text/plain)
2008-03-03 17:27 EST, Warren Togami
no flags Details

  None (edit)
Description Warren Togami 2008-03-03 17:27:11 EST
selinux-policy-3.0.8-87.fc8

/etc/exports:
/opt/ltsp *(ro,async)

mkdir /mnt/temp
mount -t nfs -o ro 127.0.0.1:/opt/ltsp/i386 /mnt/temp

host=newcaprica.boston.redhat.com type=AVC msg=audit(1204530354.521:30): avc:
denied { write } for pid=2457 comm="rpc.mountd" name="control" dev=tmpfs ino=259
scontext=system_u:system_r:nfsd_t:s0 tcontext=system_u:object_r:lvm_control_t:s0
tclass=chr_file

Mount succeeds and works fine for read-only access.

Full alert text attached below.
Comment 1 Warren Togami 2008-03-03 17:27:11 EST
Created attachment 296685 [details]
selinux_alert.txt
Comment 2 Daniel Walsh 2008-03-04 15:20:30 EST
Fixed in selinux-policy-3.3.1-10.fc9
Comment 3 Warren Togami 2008-03-04 16:43:41 EST
What exactly did you do?
Could you do the same thing for F-8 selinux-policy too?
Comment 4 Daniel Walsh 2008-03-04 17:03:21 EST
I allowed rpc.mountd to write to the lvm_control chr_file.

Fixed in selinux-policy-3.0.8-91.fc8

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