Summary: SELinux is preventing /usr/sbin/uucico "write" access on /var/lock/uucp. Detailed Description: [SELinux is in permissive mode. This access was not denied.] SELinux denied access requested by uucico. It is not expected that this access is required by uucico 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://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug report. Additional Information: Source Context system_u:system_r:qmail_local_t:s0 Target Context system_u:object_r:uucpd_lock_t:s0 Target Objects /var/lock/uucp [ dir ] Source uucico Source Path uucico Port <Unknown> Host (removed) Source RPM Packages uucp-1.07-20.fc12 Target RPM Packages uucp-1.07-20.fc12 Policy RPM selinux-policy-3.6.32-118.fc12 Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Plugin Name catchall Host Name (removed) Platform Linux (removed) 2.6.32.11-99.fc12.x86_64 #1 SMP Mon Apr 5 19:59:38 UTC 2010 x86_64 x86_64 Alert Count 29 First Seen Mon 10 May 2010 08:44:30 AM PDT Last Seen Tue 20 Jul 2010 01:40:15 AM PDT Local ID ba97f6c6-6ce1-4386-9c24-a07b43958d31 Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1279615215.985:129366): avc: denied { write } for pid=7431 comm="uucico" name="uucp" dev=dm-0 ino=1778171 scontext=system_u:system_r:qmail_local_t:s0 tcontext=system_u:object_r:uucpd_lock_t:s0 tclass=dir node=(removed) type=AVC msg=audit(1279615215.985:129366): avc: denied { add_name } for pid=7431 comm="uucico" name="TMP0000001d07" scontext=system_u:system_r:qmail_local_t:s0 tcontext=system_u:object_r:uucpd_lock_t:s0 tclass=dir node=(removed) type=AVC msg=audit(1279615215.985:129366): avc: denied { create } for pid=7431 comm="uucico" name="TMP0000001d07" scontext=system_u:system_r:qmail_local_t:s0 tcontext=system_u:object_r:uucpd_lock_t:s0 tclass=file node=(removed) type=AVC msg=audit(1279615215.985:129366): avc: denied { write open } for pid=7431 comm="uucico" name="TMP0000001d07" dev=dm-0 ino=1777712 scontext=system_u:system_r:qmail_local_t:s0 tcontext=system_u:object_r:uucpd_lock_t:s0 tclass=file node=(removed) type=SYSCALL msg=audit(1279615215.985:129366): arch=c000003e syscall=85 success=yes exit=128 a0=26cf6b0 a1=1a4 a2=0 a3=3b items=0 ppid=1 pid=7431 auid=4294967295 uid=10 gid=501 euid=10 suid=10 fsuid=10 egid=14 sgid=14 fsgid=14 tty=(none) ses=4294967295 comm="uucico" exe="/usr/sbin/uucico" subj=system_u:system_r:qmail_local_t:s0 key=(null) Hash String generated from catchall,uucico,qmail_local_t,uucpd_lock_t,dir,write audit2allow suggests: #============= qmail_local_t ============== #!!!! The source type 'qmail_local_t' can write to a 'dir' of the following types: # user_home_t, qmail_alias_home_t, dovecot_spool_t, user_home_dir_t, mail_spool_t, nfs_t allow qmail_local_t uucpd_lock_t:dir { write add_name }; #!!!! The source type 'qmail_local_t' can write to a 'file' of the following types: # user_home_t, qmail_alias_home_t, dovecot_spool_t, mail_spool_t, nfs_t allow qmail_local_t uucpd_lock_t:file { write create open };
This is an ordinary use of uucico.
This looks like we have to add optional_policy(` uucp_domtrans(qmail_local_t) ') ######################################## ## <summary> ## Execute the uucico program in the ## uucpd_t domain. ## </summary> ## <param name="domain"> ## <summary> ## Domain allowed to transition. ## </summary> ## </param> # interface(`uucp_domtrans',` gen_require(` type uucpd_t, uucpd_exec_t; ') domtrans_pattern($1, uucpd_exec_t, uucpd_t) ')
Fixed in selinux-policy-3.7.19-53.fc13
Fixed in selinux-policy-3.6.32-122.fc12.
selinux-policy-3.6.32-123.fc12 has been submitted as an update for Fedora 12. https://admin.fedoraproject.org/updates/selinux-policy-3.6.32-123.fc12
selinux-policy-3.6.32-123.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: https://admin.fedoraproject.org/updates/selinux-policy-3.6.32-123.fc12
selinux-policy-3.6.32-123.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.