Bug 232643 - AVC on bootup: read access to /dev/random?
AVC on bootup: read access to /dev/random?
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Daniel Walsh
Ben Levenson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-16 10:30 EDT by Tom London
Modified: 2007-11-30 17:11 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-03-28 10:36:50 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 Tom London 2007-03-16 10:30:41 EDT
Description of problem:

type=AVC msg=audit(1174054492.520:9): avc:  denied  { read } for  pid=2525
comm="automount" name="random" dev=tmpfs ino=3098
scontext=system_u:system_r:automount_t:s0
tcontext=system_u:object_r:random_device_t:s0 tclass=chr_file
type=SYSCALL msg=audit(1174054492.520:9): arch=40000003 syscall=5 success=no
exit=-13 a0=2ff243 a1=0 a2=2f7730 a3=812ac280 items=0 ppid=2524 pid=2525
auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0
tty=(none) comm="automount" exe="/usr/sbin/automount"
subj=system_u:system_r:automount_t:s0 key=(null)
type=AVC msg=audit(1174054492.520:10): avc:  denied  { read } for  pid=2530
comm="automount" name="random" dev=tmpfs ino=3098
scontext=system_u:system_r:automount_t:s0
tcontext=system_u:object_r:random_device_t:s0 tclass=chr_file
type=SYSCALL msg=audit(1174054492.520:10): arch=40000003 syscall=5 success=no
exit=-13 a0=dd6243 a1=0 a2=dce730 a3=812ac808 items=0 ppid=2524 pid=2530
auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0
tty=(none) comm="automount" exe="/usr/sbin/automount"
subj=system_u:system_r:automount_t:s0 key=(null)

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



How reproducible:
every time

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
Comment 1 Jeffrey Moyer 2007-03-16 10:38:45 EDT
Dan,

Autofs has an option for supporting a random multimount selection scheme. 
Because of this, we seed the random function with /dev/random at daemon startup.
 So, can you modify the policy accordingly?  Should this be reassigned to policy?
Comment 2 Daniel Walsh 2007-03-19 16:21:17 EDT
Fixed in selinux-policy-2.5.8-8.fc7

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