From owner-freebsd-current@freebsd.org Fri Aug 14 11:45:38 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B63C599F076 for ; Fri, 14 Aug 2015 11:45:38 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 705D81AF6; Fri, 14 Aug 2015 11:45:38 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.85) with esmtp (envelope-from ) id <1ZQDQU-000JCf-Qo>; Fri, 14 Aug 2015 13:45:34 +0200 Received: from p578a69f9.dip0.t-ipconnect.de ([87.138.105.249] helo=freyja.zeit4.iv.bundesimmobilien.de) by inpost2.zedat.fu-berlin.de (Exim 4.85) with esmtpsa (envelope-from ) id <1ZQDQU-000lQY-Kn>; Fri, 14 Aug 2015 13:45:34 +0200 Date: Fri, 14 Aug 2015 13:45:33 +0200 From: "O. Hartmann" To: Ed Schouten Cc: freebsd-current , marcel@freebsd.org Subject: Re: r286615: /usr/libexec/ftpd broken! Message-ID: <20150814134533.690e2091@freyja.zeit4.iv.bundesimmobilien.de> In-Reply-To: References: <20150811074041.6700e943@freyja.zeit4.iv.bundesimmobilien.de> <20150811104451.2031fff2@freyja.zeit4.iv.bundesimmobilien.de> Organization: FU Berlin X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.28; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Originating-IP: 87.138.105.249 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Aug 2015 11:45:38 -0000 On Tue, 11 Aug 2015 13:18:14 +0200 Ed Schouten wrote: > Hi there, > > 2015-08-11 10:44 GMT+02:00 O. Hartmann : > > ftpd starts sometimes, sporadically, and dies somewhere in the process. > > Connections to the ftpd aren't possible. Sockstat doesn't even show up a > > TCP/IP socket (21, ftp/tcp) where the daemon is supposed to listen for > > incoming connection - I see only udp4 (connecting to > > local_unbound/127.0.0.1:53). This is strange ... > > That's annoying. We should fix that. > > I recently made some changes to shutdown(2), but a grep reveals that > ftpd doesn't call that function anywhere. Phew! The last changes made > to ftpd are related to libxo. Adding marcel@, just to be sure. > > In the meantime, could you maybe run truss(8) over ftpd and send us the > output? > > Thanks, I have real issues understanding FreeBSD's ftpd! Man page "ftpusers(5)" states, that an entry "username allow" will allow access to ftpd. But every user listed in /etc/ftpusers is denied access, no matter whether there is "allow" appended to the entry or not! This is strange. Whenever I delete a user's name from that file I wish to have access to the ftpd service, that user can login - but addig the users even as "username allow" (no * in the file, nothing else but the initial users names) access is denied. I managed so far to start the ftpd via inetd - the service running from /etc/rc.conf is still impossible. But operations, not even a simple "ls", are possible since the service dies ... Either I'm some kind of dull and do not understand this brillant peice of software, or there is something really fishy. regards and nice weekend, oh