Bug#648635: rpc.nfsd still utilizes tcp6/udp6 ports when IPv6 is disabled
Package: nfs-kernel-server
Version: 1.2.5-2
severity: minor
Environment: - Dell Latitude 8100
- Debian Wheezy (testing)
- Kernel 3.0.0-1-686-pae
IPv6 is disabled by 'echo net.ipv6.conf.all.disable_ipv6=1 > /etc/sysctl.d/disableipv6.conf'.
Furthermore the tcp6 and udp6 entries in /etc/netconfig are commented out.
Nevertheless 'netstat -lp', before and after starting the nfs-kernel-server, shows that rpc.nfsd still utilizes tcp6/udp6 ports.
user@host:~# diff before after
3a4,8
tcp 0 0 *:56535 *:* LISTEN -
tcp 0 0 *:38042 *:* LISTEN 1154/rpc.mountd
tcp 0 0 *:nfs *:* LISTEN -
tcp 0 0 *:48747 *:* LISTEN 1154/rpc.mountd
tcp 0 0 *:34316 *:* LISTEN 1154/rpc.mountd
4a10,11
tcp6 0 0 [::]:52795 [::]:* LISTEN -
udp 0 0 *:42604 *:* 1154/rpc.mountd
6a14,18
udp 0 0 *:nfs *:* -
udp 0 0 *:49677 *:* -
udp 0 0 *:59174 *:* 1154/rpc.mountd
udp 0 0 *:60462 *:* 1154/rpc.mountd
udp6 0 0 [::]:37407 [::]:* -
How can this behavior be turned off?
Rgds,
Klaus
Reply to: