2009/7/24 Felix Manuel Arismendi Quispichuco <fmaq(a)ec-red.com>:
El jue, 23-07-2009 a las 17:59 +0000, Andres Cardenas Jimenez
escribió:
> hola a todos... acabe de instalar fedora 11, y ya actuelize ya puce
> todo bien le instale codecs, esta con todo, pero la falla es que cada
> vez que inicio al lado del icono de conecciones me sale la imagen de
> un disco duro diciendome que uno de los discos esta fallando, ademas
> me llegan ataques de alguien que se quiere meter a mi pc, aca les
> mando los informes que me manda el SElinux
>
>
> Resúmen
> SELinux is preventing nm-system-setti (NetworkManager_t) "unlink"
> to /etc/NetworkManager/nm-system-settings.conf (etc_t).
>
> Descripción Detallada
> SELinux is preventing nm-system-setti (NetworkManager_t) "unlink"
> to /etc/NetworkManager/nm-system-settings.conf (etc_t). The SELinux
> type etc_t, is a generic type for all files in the directory and very
> few processes (SELinux Domains) are allowed to write to this SELinux
> type. This type of denial usual indicates a mislabeled file. By
> default a file created in a directory has the gets the context of the
> parent directory, but SELinux policy has rules about the creation of
> directories, that say if a process running in one SELinux Domain (D1)
> creates a file in a directory with a particular SELinux File Context
> (F1) the file gets a different File Context (F2). The policy usually
> allows the SELinux Domain (D1) the ability to write, unlink, and
> append on (F2). But if for some reason a file
> (/etc/NetworkManager/nm-system-settings.conf) was created with the
> wrong context, this domain will be denied. The usual solution to this
> problem is to reset the file context on the target file, restorecon -v
> '/etc/NetworkManager/nm-system-settings.conf'. If the file context
> does not change from etc_t, then this is probably a bug in policy.
> Please file a bug report against the selinux-policy package. If it
> does change, you can try your application again to see if it works.
> The file context could have been mislabeled by editing the file or
> moving the file from a different directory, if the file keeps getting
> mislabeled, check the init scripts to see if they are doing something
> to mislabel the file.
>
> Permitiendo Acceso
> You can attempt to fix file context by executing restorecon -v
> '/etc/NetworkManager/nm-system-settings.conf'
>
> Comando para Corregir
> restorecon '/etc/NetworkManager/nm-system-settings.conf'
>
> Información Adicional
> Contexto
> Fuente: system_u:system_r:NetworkManager_t:s0-s0:c0.c1023Contexto
> Destino: system_u:object_r:etc_t:s0Objetos
> Destino: /etc/NetworkManager/nm-system-settings.conf
> [ file ]Fuente: nm-system-settiDirección de
> Fuente: /usr/sbin/nm-system-settingsPuerto: <Desconocido>Nombre de
> Equipo: Andres91Paquetes RPM
> Fuentes: NetworkManager-0.7.1-4.git20090414.fc11Paquetes RPM
> Destinos: NetworkManager-0.7.1-4.git20090414.fc11RPM de
> Políticas: selinux-policy-3.6.12-62.fc11SELinux Activado: TrueTipo
> de Política: targeted
> MLS Activado: TrueModo Obediente: EnforcingNombre de
> Plugin: mislabeled_fileNombre de Equipo: Andres91Plataforma: Linux
> Andres91 2.6.29.6-213.fc11.i686.PAE #1 SMP Tue Jul 7 20:59:29 EDT 2009
> i686 i686Cantidad de Alertas: 1Visto por Primera Vez: jue 23 jul
> 2009 12:44:11 COTVisto por Última Vez: jue 23 jul 2009 12:44:11 COTID
> Local: f3d4d6b9-9080-4de1-b414-d507a98b646cNúmeros de
> Línea: Mensajes de Auditoría Crudos :node=Andres91 type=AVC
> msg=audit(1248371051.292:22295): avc: denied { unlink } for pid=1339
> comm="nm-system-setti" name="nm-system-settings.conf" dev=sda3
> ino=86428 scontext=system_u:system_r:NetworkManager_t:s0-s0:c0.c1023
> tcontext=system_u:object_r:etc_t:s0 tclass=file node=Andres91
> type=SYSCALL msg=audit(1248371051.292:22295): arch=40000003 syscall=38
> success=no exit=-13 a0=8781438 a1=8764528 a2=cdb1a4 a3=b7f526e0
> items=0 ppid=1 pid=1339 auid=4294967295 uid=0 gid=0 euid=0 suid=0
> fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295
> comm="nm-system-setti" exe="/usr/sbin/nm-system-settings"
> subj=system_u:system_r:NetworkManager_t:s0-s0:c0.c1023 key=(null)
>
>
Pues en realidad no hay nadie intentando meterse a tu computador, y tal
como lo indica el mensaje que nos muestra debes hacer esto para que
Selinux te permita operar correctamente:
restorecon -v '/etc/NetworkManager/nm-system-settings.conf'
luego puedes poner en modo permisivo a Selinux con semanage permisive
Saludos.
Y lo del disco es un nuevo programa que viene con Fedora11, el
programa está configurado para que de alarmas con un determinado
número de sectores malos, no quiere decir que el disco va a explotar o
algo parecido, solo está enviando una advertencia, puedes tratar de
darle más tolerancia subiendo el número de sectores malos con el cual
dar advertencias, o de plano desistalarlo.
FMAQ.
_______________________________________________
Embajadores-fedora-latam mailing list
Embajadores-fedora-latam(a)redhat.com
https://www.redhat.com/mailman/listinfo/embajadores-fedora-latam