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