Package: dhcp3-client
Version: 3.1.0-5
Severity: normal
File: /sbin/dhclient3


Hello

when network is already configured in the kernel/initramfs, the / is
mounted from network, and dhclient is started to run the appopriate
setup scripts it pauses for a very long time.

Skipping dhclient is not really an option as it is necessary to run the
appropriate networking startup scripts on the system.

Dhclient locks up because it runs scripts from dhclient-enter-hooks.d
(such as the script from samba-common) while the network is down. These
scripts read and write the filesystem that is inaccessible thanks to
dhclient, and it takes a long time before all the timeouts pass.

Moving the script to dhclient-exit-hooks.d solves the problem. However,
many packages appear to install scripts there.


Suggestions:

1) do not down the network, ever, unless the lease is revoked

2) do not run arbitrary scripts while the network is down

Thanks

Michal


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

Kernel: Linux 2.6.23.3-src (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dhcp3-client depends on:
ii  debconf [debconf-2.0]         1.5.20     Debian configuration management sy
ii  debianutils                   2.28.4     Miscellaneous utilities specific t
ii  dhcp3-common                  3.1.0-5    common files used by all the dhcp3
ii  libc6                         2.7-10     GNU C Library: Shared libraries

dhcp3-client recommends no packages.

-- debconf information excluded



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to