[Pkg-samba-maint] Bug#652942: dhcp hook runs reload on shutdown (after service has been stopped)

Michael Biebl biebl at debian.org
Thu Dec 22 00:25:43 UTC 2011


Package: samba-common
Version: 2:3.6.1-3
Severity: important

Hi,

if you are using ifupdown and dhcp to manage your network device,
you'll get the following message on shutdown

INIT: Switching to runlevel: 0
INIT: Sending processes the TERM signal
Using makefile-style concurrent boot in runlevel 0.
Stopping deferred execution scheduler: atd.
Stopping MTA: exim4_listener.
Stopping VirtualBox Additions.
Stopping Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Stopping Samba daemons: nmbd smbd.
Asking all remaining processes to terminate...done.
All processes ended within 1 seconds...done.
Stopping enhanced syslogd: rsyslogd.
Deconfiguring network interfaces...Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/08:00:27:6f:bd:96
Sending on   LPF/eth0/08:00:27:6f:bd:96
Sending on   Socket/fallback
DHCPRELEASE on eth0 to 10.0.2.2 port 67
invoke-rc.d: -----------------------------------------------------
invoke-rc.d: WARNING: 'invoke-rc.d samba reload' called
invoke-rc.d: during shutdown sequence.
invoke-rc.d: enabling safe mode: initscript policy layer disabled
invoke-rc.d: -----------------------------------------------------
Reloading /etc/samba/smb.conf: smbd only.
done.
Saving the system clock.
Deactivating swap...done.
Unmounting local filesystems...done.
Will now halt.


See how the reload happens after samba has already been stopped.
This reload seems to be triggered by the dhcp enter hook.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages samba-common depends on:
ii  debconf [debconf-2.0]  1.5.41
ii  ucf                    3.0025+nmu2

Versions of packages samba-common recommends:
ii  samba-common-bin  2:3.6.1-3

samba-common suggests no packages.

-- debconf information excluded





More information about the Pkg-samba-maint mailing list