Posts #25 and #26 from the ubuntu thread (http://ubuntuforums.org/showthread.php?t=1140094&page=3) were written by me. From what I'm experiencing and noticing in the logs, I have to agree that this problem is caused (or at least initiated) by dhclient. Post #20 describes adding > /dev/null to the reload call making the last line of the file /etc/dhcp3/dhclient-enter-hooks.d/samba look like this:
[ -x /etc/init.d/samba ] && /usr/sbin/invoke-rc.d samba reload > /dev/null This would suppress the reload call and therefore cause the message "* Reloading /etc/samba/smb.conf smbd only" (which is found in /etc/init.d/samba) not to appear. However, I don't think suppressing the reload call to prevent /etc/init.d/samba from reloading and therefore causing the message not to appear is hardly the real solution. For some reason the message comes up right on the command line output every ~5 minutes, which is frustrating when someone is trying to use the command line and this message keeps getting in the way. Do we have to somehow force this message to output to a log file instead of the screen??? On Wed, Jun 10, 2009 at 7:56 AM, Bruce Borah<[email protected]> wrote: > Please read the Ubuntu Forums thread. Specifically from post #18 on. I > believe it is the Ubuntu script for the DHCP client that is the culprit. > > -Bruce > > John H Terpstra - Samba Team wrote: >> >> Bruce Borah wrote: >> >>> >>> This phenomenon is due to the lease being renewed. The use of dhcp on a >>> server is the root problem. >>> >> >> With all due respect I have difficulty with this claim. I have >> implemented Samba at hundreds of sites that use DHCP without ever >> noticing the problem reported below. I would dearly like to see >> evidence that supports a relationship between DHCP and smb.conf re-reads. >> >> cheers, >> John T. >> >> >>> >>> See this thread on the Ubuntu Forum: >>> http://ubuntuforums.org/showthread.php?t=1140094 >>> >>> -Bruce >>> >>> Olivier Nicole wrote: >>> >>>>> >>>>> but should the message "*Reloading /etc/samba/smb.conf smbd only" >>>>> appear right on the command every five minutes? that surely cannot be >>>>> normal behavior. >>>>> >>>> >>>> Must be depending on how you started samba and what you configured as >>>> a log file. >>>> >>>> If you started samba on command line and have no log configured, all >>>> the messages will come on your command line... >>>> >>>> Olivier >>>> >> >> >> > > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
