[Pkg-sysvinit-devel] Bug#482176: initscripts: /lib/init/bootclean.sh does not clean /var/run/network/mountnfs

Niccolo Rigacci niccolo at rigacci.org
Wed May 21 09:04:46 UTC 2008

Package: initscripts
Version: 2.86.ds1-55
Severity: normal

NFS volumes are mounted by /etc/network/if-up.d/mountnfs. The script uses a
directory lock: /var/run/network/mountnfs.

If this directory remains stale (as per power outage), mount fails at next
boot with the error message:

if-up.d/mountnfs[eth0]: lock /var/run/network/mountnfs exist, not mounting

I suggest that the script /lib/init/bootclean.sh should remove the locking
directory as well, inside the clean_run() function.

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

Kernel: Linux 2.6.22-3-686 (SMP w/4 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages initscripts depends on:
ii  debianutils                  2.28.4      Miscellaneous utilities specific t
ii  e2fsprogs                    1.40.8-2    ext2 file system utilities and lib
ii  libc6                        2.7-10      GNU C Library: Shared libraries
ii  lsb-base                     3.1-24      Linux Standard Base 3.1 init scrip
ii  mount                        2.13.1-3    Tools for mounting and manipulatin
ii  sysvinit-utils               2.86.ds1-55 System-V-like utilities

Versions of packages initscripts recommends:
ii  psmisc                        22.6-1     Utilities that use the proc filesy

-- no debconf information

More information about the Pkg-sysvinit-devel mailing list