Your message dated Wed, 05 Aug 2026 17:31:09 +0000
with message-id <[email protected]>
and subject line Bug#1143544: Removed package(s) from unstable
has caused the Debian Bug report #564516,
regarding dhcp3-client: weird conflict with samba/resolvconf when shutting down
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
564516: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=564516
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dhcp3-client
Version: 3.1.3-2
Severity: normal

Hi!

Basically, I see 3 problems: ifdown eth1 seems to kill and restart dhclient for 
some reason, 
dhclient seems to be killed before deconfiguring interfaces, and during 
shutdown dhclient 
reloads samba but it's already stopped and it should't even try to call 
invoke-rc.d at this 
time.

Additional versions: samba 2:3.4.3-2, resolvconf 1.45, dnsmasq 2.51-1, ifupdown 
0.6.9. All 
affected packages are default installs, eth1 is the uplink ("iface eth1 inet 
dhcp"), eth0 is 
a lan with dnsmasq and samba on it. I'm using the dependency based init system. 
When 
starting up, /etc/resolv.conf is empty, then when eth1 comes up, it is the DNS 
of my ISP, 
then when dnsmasq comes up, it becomes 127.0.0.1 and dnsmasq will use the ISP's 
DNS, all 
thanks to resolvconf's magic.

The first weird thing is that when I do "ifdown eth1", it starts with some 
warning:

=====
There is already a pid file /var/run/dhclient.eth1.pid with pid 4260
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth1/00:04:e2:9f:9e:0f
Sending on   LPF/eth1/00:04:e2:9f:9e:0f
Sending on   Socket/fallback
DHCPRELEASE on eth1 to 192.168.1.1 port 67
Reloading /etc/samba/smb.conf: smbd only.
root@wicklow:~#
=====

Also notice that samba is automatically reloaded. Now the real problem comes 
when shutting 
down, looks like multiple problems: dhclient is killed before ifdown-ing, hence 
the stale 
warning, then the samba reloading kicks in, which seems to happen at the wrong 
time:

=====
...
Saving the system clock.
Deconfiguring network interfaces...There is already a pid file 
/var/run/dhclient.eth1.pid 1410
removed stale PID file
Internet Systems Consortium DHCP Client V3.1.3
...
DHCPRELEASE on eth1 to 192.168.1.1 port 67
invoke-rc.d: ====================================================
invoke-rc.d: WARNING: invoke-rc.d called during shutdown sequence
invoke-rc.d: enabling safe mode: initscript policy layer disabled
invoke-rc.d: ====================================================
Reloading /etc/samba/smb.conf: smbd onlyNo process in pidfile 
'/var/run/samba/smbd.pid' found
running: none killed.
.
done.
Cleaning up ifupdown...
Deactivating swap...done.
...
=====

Also note that it all doesn't seem dangerous, just very ugly, but still, 
something is 
definitely wrong here.

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

Kernel: Linux 2.6.30-2-686 (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 dhcp3-client depends on:
ii  debconf [debconf-2.0]         1.5.28     Debian configuration management sy
ii  debianutils                   3.2.2      Miscellaneous utilities specific t
ii  dhcp3-common                  3.1.3-2    common files used by all the dhcp3
ii  libc6                         2.10.2-2   GNU C Library: Shared libraries

dhcp3-client recommends no packages.

Versions of packages dhcp3-client suggests:
pn  avahi-autoipd                 <none>     (no description available)
ii  resolvconf                    1.45       name server information handler

-- debconf information:
  dhcp3-client/dhclient-needs-restarting:
  dhcp3-client/dhclient-script_moved:



--- End Message ---
--- Begin Message ---
Version: 4.4.3-P1-8+rm

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
[email protected].

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

--- End Message ---

Reply via email to