Bug 552373 - SELinux is preventing /bin/mailx "ioctl" access on /var/run/packagekit-cron.gaSknB.
Summary: SELinux is preventing /bin/mailx "ioctl" access on /var/run/packagekit-cron.g...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:ab734278247...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-01-04 20:30 UTC by joshua
Modified: 2010-01-08 20:13 UTC (History)
2 users (show)

Fixed In Version: 3.6.32-66.fc12
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-01-08 20:13:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description joshua 2010-01-04 20:30:58 UTC
Summary:

SELinux is preventing /bin/mailx "ioctl" access on
/var/run/packagekit-cron.gaSknB.

Detailed Description:

[SELinux is in permissive mode. This access was not denied.]

SELinux denied access requested by mail. It is not expected that this access is
required by mail and this access may signal an intrusion attempt. It is also
possible that the specific version or configuration of the application is
causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                system_u:system_r:system_mail_t:s0-s0:c0.c1023
Target Context                system_u:object_r:var_run_t:s0
Target Objects                /var/run/packagekit-cron.gaSknB [ file ]
Source                        mail
Source Path                   /bin/mailx
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           mailx-12.4-3.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-59.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.31.6-166.fc12.x86_64 #1 SMP Wed Dec 9 10:46:22
                              EST 2009 x86_64 x86_64
Alert Count                   1
First Seen                    Fri 25 Dec 2009 05:59:12 AM EST
Last Seen                     Fri 25 Dec 2009 05:59:12 AM EST
Local ID                      ae210ac1-edfc-401a-8133-47092c5485eb
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1261738752.176:46157): avc:  denied  { ioctl } for  pid=21443 comm="mail" path="/var/run/packagekit-cron.gaSknB" dev=dm-4 ino=136216 scontext=system_u:system_r:system_mail_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_run_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1261738752.176:46157): arch=c000003e syscall=16 success=no exit=-25 a0=0 a1=5401 a2=7fff25b9fd40 a3=8 items=0 ppid=13138 pid=21443 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=309 comm="mail" exe="/bin/mailx" subj=system_u:system_r:system_mail_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  selinux-policy-3.6.32-59.fc12,catchall,mail,system_mail_t,var_run_t,file,ioctl
audit2allow suggests:
audit2allow is not installed.

Comment 1 Daniel Walsh 2010-01-04 21:01:50 UTC
Answered in a nother bug report

Fixed in selinux-policy-3.6.32-66.fc12.noarch

Comment 2 Fedora Update System 2010-01-04 21:56:39 UTC
selinux-policy-3.6.32-66.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-66.fc12

Comment 3 Fedora Update System 2010-01-05 22:52:47 UTC
selinux-policy-3.6.32-66.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update selinux-policy'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-0184

Comment 4 Fedora Update System 2010-01-08 20:07:32 UTC
selinux-policy-3.6.32-66.fc12 has been pushed to the Fedora 12 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.