#478288 /sbin/dhclient3: locks up (pauses for a long time) on a network filesystem

Package:
isc-dhcp-client
Source:
isc-dhcp
Description:
DHCP client for automatically obtaining an IP address
Submitter:
"Michal Suchanek"
Date:
2026-08-05 17:33:32 UTC
Severity:
normal
#478288#5
Date:
2008-04-28 15:46:47 UTC
From:
To:
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

#478288#10
Date:
2011-12-20 13:44:14 UTC
From:
To:
This is a duplicate of some other bug I cannot find.

Anyway, it should be fixed on platforms where dhclient switched from
using ifconfig to using ip when it is uploaded (linux) and remain broken
on others (hurd, kfreebsd ?).

Thanks

Michal

#478288#19
Date:
2026-08-05 17:31:09 UTC
From:
To:
Dear submitter,

as the package isc-dhcp has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1143544

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)