*BSD News Article 5812


Return to BSD News archive

Path: sserve!manuel!munnari.oz.au!uunet!mcsun!Germany.EU.net!unidui!du9ds3!veit
From: veit@du9ds3.uni-duisburg.de (Holger Veit)
Newsgroups: comp.unix.bsd
Subject: Re: ftpd -l (inetd.conf)
Date: 30 Sep 92 12:58:52 GMT
Organization: Uni-Duisburg FB9 Datenverarbeitung
Lines: 33
Message-ID: <veit.717857932@du9ds3>
References: <1992Sep30.110049.897@Urmel.Informatik.RWTH-Aachen.DE>
Reply-To: veit@du9ds3.uni-duisburg.de
NNTP-Posting-Host: du9ds3.uni-duisburg.de
Keywords: inetd ftpd

In <1992Sep30.110049.897@Urmel.Informatik.RWTH-Aachen.DE> kuku@acds.physik.rwth-aachen.de (Christoph Kukulies) writes:


>I'm running ftpd as an anonymous ftp server on my 386BSD box and although
>ftpd -l is enabled in /etc/inetd.conf I never see any FTP log messages
>in /var/log/messages. Is this a bug of inetd?

>--
>--Chris
>Christoph P. U. Kukulies
>kuku@acds.physik.rwth-aachen.de
>*** Error code 1
> 
>Stop.

I haven't looked yet in the special ftpd code of 386bsd, but I encountered
a similiar problem with another one (from reno or so, don't remember exactly).
The problem was that the ftpd uses the syslog call which in turn opened
a named pipe in /dev for outputting messages to the daemon. Unfortunately, 
with an anonymous ftp, the ftpd does a chroot to the public directory, and 
thus can no longer access the original /dev, because it is no longer under
the root. You should inquire about the way log messages are processed by
syslog and ftpd. Inetd is not involved in this business, if the plain
ftp login works.

Holger


-- 
|  |   / Dr. Holger Veit         | INTERNET: veit@du9ds3.uni-duisburg.de
|__|  /  University of Duisburg  | "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|  | /   Dept. of Electr. Eng.   |   Sorry, the above really good fortune has
|  |/    Inst. f. Dataprocessing |      been CENSORED because of obscenity"