[Pkg-sysvinit-devel] Bug#693132: initscripts: mountnfs fails at boot if $NFSHOST is present on /etc/hosts

Teodor mteodor at gmail.com
Tue Nov 13 12:54:11 UTC 2012


Package: initscripts
Version: 2.88dsf-13.1+squeeze1
Severity: normal

Hi,

After testing NFS on four Debian hosts I've found that the presence of a
static entry for the NFSHOST will make mountnfs to fail at boot. Ironically,
I've added the static entry just to make it more reliable.  :-)_

The one that fails is probably /etc/network/if-up.d/mountnfs since the init
script /etc/init.d/mountnfs.sh appears to be a no-op -- at least for mount
point /srv/backups. After some testing I see that do_wait_async_mount it
detects correctly the nfs entry from the /etc/fstab file but it no other
action is taken.

Cheers


-- System Information:
Debian Release: 6.0.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

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.3-4              Embedded GNU C Library: Shared lib
ii  lsb-base           3.2-23.2squeeze1      Linux Standard Base 3.2 init scrip
ii  mount              2.17.2-9              Tools for mounting and manipulatin
ii  sysv-rc            2.88dsf-13.1+squeeze1 System-V-like runlevel change mech
ii  sysvinit-utils     2.88dsf-13.1+squeeze1 System-V-like utilities

Versions of packages initscripts recommends:
ii  e2fsprogs               1.41.12-4stable1 ext2/ext3/ext4 file system utiliti
pn  psmisc                  <none>           (no description available)

initscripts suggests no packages.

-- Configuration Files:
/etc/default/tmpfs changed:
TMPFS_SIZE=20%
RUN_SIZE=10%
LOCK_SIZE=5242880 # 5MiB
SHM_SIZE=
TMP_SIZE=
RW_SIZE=5242880 # 5 MiB


-- no debconf information



More information about the Pkg-sysvinit-devel mailing list