[Samba] 2.2.6pre2 (and previous?) "tiny bug" with "log file" attribute

Andrew Bartlett abartlet at samba.org
Wed Sep 25 21:33:00 GMT 2002


Pierre Belanger wrote:
> 
> Hi,
> 
> I never thought I would need to change the default log
> file path, but I had and found a bug.
> 
> When changing my default "log file" from
> 
>   /usr/local/samba/var/log.%m
> 
> to
> 
>   /usr/local/samba/var/log/log.%m
> 
> there are always files created in the "default compiled"
> log directory /usr/local/samba/var when nmbd and smbd
> start.

Yes - we need to start logging before we have parsed the configuration
file.  There is a lot that can go wrong before we get there, and the
admin needs to have some chance of finding it.  There is a command line
optin if you would prefer, and that is parsed very early.

Andrew Bartlett

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net



More information about the samba mailing list