Hide Forgot
SELinux is preventing /usr/bin/aria2c from 'read' accesses on the chr_file random. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that aria2c should be allowed read access on the random 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 aria2c /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:abrt_t:s0-s0:c0.c1023 Target Context system_u:object_r:random_device_t:s0 Target Objects random [ chr_file ] Source aria2c Source Path /usr/bin/aria2c Port <Unknown> Host (removed) Source RPM Packages aria2-1.9.4-1.fc14 Target RPM Packages Policy RPM selinux-policy-3.9.7-40.fc14 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.35.13-92.fc14.x86_64 #1 SMP Sat May 21 17:26:25 UTC 2011 x86_64 x86_64 Alert Count 1 First Seen Thu 16 Jun 2011 03:50:54 PM ART Last Seen Thu 16 Jun 2011 03:50:54 PM ART Local ID d4ae2041-bbc7-4c75-adb9-cfbacba15743 Raw Audit Messages type=AVC msg=audit(1308250254.934:34565): avc: denied { read } for pid=5102 comm="aria2c" name="random" dev=devtmpfs ino=4082 scontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tcontext=system_u:object_r:random_device_t:s0 tclass=chr_file type=SYSCALL msg=audit(1308250254.934:34565): arch=x86_64 syscall=access success=no exit=EACCES a0=32e8066548 a1=4 a2=0 a3=0 items=0 ppid=5093 pid=5102 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=aria2c exe=/usr/bin/aria2c subj=system_u:system_r:abrt_t:s0-s0:c0.c1023 key=(null) Hash: aria2c,abrt_t,random_device_t,chr_file,read audit2allow #============= abrt_t ============== allow abrt_t random_device_t:chr_file read; audit2allow -R #============= abrt_t ============== allow abrt_t random_device_t:chr_file read;
This is very likely caused by the yum-fast-downloader plugin being installed on my system. Apparently, the abrt policy, when attempting to download the debug rpms via yum, does not play well with aria2c used by yum-fast-downloader. Possibly the new option to send the traceback to a debug server would alleviate this in F15 but this is not available in F14.
I dont have this aria2c app installed on my system so i guess abrt does not depends on it atleast in rawhide. Nonetheless i added this to master branch: http://git.fedorahosted.org/git/?p=selinux-policy.git;a=commitdiff;h=9ca17b9f3c9bfa05b8057d0a73870a693cec8d82
Thanks. It is a url downloader like wget but can take advantage of parallel downloads and torrent files. So it opens up possibilities for yum. Aria2c is in the regular repos but I don't think yum-fast-download is yet.
I guess the question is why does Aria2c use /dev/rand versus /dev/urand?
I can see a low quality random source being sufficient for load-balancing mirrors but according to http://aria2.sourceforge.net/ , Aria2c does support bittorrent encryption. Do other torrent clients need high quality random sources for this support?