From owner-freebsd-current@freebsd.org Mon Apr 3 15:50:40 2017 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 5B35AD2BD25 for ; Mon, 3 Apr 2017 15:50:40 +0000 (UTC) (envelope-from shuriku@shurik.kiev.ua) Received: from graal.it-profi.org.ua (graal.shurik.kiev.ua [193.239.74.7]) (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 1888630F for ; Mon, 3 Apr 2017 15:50:39 +0000 (UTC) (envelope-from shuriku@shurik.kiev.ua) Received: from mail.lissoft.com.ua ([109.237.91.29] helo=thinkpad.it-profi.org.ua) by graal.it-profi.org.ua with esmtpa (Exim 4.89 (FreeBSD)) (envelope-from ) id 1cv3aE-000L2X-14; Mon, 03 Apr 2017 18:07:54 +0300 Subject: Re: inetd startup script missing from /etc/rc.d in both -current and 11-stable To: tech-lists , freebsd-current@freebsd.org References: <471c8e3d-3745-78bd-b8e3-1319e814076d@zyxst.net> From: Alexandr Krivulya Message-ID: Date: Mon, 3 Apr 2017 18:07:43 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.0 MIME-Version: 1.0 In-Reply-To: <471c8e3d-3745-78bd-b8e3-1319e814076d@zyxst.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-SA-Exim-Connect-IP: 109.237.91.29 X-SA-Exim-Mail-From: shuriku@shurik.kiev.ua X-SA-Exim-Scanned: No (on graal.it-profi.org.ua); SAEximRunCond expanded to false X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 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: Mon, 03 Apr 2017 15:50:40 -0000 Hi! I think you loose it after some updates. Both 11-stable and current contains it: https://svnweb.freebsd.org/base/head/etc/rc.d/inetd?view=log https://svnweb.freebsd.org/base/stable/11/etc/rc.d/inetd?view=log Check your src tree and install it. 03.04.2017 17:00, tech-lists пишет: > Hello current@, > > From https://www.freebsd.org/doc/handbook/network-inetd.html I should be > able to start inetd like this: > > service inetd start > > ...after enabling it in /etc/rc.conf. The inetd options look like this: > > inetd_enable="YES" > inetd_program="/usr/sbin/inetd" > inetd_flags="-wW -C 60" > > The problem is that the startup script doesn't exist in /etc/rc.d. I get > this error: > > # service inetd start > inetd does not exist in /etc/rc.d or the local startup > directories (/usr/local/etc/rc.d), or is not executable > > and the lines in rc.conf have no effect (inetd doesn't start). > > I can, however, start it manually, as root, like this: > > # inetd -wW -C 60 > > and it runs as expected. > > This problem exists in 11-stable as well as -current. How can I fix this > please? > > thanks, --