Salut à tous,
Depuis ce matin, SeLinux me lance des alertes à tout va...
Comme ej ne comprends pas très bien son fonctionnement, je préfère venir demander des infos.
Voici le log généré:
En fait, Selinux, prévient bien des tentaives d'intrusion/modification dans un fichier c'est bien ça?
J'ai lu un tuto cur SeLinux, mais j'ai rien capter...:hammer:
Depuis ce matin, SeLinux me lance des alertes à tout va...
Comme ej ne comprends pas très bien son fonctionnement, je préfère venir demander des infos.
Voici le log généré:
Résumé:
SELinux is preventing tmpwatch (tmpreaper_t) "getattr" to
/tmp/vbox.3/r0drv/initterm-r0drv.c (usr_t).
Description détaillée:
SELinux denied access requested by tmpwatch. It is not expected that this access
is required by tmpwatch 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:
Sometimes labeling problems can cause SELinux denials. You could try to restore
the default system file context for /tmp/vbox.3/r0drv/initterm-r0drv.c,
restorecon -v '/tmp/vbox.3/r0drv/initterm-r0drv.c'
If this does not work, there is currently no automatic way to allow this access.
Instead, 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.
Informations complémentaires:
Contexte source system_u:system_r:tmpreaper_t:s0
Contexte cible system_u:object_r:usr_t:s0
Objets du contexte /tmp/vbox.3/r0drv/initterm-r0drv.c [ file ]
Source tmpwatch
Source Path /usr/sbin/tmpwatch
Port <Inconnu>
Host Sparadrux
Source RPM Packages tmpwatch-2.9.11-2
Target RPM Packages
Politique RPM selinux-policy-3.0.8-109.fc8
Selinux activé True
Type de politique targeted
MLS activé True
Mode strict Enforcing
Nom du plugin catchall_file
Nom de l'hôte Sparadrux
Plateforme Linux Sparadrux 2.6.25.4-10.fc8 #1 SMP Thu May 22
22:58:37 EDT 2008 x86_64 x86_64
Compteur d'alertes 1
First Seen ven 20 jun 2008 12:04:49 CEST
Last Seen ven 20 jun 2008 12:04:49 CEST
Local ID 41282329-d2b1-4dcf-ae30-8013d7b5097f
Numéros des lignes
Messages d'audit bruts
host=Sparadrux type=AVC msg=audit(1213956289.106:448): avc: denied { getattr } for pid=6599 comm="tmpwatch" path="/tmp/vbox.3/r0drv/initterm-r0drv.c" dev=sdb1 ino=2872838 scontext=system_u:system_r:tmpreaper_t:s0 tcontext=system_u:object_r:usr_t:s0 tclass=file
host=Sparadrux type=SYSCALL msg=audit(1213956289.106:448): arch=c000003e syscall=6 success=no exit=-13 a0=1bc3c6b a1=7fff43967fc0 a2=7fff43967fc0 a3=402f0a items=0 ppid=6597 pid=6599 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="tmpwatch" exe="/usr/sbin/tmpwatch" subj=system_u:system_r:tmpreaper_t:s0 key=(null)
Bon, je mets que celui-là, car la liste est longue...😉En fait, Selinux, prévient bien des tentaives d'intrusion/modification dans un fichier c'est bien ça?
J'ai lu un tuto cur SeLinux, mais j'ai rien capter...:hammer: