last chance for 2.0.6
Giulio Orsero
giulioo at tiscalinet.it
Tue Nov 9 15:34:02 GMT 1999
On Wed, 10 Nov 1999 01:59:14 +1100, hai scritto:
>On Wed, Nov 10, 1999 at 01:52:11AM +1100, Giulio Orsero wrote:
>>
>> major issue:
>> 1) sighup/log reopening (am I the only one to still have problem with
>> this?)
>
>I'd like to get to the bottom of this, but I haven't been able to
>reproduce this problem since I added the extra code to the parent. Are you
>sure it is in fact the latest version that you are testing with?
>
>Can you reproduce it manually (move logfile out of the way and send SIGHUP;
>old log continues to be used) or is it just when trying to perform automatic
>log rotation?
>
> Matt
I have problem with nightly rotations, and can reproduce the problem "by
hand".
I delete all logs, start samba, have a pc estabilish a connection to
samba (it shows in smbstatus), rename logs, killall -HUP smbd and nmbd,
do "smbclient ,......" on linux (just to do something) --> new logs,
have the same pc connect to another share --> old logs.
This is from pre3 cvs'ed tuesday at 15:07 GMT (it contains all the
printer filename handling stuff too), server is rh6 2.2.13:
[root at i5 samba]# pwd
/var/log/samba
[root at i5 samba]# ls -l
total 0
[root at i5 samba]# /etc/rc.d/init.d/smb start
Starting SMB services: [ OK ]
Starting NMB services: [ OK ]
[root at i5 samba]# ls -l
total 2
-rw-r--r-- 1 root root 134 Nov 9 18:26 log.nmb
-rw-r--r-- 1 root root 254 Nov 9 18:26 log.smb
(a pc connects to samba)
[root at i5 samba]# ls -l
total 3
-rw-r--r-- 1 root root 134 Nov 9 18:26 log.nmb
-rw-r--r-- 1 root root 1314 Nov 9 18:27 log.smb
[root at i5 samba]# smbstatus -S
Samba version 2.0.6-pre3
Service uid gid pid machine
----------------------------------------------
go go go 742 go (10.0.0.172) Tue Nov 9
18:27:55 1999
[root at i5 samba]# mv log.smb log.smb.1
[root at i5 samba]# mv log.nmb log.nmb.1
[root at i5 samba]# killall -HUP smbd
[root at i5 samba]# killall -HUP nmbd
[root at i5 samba]# ls -l
total 3
-rw-r--r-- 1 root root 742 Nov 9 18:29 log.nmb.1
-rw-r--r-- 1 root root 1444 Nov 9 18:29 log.smb.1
[root at i5 samba]# smbclient '\\i5\abcd' xyz -U baduser 1>/dev/null 2>&1
[root at i5 samba]# ls -l
total 4
-rw-r--r-- 1 root root 0 Nov 9 18:29 log.nmb
-rw-r--r-- 1 root root 742 Nov 9 18:29 log.nmb.1
-rw-r--r-- 1 root root 353 Nov 9 18:29 log.smb
-rw-r--r-- 1 root root 1444 Nov 9 18:29 log.smb.1
(the same pc connects to another share)
[root at i5 samba]# ls -l
total 4
-rw-r--r-- 1 root root 0 Nov 9 18:29 log.nmb
-rw-r--r-- 1 root root 742 Nov 9 18:29 log.nmb.1
-rw-r--r-- 1 root root 353 Nov 9 18:29 log.smb
-rw-r--r-- 1 root root 1592 Nov 9 18:29 log.smb.1
[root at i5 samba]# smbstatus -S
Samba version 2.0.6-pre3
Service uid gid pid machine
----------------------------------------------
go go go 742 go (10.0.0.172) Tue Nov 9
18:27:55 1999
windows cdi cdi 742 go (10.0.0.172) Tue Nov 9
18:29:39 1999
--
giulioo at tiscalinet.it
More information about the samba-technical
mailing list