From owner-freebsd-bugs Mon Jul 24 18:30: 7 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 9455C37B71D for ; Mon, 24 Jul 2000 18:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id SAA39370; Mon, 24 Jul 2000 18:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Mon, 24 Jul 2000 18:30:02 -0700 (PDT) Message-Id: <200007250130.SAA39370@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Makoto MATSUSHITA Subject: Re: bin/20054: ftpd: rotating _PATH_FTPDSTATFILE losts xferlog Reply-To: Makoto MATSUSHITA Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/20054; it has been noted by GNATS. From: Makoto MATSUSHITA 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