[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problème NFS peut-être lié à IPV6 ?



  Bonjour,

Vera Mickael wrote:
> mickael@debian-concorde:~$ sudo showmount -e 192.168.0.51
> clnt_create: RPC: Port mapper failure - RPC: Unable to receive
> 
> mickael@debian-concorde:~$ sudo showmount -e 127.0.0.1
> Export list for 127.0.0.1:
> /mnt/data2 192.168.0.0/255.255.255.0
> /mnt/data  192.168.0.0/255.255.255.0
[...]
> mickael@debian-concorde:~$ sudo netstat -a | grep rpc
> tcp        0      0 localhost.locald:sunrpc *:*         LISTEN
> udp        0      0 localhost.locald:sunrpc *:*

  Il semble que portmap n'écoute que sur localhost (ce qui doit être le
comportement par défaut pour raisons de sécurité de nos jours).
Pour faire du nfs, il faut que portmap écoute sur toutes les interfaces.

Essayer de faire "dpkg-reconfigure portmap", il y a une question debconf
pour ce réglage :
Template: portmap/loopback
Type: boolean
Default: true
Description: Should portmap be bound to the loopback address?
 By default, portmap listens to all IP addresses. However, if this
 machine does not provide network RPC services (such as NIS or NFS) to
 remote clients, you can safely bind it to the loopback IP address
 (127.0.0.1).
 .
 This will allow RPC local services (like FAM) to work properly, while
 preventing remote systems from accessing the RPC services.
 .
 This configuration can be changed by editing the OPTIONS line in the
 /etc/default/portmap file and adapting the use of the -i option to
 your needs.

  Cordialement,
    Vincent Danjean


Reply to: