[Samba] 2.2.6pre2 (and previous?) "tiny bug" with "log file" attribute
Pierre Belanger
pbelang1 at oss.cantel.rogers.com
Wed Sep 25 19:33:01 GMT 2002
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.
The following ls are right after doing a "stop" and "start":
# ls -l /usr/local/samba/var
drwxr-xr-x 2 root root 512 Sep 25 15:23 locks
drwx------ 2 root root 512 Sep 25 15:21 log
-rw-r--r-- 1 root other 478 Sep 25 15:23 log.nmbd
-rw-r--r-- 1 root root 140 Sep 25 15:23 log.smbd
# ls -l /usr/local/samba/var/log
-rw-r--r-- 1 root root 80 Sep 25 15:11 log.nmbd
-rw-r--r-- 1 root root 0 Sep 25 15:11 log.smbd
Timestamp of files in /usr/local/samba/var are more recent
cuz "nmbd/smbd" didn't write _yet_ in the other files located
in /usr/local/samba/var/log .
Pierre B.
More information about the samba
mailing list