Hora

1. Hora

Jairo Junior
juninho16

(usa Ubuntu)

Enviado em 03/05/2012 - 19:50h

Boa Noite - estou com um problema que eu configura a hora do (Fedora KDE) e quando eu reinicio o pc a hora fica toda desconfigurada. Quando eu reconfigura novamente da este problema abaixo.(alguém pode me ajudar sou aventureiro no linux)

"SELinux is preventing /sbin/ldconfig from write access on the arquivo /etc/shells.

***** Plugin catchall_labels (confiança 71.9 ) sugere **********************

Sevocê quer permitir que ldconfig tenha acesso write no shells file
Entãoyou need to change the label on /etc/shells
Faça
# semanage fcontext -a -t FILE_TYPE '/etc/shells'
where FILE_TYPE is one of the following: puppet_tmp_t, ldconfig_tmp_t, user_cron_spool_t, ldconfig_t, ldconfig_cache_t, afs_cache_t, user_tmp_t, rpm_script_tmp_t, user_home_t, ld_so_cache_t, puppet_tmp_t.
Then execute:
restorecon -v '/etc/shells'


***** Plugin leaks (confiança 14.7 ) sugere ********************************

Seyou want to ignore ldconfig trying to write access the shells file, because you believe it should not need this access.
Entãoyou should report this as a bug.
You can generate a local policy module to dontaudit this access.
Faça
# grep /sbin/ldconfig /var/log/audit/audit.log | audit2allow -D -M mypol
# semodule -i mypol.pp

***** Plugin catchall (confiança 14.7 ) sugere *****************************

Seyou believe that ldconfig should be allowed write access on the shells file by default.
Entãoyou should report this as a bug.
You can generate a local policy module to allow this access.
Faça
allow this access for now by executing:
# grep ldconfig /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Informação adicional:
Contexto de origem system_u:system_r:ldconfig_t:s0-s0:c0.c1023
Contexto de destino system_u:object_r:etc_t:s0
Objetos de destino /etc/shells [ file ]
Origem ldconfig
Caminho da origem /sbin/ldconfig
Porta <Desconhecido>
Máquina Speed
Pacotes RPM de origem glibc-2.14.90-24.fc16.6.x86_64
Pacotes RPM de destino setup-2.8.36-3.fc16.noarch
RPM da política selinux-policy-3.10.0-84.fc16.noarch
Selinux habilitado True
Tipo de política targeted
Modo reforçado Enforcing
Nome da máquina Speed
Plataforma Linux Speed 3.1.0-7.fc16.x86_64 #1 SMP Tue Nov 1
21:10:48 UTC 2011 x86_64 x86_64
Contador de alertas 1
Visto pela primeira vez em Dom 29 Abr 2012 21:57:42 BRT
Visto pela última vez em Dom 29 Abr 2012 21:57:42 BRT
ID local bf9b63ad-4284-439c-8335-55888213541f

Mensagens de auditoria não processadas
type=AVC msg=audit(1335747462.80:194): avc: denied { write } for pid=7915 comm="ldconfig" path="/etc/shells" dev=dm-1 ino=113 scontext=system_u:system_r:ldconfig_t:s0-s0:c0.c1023 tcontext=system_u:object_r:etc_t:s0 tclass=file


type=SYSCALL msg=audit(1335747462.80:194): arch=x86_64 syscall=execve success=yes exit=0 a0=636d3d8 a1=ff665f0 a2=7fff699cba70 a3=7fd38536b9d0 items=0 ppid=1971 pid=7915 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=ldconfig exe=/sbin/ldconfig subj=system_u:system_r:ldconfig_t:s0-s0:c0.c1023 key=(null)

Hash: ldconfig,ldconfig_t,etc_t,file,write

audit2allow

#============= ldconfig_t ==============
allow ldconfig_t etc_t:file write;

audit2allow -R

#============= ldconfig_t ==============
allow ldconfig_t etc_t:file write;"



  






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts