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

/etc/default/rcS allow use option ASYNCMOUNTNFS=no to make NFS mounts 
synchronous.

But this option is ignored when interface marked as 'hotplug' (not auto) in 
/etc/network/interfaces.

I think the problem is in function  exit_unless_last_interface, which one check 
only interfaces, listed in 'auto' statement and ignore all others, noted as 
'hotplug'.

By default all eth interfaces listed not as 'auto', but as 'hotplug' by 
installer. This cause option ASYNCMOUNTNFS=no useless in case of 'default 
installation of server with ethernet interface'.

I see two solution for this problem:

1) check every interface, market as 'hotplug' to be online and wait until they 
complete mounting.

2) Keep current situation, anounce it as 'feature' and add note to rcS manual 
page about mandatory 'auto' declation for interfaces, add checking fo hotplug 
interfaces (non-empty hotplug statement) and print warning on screen, when 
ASYNCMOUNTNFS is disabled.


-- System Information:
Debian Release: 6.0
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=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.3        Miscellaneous utilities specific t
ii  libc6                       2.11.2-11    Embedded GNU C Library: Shared lib
ii  lsb-base                    3.2-27       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 System-V-like runlevel change mech
ii  sysvinit-utils              2.88dsf-13.1 System-V-like utilities

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

initscripts suggests no packages.

-- debconf-show failed



_______________________________________________
Pkg-sysvinit-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-sysvinit-devel

Reply via email to