[Pkg-sysvinit-devel] Bug#607177: mountnfs: nolock test for portmap seems not to be enough

Emmanuel Lacour elacour at easter-eggs.com
Wed Dec 15 11:12:24 UTC 2010


Package: initscripts
Version: 2.88dsf-13
Severity: normal


/etc/fstap:

server:/home/foo /foo nfs rw,nolock 0 0

/etc/network/nfsmount try to mount it at boot time and do it
successfully, but in 1mn10s!

Tracking this down I found that the nolock option implies that mountnfs
doesn't start portmap.

If I start portmap the mount take less than one second.

here is the result in /proc/mounts without portmap:

server:/home/foo /foo nfs rw,relatime,vers=3,rsize=262144,wsize=262144,namlen=255,hard,nolock,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=10.0.0.2,mountvers=3,mountport=58924,mountproto=udp,addr=1.2.3.4 0 0

maybe one of those default options require portmap?


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to fr_FR.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages initscripts depends on:
ii  coreutils                     8.5-1      GNU core utilities
ii  debianutils                   3.4        Miscellaneous utilities specific t
ii  libc6                         2.11.2-7   Embedded GNU C Library: Shared lib
ii  lsb-base                      3.2-23.1   Linux Standard Base 3.2 init scrip
ii  mount                         2.17.2-3.3 Tools for mounting and manipulatin
ii  sysv-rc                       2.88dsf-13 System-V-like runlevel change mech
ii  sysvinit-utils                2.88dsf-13 System-V-like utilities

Versions of packages initscripts recommends:
ii  e2fsprogs                     1.41.12-2  ext2/ext3/ext4 file system utiliti
ii  psmisc                        22.11-1    utilities that use the proc file s

initscripts suggests no packages.

-- no debconf information





More information about the Pkg-sysvinit-devel mailing list