libreport version: 2.0.10 executable: /usr/bin/python2.7 hashmarkername: setroubleshoot kernel: 3.5.0-0.rc1.git0.1.fc18.x86_64 time: lun. 04 juin 2012 19:25:52 CEST description: :SELinux is preventing /usr/bin/perl from 'open' accesses on the chr_file /dev/urandom. : :***** Plugin restorecon (99.5 confidence) suggests ************************* : :If you want to fix the label. :/dev/urandom default label should be urandom_device_t. :Then you can run restorecon. :Do :# /sbin/restorecon -v /dev/urandom : :***** Plugin catchall (1.49 confidence) suggests *************************** : :If you believe that perl should be allowed open access on the urandom chr_file by default. :Then you should report this as a bug. :You can generate a local policy module to allow this access. :Do :allow this access for now by executing: :# grep ddclient /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:ddclient_t:s0 :Target Context system_u:object_r:default_t:s0 :Target Objects /dev/urandom [ chr_file ] :Source ddclient :Source Path /usr/bin/perl :Port <Inconnu> :Host (removed) :Source RPM Packages perl-5.14.2-217.fc18.x86_64 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-128.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Permissive :Host Name (removed) :Platform Linux (removed) 3.5.0-0.rc1.git0.1.fc18.x86_64 #1 : SMP Sun Jun 3 14:07:54 UTC 2012 x86_64 x86_64 :Alert Count 1 :First Seen lun. 04 juin 2012 19:17:40 CEST :Last Seen lun. 04 juin 2012 19:17:40 CEST :Local ID 5731264b-bd7e-47cc-9a53-ffff328f9d19 : :Raw Audit Messages :type=AVC msg=audit(1338830260.627:155): avc: denied { open } for pid=933 comm="ddclient" path="/dev/urandom" dev="devtmpfs" ino=1038 scontext=system_u:system_r:ddclient_t:s0 tcontext=system_u:object_r:default_t:s0 tclass=chr_file : : :type=SYSCALL msg=audit(1338830260.627:155): arch=x86_64 syscall=open success=yes exit=ESRCH a0=363754dc22 a1=0 a2=50 a3=0 items=0 ppid=1 pid=933 auid=4294967295 uid=474 gid=468 euid=474 suid=474 fsuid=474 egid=468 sgid=468 fsgid=468 tty=(none) ses=4294967295 comm=ddclient exe=/usr/bin/perl subj=system_u:system_r:ddclient_t:s0 key=(null) : :Hash: ddclient,ddclient_t,default_t,chr_file,open : :audit2allow : :#============= ddclient_t ============== :allow ddclient_t default_t:chr_file open; : :audit2allow -R : :#============= ddclient_t ============== :allow ddclient_t default_t:chr_file open; :
Duplicate of 828375