<div dir="ltr">Olá,<br><br>Mas este comando restorecon retornou sucesso ou alguma mensagem de erro?<br>Tentou executar ele no /etc/services (acho que o ./services que ele se referia era o do /etc), "restorecon -v /etc/services" ?<br>
<br>Se isso não funcionar, execute manualmente o "/usr/sbin/rpc.rquotad" e veja se obtém o mesmo erro, pois pela mensagem me parece que o problema é nele e seria um outro ponto para pesquisar :)<br><br>[]´s<br>
<br>Gustavo Picoloto<br><br><div class="gmail_quote">2008/10/20 Jean Carlo <span dir="ltr"><<a href="mailto:jean.c.goncalves@gmail.com">jean.c.goncalves@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
pior que sim<br>
<br>
2008/10/20 Gustavo Picoloto <<a href="mailto:picoloto@gmail.com">picoloto@gmail.com</a>>:<br>
<div><div></div><div class="Wj3C7c">> Olá,<br>
><br>
> Provavelmente é uma pergunta besta de minha parte, mas já tentou o comando<br>
> que ele sugeriu?<br>
><br>
> restorecon -v './services' ?<br>
><br>
> []´s<br>
><br>
> Gustavo Picoloto<br>
><br>
> 2008/10/20 Jean Carlo <<a href="mailto:jean.c.goncalves@gmail.com">jean.c.goncalves@gmail.com</a>><br>
>><br>
>> Apos atualização do fedora 9 quando reinicio o linux ele não monta<br>
>> mais o serviço NFS.<br>
>><br>
>><br>
>> Já removi e reinstalei o rpcbind e o nfs-utils.<br>
>><br>
>> Da o seguinte erro ao tentar reiniciar<br>
>><br>
>> Iniciando as quotas NFS: Não foi possível registrar serviço: RPC:<br>
>> Impossível receber; errno = Conexão recusada<br>
>> rpc.rquotad: unable to register (RQUOTAPROG, RQUOTAVERS, udp).<br>
>><br>
>><br>
>> Vou nos logs do /var/log/messages da os seguintes logs<br>
>><br>
>><br>
>> Oct 17 13:21:54 localhost kernel: rpcbind: server localhost not<br>
>> responding, timed out<br>
>> Oct 17 13:21:54 localhost kernel: RPC: failed to contact local rpcbind<br>
>> server (errno 5).<br>
>> Oct 17 13:21:54 localhost kernel: lockd_up: makesock failed, error=-5<br>
>> Oct 17 13:22:24 localhost kernel: rpcbind: server localhost not<br>
>> responding, timed out<br>
>> Oct 17 13:22:24 localhost kernel: RPC: failed to contact local rpcbind<br>
>> server (errno 5).<br>
>> Oct 17 13:22:24 localhost kernel: nfsd: last server has exited<br>
>> Oct 17 13:22:24 localhost kernel: nfsd: unexporting all filesystems<br>
>> Oct 17 13:22:54 localhost nfsd[2743]: nfssvc: Input/output error<br>
>> Oct 17 13:22:54 localhost kernel: rpcbind: server localhost not<br>
>> responding, timed out<br>
>> Oct 17 13:22:54 localhost kernel: RPC: failed to contact local rpcbind<br>
>> server (errno 5).<br>
>><br>
>> Verifiquei o rpcbind se estava rodando e está ok<br>
>><br>
>> rpc 1669 0.0 0.0 2340 680 ? Ss 13:18 0:00 rpcbind<br>
>><br>
>><br>
>> Após reiniciar o serviço rpcbind o SELINU me da a seguinte mensagem<br>
>><br>
>><br>
>> Sumário:<br>
>><br>
>> SELinux is preventing the rpcbind from using potentially mislabeled files<br>
>> (./services).<br>
>><br>
>> Descrição Detalhada:<br>
>><br>
>> SELinux has denied rpcbind access to potentially mislabeled file(s)<br>
>> (./services). This means that SELinux will not allow rpcbind to use these<br>
>> files.<br>
>> It is common for users to edit files in their home directory or tmp<br>
>> directories<br>
>> and then move (mv) them to system directories. The problem is that the<br>
>> files end<br>
>> up with the wrong file context which confined applications are not allowed<br>
>> to<br>
>> access.<br>
>><br>
>> Permitindo Acesso:<br>
>><br>
>> If you want rpcbind to access this files, you need to relabel them using<br>
>> restorecon -v './services'. You might want to relabel the entire directory<br>
>> using<br>
>> restorecon -R -v '.'.<br>
>><br>
>> Informação adicional:<br>
>><br>
>> Contexto Fonte unconfined_u:system_r:rpcbind_t:s0<br>
>> Contexto Alvo unconfined_u:object_r:user_tmp_t:s0<br>
>> Objetos do Alvo ./services [ file ]<br>
>> Fonte rpcbind<br>
>> Caminho da Fonte /sbin/rpcbind<br>
>> Porta <Desconhecido><br>
>> Máquina localhost.localdomain<br>
>> Pacotes do RPM Fonte rpcbind-0.1.4-16.fc9<br>
>> Pacotes do RPM Alvo<br>
>> RPM da Política selinux-policy-3.3.1-99.fc9<br>
>> Selinux Ativado True<br>
>> Tipo de Política targeted<br>
>> MLS Ativado True<br>
>> Modo Enforcing Enforcing<br>
>> Nome do Plugin home_tmp_bad_labels<br>
>> Nome do Host localhost.localdomain<br>
>> Plataforma Linux localhost.localdomain<br>
>> 2.6.26.5-45.fc9.i686<br>
>> #1 SMP Sat Sep 20 03:45:00 EDT 2008 i686<br>
>> athlon<br>
>> Conta de Alerta 24<br>
>> Visto Primeiro em Sex 17 Out 2008 13:12:52 BRST<br>
>> Visto pela última vez em Sex 17 Out 2008 13:28:25 BRST<br>
>> ID Local 98db3842-4527-4e13-a7b5-f07aab7c0016<br>
>> Números de Linha<br>
>><br>
>> Mensagens de Auditoria de Mat<br>
>><br>
>> host=localhost.localdomain type=AVC msg=audit(1224257305.352:43): avc:<br>
>> denied { read } for pid=2853 comm="rpcbind" name="services"<br>
>> dev=sda2 ino=2712929 scontext=unconfined_u:system_r:rpcbind_t:s0<br>
>> tcontext=unconfined_u:object_r:user_tmp_t:s0 tclass=file<br>
>><br>
>> host=localhost.localdomain type=SYSCALL msg=audit(1224257305.352:43):<br>
>> arch=40000003 syscall=5 success=no exit=-13 a0=30ef06 a1=80000 a2=1b6<br>
>> a3=80000 items=0 ppid=2852 pid=2853 auid=500 uid=32 gid=0 euid=32<br>
>> suid=32 fsuid=32 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="rpcbind"<br>
>> exe="/sbin/rpcbind" subj=unconfined_u:system_r:rpcbind_t:s0 key=(null)<br>
>><br>
>><br>
>> Alguem passou por um erro destes?<br>
>><br>
>> obrigado a todos<br>
>><br>
>> --<br>
>> Fedora-users-br mailing list<br>
>> <a href="mailto:Fedora-users-br@redhat.com">Fedora-users-br@redhat.com</a><br>
>> <a href="https://www.redhat.com/mailman/listinfo/fedora-users-br" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-users-br</a><br>
><br>
><br>
><br>
> --<br>
> ------<br>
> Gustavo Picoloto<br>
> <a href="http://www.paranavaionline.com.br" target="_blank">http://www.paranavaionline.com.br</a><br>
> <a href="http://cenoura.homelinux.com" target="_blank">http://cenoura.homelinux.com</a><br>
> ------<br>
><br>
> --<br>
> Fedora-users-br mailing list<br>
> <a href="mailto:Fedora-users-br@redhat.com">Fedora-users-br@redhat.com</a><br>
> <a href="https://www.redhat.com/mailman/listinfo/fedora-users-br" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-users-br</a><br>
><br>
><br>
<br>
--<br>
Fedora-users-br mailing list<br>
<a href="mailto:Fedora-users-br@redhat.com">Fedora-users-br@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/fedora-users-br" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-users-br</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>------<br>Gustavo Picoloto<br><a href="http://www.paranavaionline.com.br">http://www.paranavaionline.com.br</a><br><a href="http://cenoura.homelinux.com">http://cenoura.homelinux.com</a><br>
------<br>
</div>