Quoting Kevin Baradon ([email protected]): > 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.
signature.asc
Description: Digital signature

