Bug 544994 - SELinux is preventing /usr/sbin/httpd "signal" access.
Summary: SELinux is preventing /usr/sbin/httpd "signal" access.
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:feb222a8588...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-07 09:24 UTC by Tomasz Sałaciński
Modified: 2009-12-16 01:07 UTC (History)
2 users (show)

Fixed In Version: 3.6.32-56.fc12
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-12-16 01:07:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Tomasz Sałaciński 2009-12-07 09:24:38 UTC
Podsumowanie:

SELinux is preventing /usr/sbin/httpd "signal" access.

Szczegółowy opis:

[httpd posiada typ zezwalania (httpd_t). Ten dostęp nie został odmówiony.]

SELinux denied access requested by httpd. It is not expected that this access is
required by httpd 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.

Zezwalanie na dostęp:

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.

Dodatkowe informacje:

Kontekst źródłowy          unconfined_u:system_r:httpd_t:s0
Kontekst docelowy             unconfined_u:system_r:system_mail_t:s0
Obiekty docelowe              None [ process ]
Źródło                     httpd
Ścieżka źródłowa         /usr/sbin/httpd
Port                          <Nieznane>
Komputer                      (removed)
Źródłowe pakiety RPM       httpd-2.2.13-4.fc12
Docelowe pakiety RPM          
Pakiet RPM polityki           selinux-policy-3.6.32-49.fc12
SELinux jest włączony       True
Typ polityki                  targeted
Tryb wymuszania               Enforcing
Nazwa wtyczki                 catchall
Nazwa komputera               (removed)
Platforma                     Linux (removed) 2.6.31.6-145.fc12.x86_64 #1 SMP
                              Sat Nov 21 15:57:45 EST 2009 x86_64 x86_64
Liczba alarmów               8
Po raz pierwszy               pią, 4 gru 2009, 16:03:00
Po raz ostatni                pią, 4 gru 2009, 19:42:39
Lokalny identyfikator         0cfcdcf6-1a73-44ee-b5ea-4e818c62c15a
Liczba wierszy                

Surowe komunikaty audytu      

node=(removed) type=AVC msg=audit(1259952159.50:693): avc:  denied  { signal } for  pid=3245 comm="httpd" scontext=unconfined_u:system_r:httpd_t:s0 tcontext=unconfined_u:system_r:system_mail_t:s0 tclass=process

node=(removed) type=SYSCALL msg=audit(1259952159.50:693): arch=c000003e syscall=62 success=yes exit=0 a0=fffff353 a1=f a2=48 a3=7fffe009cf10 items=0 ppid=1 pid=3245 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=6 comm="httpd" exe="/usr/sbin/httpd" subj=unconfined_u:system_r:httpd_t:s0 key=(null)



Hash String generated from  selinux-policy-3.6.32-49.fc12,catchall,httpd,httpd_t,system_mail_t,process,signal
audit2allow suggests:

#============= httpd_t ==============
allow httpd_t system_mail_t:process signal;

Comment 1 Daniel Walsh 2009-12-07 21:01:01 UTC
You can add these rules for now using

# grep avc /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

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

Comment 2 Fedora Update System 2009-12-07 22:55:01 UTC
selinux-policy-3.6.32-56.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-56.fc12

Comment 3 Fedora Update System 2009-12-10 04:20:28 UTC
selinux-policy-3.6.32-56.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-2009-12990

Comment 4 Fedora Update System 2009-12-16 01:05:58 UTC
selinux-policy-3.6.32-56.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.