Bonjour, etant newbie sur linux et fedora en particulier, j'ai essayé d'installer apache avec
su -c 'yum install httpd-manual'
, tout se passe bien mais au lancement d'apache,
su -lc 'service httpd start'
et bien j'ai un message de setroubleshoot :
// debut message
Résumé:
SELinux is preventing httpd (httpd_t) "read write" to socket (unconfined_t).
Description détaillée:
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.
Autoriser l'accès:
Vous pouvez créer un module de politique locale pour autoriser cet accès -
lisez la FAQ (
http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Vous
pouvez également désactiver la protection fournie par SELinux. Désactiver
SELinux n'est pas recommandé. Merci de remplir un rapport de bug
(
http://bugzilla.redhat.com/bugzilla/enter_bug.cgi) sur ce paquetage.
Informations complémentaires:
Contexte source unconfined_u:system_r:httpd_t:s0
Contexte cible unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
023
Objets du contexte socket [ unix_stream_socket ]
source httpd
Chemin de la source /usr/sbin/httpd
Port <Inconnu>
Hôte localhost.localdomain
Paquetages RPM source httpd-2.2.9-1.fc9
Paquetages RPM cible
Politique RPM selinux-policy-3.3.1-103.fc9
Selinux activé True
Type de politique targeted
MLS activé True
Mode strict Enforcing
Nom du plugin catchall
Nom de l'hôte localhost.localdomain
Plateforme Linux localhost.localdomain 2.6.26.6-79.fc9.x86_64
#1 SMP Fri Oct 17 14:20:33 EDT 2008 x86_64 x86_64
Compteur d'alertes 2
Première alerte ven 14 nov 2008 15:46:08 CET
Dernière alerte ven 14 nov 2008 15:48:16 CET
ID local cf9957de-9d62-4171-b3ce-0b0377bfb694
Numéros des lignes
Messages d'audit bruts
host=localhost.localdomain type=AVC msg=audit(1226674096.158:75): avc: denied { read write } for pid=3942 comm="httpd" path="socket:[11320]" dev=sockfs ino=11320 scontext=unconfined_u:system_r:httpd_t:s0 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=unix_stream_socket
host=localhost.localdomain type=SYSCALL msg=audit(1226674096.158:75): arch=c000003e syscall=59 success=yes exit=0 a0=1868f50 a1=1869370 a2=1869520 a3=30e5f67a70 items=0 ppid=3941 pid=3942 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts2 ses=1 comm="httpd" exe="/usr/sbin/httpd" subj=unconfined_u:system_r:httpd_t:s0 key=(null)
// fin du message
installation sur fedora 9
apparemment selinux me crée des soucis, que faut-il déclarer sur le parefeu, si je comprend le message
si quelqu'un pouvait m'aider, ce serait sympa
merci