Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jul 2000 18:30:02 -0700 (PDT)
From:      Makoto MATSUSHITA <matusita@jp.freebsd.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/20054: ftpd: rotating _PATH_FTPDSTATFILE losts xferlog
Message-ID:  <200007250130.SAA39370@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/20054; it has been noted by GNATS.

From: Makoto MATSUSHITA <matusita@jp.freebsd.org>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: bin/20054: ftpd: rotating _PATH_FTPDSTATFILE losts xferlog
Date: Tue, 25 Jul 2000 10:26:37 +0900

 After some additional investigation,
 
 matusita> 	1) Use syslogd for xferlog also.
 
 It is substitutable by 'ftpd -l -l'. Practically it is not the same of
 xferlog, however, it works *now*.
 
 matusita> 	2) logxfer() in ftpd.c does open(2)-write(2)-close(2) xferlog.
 matusita> 	3) ftpd re-opens xferlog iff SIGHUP is catched up.
 
 This requires ftpd can open xferlog *at any time*. What if ftpd runs
 for user 'anonymous' or whatever user who is listed on /etc/ftpchroot ?
 
 Anyway,
 
 matusita> 	How about 1) + "enable feature of 1) with yet another
 matusita> 	option ?".
 
 -- -
 Makoto `MAR' MATSUSHITA
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007250130.SAA39370>