From tilman@arved.de  Wed May 21 14:57:22 2003
Return-Path: <tilman@arved.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id EFF1D37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 21 May 2003 14:57:22 -0700 (PDT)
Received: from 21322530218.direct.eti.at (21322530218.direct.eti.at [213.225.30.218])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 4008743F93
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 21 May 2003 14:57:21 -0700 (PDT)
	(envelope-from tilman@arved.de)
Received: from sauna.arved.de (sauna.arved.de [192.168.2.4])
	by 21322530218.direct.eti.at (8.12.9/8.12.6) with ESMTP id h4LLvJDp017853
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 21 May 2003 23:57:19 +0200 (CEST)
	(envelope-from tilman@arved.de)
Received: from sauna.arved.de (sauna.arved.de [127.0.0.1])
	by sauna.arved.de (8.12.9/8.12.9) with ESMTP id h4LLvJIZ036949
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 21 May 2003 23:57:19 +0200 (CEST)
	(envelope-from tilman@sauna.arved.de)
Received: (from tilman@localhost)
	by sauna.arved.de (8.12.9/8.12.9/Submit) id h4LLvJ6b036948;
	Wed, 21 May 2003 23:57:19 +0200 (CEST)
Message-Id: <200305212157.h4LLvJ6b036948@sauna.arved.de>
Date: Wed, 21 May 2003 23:57:19 +0200 (CEST)
From: Tilman Linneweh <arved@freebsd.org>
Reply-To: Tilman Linneweh <arved@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: bug in diskless operation chapter
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         52543
>Category:       docs
>Synopsis:       bug in diskless operation chapter
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 21 15:00:34 PDT 2003
>Closed-Date:    Thu May 22 08:43:45 CEST 2003
>Last-Modified:  Thu May 22 08:43:45 CEST 2003
>Originator:     Tilman Linneweh
>Release:        FreeBSD 5.1-BETA i386
>Organization:
BSD Usergroup Austria
>Environment:
System: FreeBSD sauna.arved.de 5.1-BETA FreeBSD 5.1-BETA #7: Mon May 19 12:24:51 CEST 2003 tilman@sauna.arved.de:/usr/obj/usr/src/sys/SAUNA i386


	
>Description:
	The line in the Handbook does not match our default in /etc/inetd.conf.
	The user has to be root, because the tftpd does a chroot. 

	From tftpd(8):

	Because chroot(2) requires super-user privileges, tftpd must
     	be run as root.  However, after performing the chroot(), tftpd will set
     	its user id to that of the specified user, or ``nobody'' if no -u option
     	is specified.

	
>How-To-Repeat:
	
>Fix:

	

--- advanced-networking.diff begins here ---
Index: chapter.sgml
===================================================================
RCS file: /home/ncvs/doc/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.sgml,v
retrieving revision 1.217
diff -u -u -r1.217 chapter.sgml
--- chapter.sgml	20 May 2003 14:45:33 -0000	1.217
+++ chapter.sgml	21 May 2003 21:52:28 -0000
@@ -1911,7 +1911,7 @@
             <para>Add this line to your
 	      <filename>/etc/inetd.conf</filename>:</para>
 
-	    <programlisting>tftp    dgram   udp     wait    nobody  /usr/libexec/tftpd    tftpd /tftpboot</programlisting>
+	    <programlisting>tftp    dgram   udp     wait    root  /usr/libexec/tftpd    tftpd /tftpboot</programlisting>
 
 	    <note><para>It appears that at least some PXE versions want
 		the TCP version of TFTP.  In this case, add a second line,
--- advanced-networking.diff ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: brueffer 
State-Changed-When: Thu May 22 08:43:24 CEST 2003 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=52543 
>Unformatted:
