[Pkg-samba-maint] Bug#572483: Bug#572483: samba-common: invoke-rc.d warning when doing system shutdown

Christian PERRIER bubulle at debian.org
Thu Mar 4 21:19:48 UTC 2010


Quoting Kevin Baradon (kevin.baradon at gmail.com):
> Package: samba-common
> Version: 2:3.4.6~dfsg-1
> Severity: minor
> Tags: patch
> 
> invoke-rc.d warns me during every system shutdown it is invoked in an invalid context.
> 
> This command is called by /etc/dhcp3/dhclient-enter-hooks.d/samba to reload samba configuration file on DHCP release (my IP address comes from DHCP server). 
> But smbd daemon isn't running anymore at that time (system shutdown).
> 
> Following patch checks for PID file existence before calling invoke-rc.d and fixes the warning.

The warning comes from......start-stop-daemon that checks for such
existence.

Indeed, the s-s-d call for "reload" in /etc/init.d/samba doesn't use
"--quiet". *This* is what would make the reload action quiet in your
case...and in any other case, while your patch only fixes the DHCP
release hook script.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20100304/13eaadb6/attachment.pgp>


More information about the Pkg-samba-maint mailing list