From owner-freebsd-questions@FreeBSD.ORG Tue Mar 2 03:22:46 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 21D8116A4CE for ; Tue, 2 Mar 2004 03:22:46 -0800 (PST) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 667E243D2D for ; Tue, 2 Mar 2004 03:22:45 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])i22BMVXE008697 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 2 Mar 2004 11:22:31 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i22BMUcV008680; Tue, 2 Mar 2004 11:22:30 GMT (envelope-from matthew) Date: Tue, 2 Mar 2004 11:22:30 +0000 From: Matthew Seaman To: Rob Message-ID: <20040302112230.GC10058@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Rob , freebsd-questions@freebsd.org References: <404403AE.7060100@users.sourceforge.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Izn7cH1Com+I3R9J" Content-Disposition: inline In-Reply-To: <404403AE.7060100@users.sourceforge.net> User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-questions@freebsd.org Subject: Re: why bootpd running, though wrapped up in inetd superserver ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2004 11:22:46 -0000 --Izn7cH1Com+I3R9J Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 02, 2004 at 12:46:54PM +0900, Rob wrote: > I'm using bootpd for booting-up another diskless PC. >=20 > In inetd.conf, I have enabled the bootps line, but to > my surprise, bootpd keeps running continuously after > being called once. I thought wrapping the daemon up in > the inetd superserver would prevent this. >=20 > I have tried already the bootpd-flags "-t 5" and "-i" to no avail. >=20 > Any idea what's wrong here, or am I myself making a mistake here ? You seem to be doing everything right. Most odd. I see that the default timeout is 15 minutes (by inspecting the source code: see /usr/src/libexec/pootpd/pootpd.c, and look for the actualtimeout struct) -- can you test waiting that long to see if the bootpd process will eventually time out? It might be worth running tcpdump(1) on your network interface to verify that there isn't any traffic on ports 67 or 68 during that time -- the timeout gets reset whenever there's any traffic at all. When you edited /etc/inetd.conf to insert the '-t 5' option, did you send a HUP signal to inetd(8) to make it reread the config file? # kill -HUP `cat /var/run/inetd.pid` Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --Izn7cH1Com+I3R9J Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFARG52dtESqEQa7a0RAuenAJ0YVGjQnkNOELXMsLVM3cxlQbq5LACeLwSP WULLiQE4VUmnFsJHs5kUg7M= =4ljt -----END PGP SIGNATURE----- --Izn7cH1Com+I3R9J--