Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Mar 2004 11:22:30 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Rob <nospam@users.sourceforge.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: why bootpd running, though wrapped up in inetd superserver ?
Message-ID:  <20040302112230.GC10058@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <404403AE.7060100@users.sourceforge.net>
References:  <404403AE.7060100@users.sourceforge.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040302112230.GC10058>