Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: After latest SELinux updates on Fedora 11 I am getting constantly messages in the syslog: Feb 7 16:00:37 ls2ka setroubleshoot: SELinux is preventing spamd (spamd_t) "getattr" cdcc_exec_t. For complete SELinux messages. run sealert -l ebd6d331-0049-4af3-86ae-bf15e98b2a1f Feb 7 16:00:37 ls2ka setroubleshoot: SELinux is preventing cdcc (spamd_t) "execute" cdcc_exec_t. For complete SELinux messages. run sealert -l 2a632908-8572-4c2d-9f06-a9791c8d0d32 Feb 7 16:00:38 ls2ka setroubleshoot: SELinux is preventing cdcc (spamd_t) "execute" cdcc_exec_t. For complete SELinux messages. run sealert -l 2a632908-8572-4c2d-9f06-a9791c8d0d32 Feb 7 16:00:38 ls2ka setroubleshoot: SELinux is preventing cdcc (spamd_t) "execute" cdcc_exec_t. For complete SELinux messages. run sealert -l 2a632908-8572-4c2d-9f06-a9791c8d0d32 Feb 7 16:00:39 ls2ka setroubleshoot: SELinux is preventing cdcc (spamd_t) "read write" dcc_client_map_t. For complete SELinux messages. run sealert -l 5f32d8ca-1269-4329-aa17-ec3c7f221e39 Feb 7 16:00:39 ls2ka setroubleshoot: SELinux is preventing cdcc (spamd_t) "read write" dcc_client_map_t. For complete SELinux messages. run sealert -l 5f32d8ca-1269-4329-aa17-ec3c7f221e39 Feb 7 16:00:39 ls2ka setroubleshoot: SELinux is preventing cdcc (spamd_t) "getattr" dcc_client_map_t. For complete SELinux messages. run sealert -l 604c3c80-f462-4adf-97ca-7bf1eaa88fbd Feb 7 16:00:40 ls2ka setroubleshoot: SELinux is preventing cdcc (spamd_t) "lock" dcc_client_map_t. For complete SELinux messages. run sealert -l cab17498-d6c9-4ca3-890f-a7977749d511 Version-Release number of selected component (if applicable): selinux-policy-targeted-3.6.12-94.fc11.noarch libselinux-2.0.80-1.fc11.i586 libselinux-utils-2.0.80-1.fc11.i586 selinux-policy-3.6.12-94.fc11.noarch libselinux-python-2.0.80-1.fc11.i586 How reproducible: With every incoming message processed by spamassassin. Steps to Reproduce: 1. Enable spamassassin on incoming messages 2. Install and enable DCC in spamassassin 3. Receive messages and observe Actual results: SELinux is preventing spamd to execute several cdcc operations. Expected results: SELinux not to prevent cdcc Additional info:
Created attachment 395356 [details] sealert -l messages for cdcc denials
Cloned from bug #562584 because that bug was for F12. Fedora 11 RPM was never delivered. We need this to be solved for F11 as well.
Fixed in selinux-policy-3.6.12-95.fc11. selinux-policy-3.6.12-95.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/selinux-policy-3.6.12-95.fc11 The release is still pending. You can download it from Koji for now. http://koji.fedoraproject.org/koji/buildinfo?buildID=157461
Testing it now. It seems to almost have solved the issue but I still see a cdcc message: Feb 22 09:54:59 ls2ka setroubleshoot: SELinux is preventing cdcc (cdcc_t) "setgid" cdcc_t. For complete SELinux messages. run sealert -l 9ff2c0d6-eef8-4d0c-b263-ae2f394c2ed0 Summary: SELinux is preventing cdcc (cdcc_t) "setgid" cdcc_t. Detailed Description: [SELinux is in permissive mode, the operation would have been denied but was permitted due to permissive mode.] SELinux denied access requested by cdcc. It is not expected that this access is required by cdcc 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) Or you can disable SELinux protection altogether. Disabling SELinux protection is not recommended. Please file a bug report (http://bugzilla.redhat.com/bugzilla/enter_bug.cgi) against this package. Additional Information: Source Context system_u:system_r:cdcc_t:s0 Target Context system_u:system_r:cdcc_t:s0 Target Objects None [ capability ] Source cdcc Source Path /usr/bin/cdcc Port <Unknown> Host ls2ka.elton-intra.net Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.6.12-95.fc11 Selinux Enabled True Policy Type targeted MLS Enabled True Enforcing Mode Permissive Plugin Name catchall Host Name ls2ka.elton-intra.net Platform Linux ls2ka.elton-intra.net 2.6.30.10-105.2.16.fc11.i686.PAE #1 SMP Thu Feb 4 15:55:59 UTC 2010 i686 i686 Alert Count 1 First Seen Mon Feb 22 09:54:57 2010 Last Seen Mon Feb 22 09:54:57 2010 Local ID 9ff2c0d6-eef8-4d0c-b263-ae2f394c2ed0 Line Numbers Raw Audit Messages node=ls2ka.elton-intra.net type=AVC msg=audit(1266828897.899:13351): avc: denied { setgid } for pid=9754 comm="cdcc" capability=6 scontext=system_u:system_r:cdcc_t:s0 tcontext=system_u:system_r:cdcc_t:s0 tclass=capability node=ls2ka.elton-intra.net type=SYSCALL msg=audit(1266828897.899:13351): arch=40000003 syscall=210 success=yes exit=0 a0=ffffffff a1=0 a2=ffffffff a3=0 items=0 ppid=344 pid=9754 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=491 fsgid=0 tty=(none) ses=552 comm="cdcc" exe="/usr/bin/cdcc" subj=system_u:system_r:cdcc_t:s0 key=(null)
Ok, I will add it.
Fixed in selinux-policy-3.6.12-96.fc11
selinux-policy-3.6.12-96.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/selinux-policy-3.6.12-96.fc11
selinux-policy-3.6.12-96.fc11 has been pushed to the Fedora 11 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/selinux-policy-3.6.12-96.fc11
Okay, it is solved now. Thank you. Eddie.
selinux-policy-3.6.12-96.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.