Bug 756689 - mailman AVC on /dev/urandom
Summary: mailman AVC on /dev/urandom
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-24 09:49 UTC by Jan "Yenya" Kasprzak
Modified: 2011-12-06 01:05 UTC (History)
1 user (show)

Fixed In Version: selinux-policy-3.10.0-64.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-06 01:05:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jan "Yenya" Kasprzak 2011-11-24 09:49:18 UTC
Description of problem:
After upgrade F14->F16, my system logs the following AVC:

[ 1989.875499] type=1400 audit(1322126852.599:81): avc:  denied  { read } for  pid=1825 comm="python" name="urandom" dev=devtmpfs ino=1033 scontext=system_u:system_r:mailman_mail_t:s0 tcontext=system_u:object_r:urandom_device_t:s0 tclass=chr_file

which audit2allow transforms as

allow mailman_mail_t urandom_device_t:chr_file read;

I think the new python seeds its RNG from /dev/urandom.

Version-Release number of selected component (if applicable):
mailman-2.1.14-9.fc16.x86_64
selinux-policy-targeted-3.10.0-56.fc16.noarch

Additional info:
Note that I have upgraded F14->F16 using yum as described here:
http://fedoraproject.org/wiki/Upgrading_Fedora_using_yum
I have then relabeled the filesystem using "restorecon -R /" and rebooted.
I might have done something wrong - in that case I apologize for for the noise.

Comment 1 Miroslav Grepl 2011-11-28 12:41:17 UTC
Fixed in selinux-policy-targeted-3.10.0-62.fc16.

Comment 2 Jan "Yenya" Kasprzak 2011-11-29 09:00:20 UTC
Works for me, thanks!

Comment 3 Fedora Update System 2011-12-02 13:15:44 UTC
selinux-policy-3.10.0-64.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-64.fc16

Comment 4 Fedora Update System 2011-12-04 02:31:46 UTC
Package selinux-policy-3.10.0-64.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.10.0-64.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-16698/selinux-policy-3.10.0-64.fc16
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2011-12-06 01:05:30 UTC
selinux-policy-3.10.0-64.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.


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