From owner-freebsd-questions@FreeBSD.ORG Wed Dec 31 21:25:21 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D341E1065670 for ; Wed, 31 Dec 2008 21:25:21 +0000 (UTC) (envelope-from stanb@panix.com) Received: from mail1.panix.com (mail1.panix.com [166.84.1.72]) by mx1.freebsd.org (Postfix) with ESMTP id 7A0518FC14 for ; Wed, 31 Dec 2008 21:25:21 +0000 (UTC) (envelope-from stanb@panix.com) Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by mail1.panix.com (Postfix) with ESMTP id B744A29402 for ; Wed, 31 Dec 2008 16:25:20 -0500 (EST) Received: from teddy.fas.com (c-76-26-198-188.hsd1.sc.comcast.net [76.26.198.188]) by mailbackend.panix.com (Postfix) with ESMTP id 913D4E5C3 for ; Wed, 31 Dec 2008 16:25:20 -0500 (EST) Received: from stan by teddy.fas.com with local (Exim 3.36 #1 (Debian)) id 1LI8Z6-0007Qv-00 for ; Wed, 31 Dec 2008 16:25:20 -0500 Date: Wed, 31 Dec 2008 16:25:20 -0500 From: stan To: Free BSD Questions list Message-ID: <20081231212520.GA28385@teddy.fas.com> Mail-Followup-To: Free BSD Questions list Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.23 X-Uptime: 16:18:33 up 233 days, 22:41, 1 user, load average: 0.01, 0.04, 0.00 User-Agent: Mutt/1.5.4i Sender: Stan Brown Subject: inetd.conf entry for saned? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Dec 2008 21:25:22 -0000 I seem to be having an inrdinate amount of trouble getting a working inetd.conf entry for saned on 7.1 If I run saned from the command line, I can connect and scan. But I cannot seem to amke it work from inetd Here is what I have: sane-port stream tcp nowait saned /usr/local/sbin/saned saned Yes, I created a user for saned. although I am suprsied that the port did not do that. When I start inetd with the -d flag, I get: black# inetd -d ADD : sane-port proto=tcp accept=1 max=0 user=saned group=(null)class=daemon builtin=0x0 server=/usr/local/sbin/saned policy="" inetd: sane-port/tcp: ipsec initialization failed; in entrust inetd: sane-port/tcp: ipsec initialization failed; out entrust inetd: enabling sane-port, fd 4 inetd: registered /usr/local/sbin/saned on 4 What file do I add this line to? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs.