From kogane@syd.odn.ne.jp  Tue Feb  4 07:48:13 2003
Return-Path: <kogane@syd.odn.ne.jp>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 72C1437B401
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  4 Feb 2003 07:48:13 -0800 (PST)
Received: from t-mta4.odn.ne.jp (mfep4.odn.ne.jp [143.90.131.182])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B858143F93
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  4 Feb 2003 07:48:12 -0800 (PST)
	(envelope-from kogane@syd.odn.ne.jp)
Received: from kces1.koganemaru.co.jp ([210.237.254.163])
          by t-mta4.odn.ne.jp with ESMTP
          id <20030204154812032.LJKZ.26728.t-mta4.odn.ne.jp@mta4.odn.ne.jp>
          for <FreeBSD-gnats-submit@freebsd.org>;
          Wed, 5 Feb 2003 00:48:12 +0900
Received: (from kogane@localhost)
	by kces1.koganemaru.co.jp (8.8.8/3.6W) id AAA00703;
	Wed, 5 Feb 2003 00:48:25 +0900 (JST)
Message-Id: <200302041548.AAA00703@kces1.koganemaru.co.jp>
Date: Wed, 5 Feb 2003 00:48:25 +0900 (JST)
From: n-kogane@syd.odn.ne.jp
Reply-To: n-kogane@syd.odn.ne.jp
To: FreeBSD-gnats-submit@freebsd.org
Subject: /stand/sysinstall can't display document files
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         47908
>Category:       bin
>Synopsis:       [sysinstall] /stand/sysinstall can't display document files
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-qa
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 04 07:50:13 PST 2003
>Closed-Date:    Sat Oct 07 18:45:10 GMT 2006
>Last-Modified:  Sat Oct 07 18:45:10 GMT 2006
>Originator:     Nobuyuki Koganemaru
>Release:        FreeBSD 5.0-RELEASE i386
>Organization:
KOGANEMARU Computer Engineering Service Corporation.
>Environment:
System: FreeBSD kcesx11.koganemaru.co.jp 5.0-RELEASE FreeBSD 5.0-RELEASE #0: Thu Jan 16 22:16:53 GMT 2003 root@hollin.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386


>Description:
	/stand/sysinstall can't display document files.
	
>How-To-Repeat:
	% /stans/sysinstall
	[Main Menu] -> [Doc] -> [Copyright] 
	                     -> other files
	[Main Menu] -> [Usage]

	try to following commands.
	% /stand/gunzip </stand/help/COPYRIGHT.hlp	# OK
	% /usr/bin/gunzip </stand/help/COPYRIGHT.hlp	# NG

	It is better to compress document files, for disk space saveing.
>Fix:

--- usr.sbin/sysinstall/system.c.orig	Sat Oct 12 07:30:09 2002
+++ usr.sbin/sysinstall/system.c	Wed Feb  5 01:10:47 2003
@@ -110,7 +110,7 @@
 static char *
 expand(char *fname)
 {
-    char *gunzip = RunningAsInit ? "/stand/gunzip" : "/usr/bin/gunzip";
+    char *gunzip = "/stand/gunzip";
 
     if (!directory_exists(DOC_TMP_DIR)) {
 	Mkdir(DOC_TMP_DIR);

>Release-Note:
>Audit-Trail:

From: Makoto Matsushita <matusita@jp.FreeBSD.org>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: misc/47908: /stand/sysinstall can't display document files
Date: Thu, 06 Feb 2003 14:10:58 +0900

 n-kogane> 	% /stand/gunzip </stand/help/COPYRIGHT.hlp	# OK
 n-kogane> 	% /usr/bin/gunzip </stand/help/COPYRIGHT.hlp	# NG
 
 If that's not working, it's a gunzip or other problem, not a
 sysinstall problem.
 
 n-kogane> -    char *gunzip = RunningAsInit ? "/stand/gunzip" : "/usr/bin/gunzip";
 n-kogane> +    char *gunzip = "/stand/gunzip";
 
 This patch simply hides the real problem IMO.
 
 -- -
 Makoto `MAR' Matsushita
Responsible-Changed-From-To: freebsd-bugs->qa 
Responsible-Changed-By: kris 
Responsible-Changed-When: Fri Jul 18 15:45:48 PDT 2003 
Responsible-Changed-Why:  
Assign to qa group 

http://www.freebsd.org/cgi/query-pr.cgi?pr=47908 
State-Changed-From-To: open->closed 
State-Changed-By: ceri 
State-Changed-When: Sat Oct 7 18:44:40 UTC 2006 
State-Changed-Why:  
This is fine in 6.2-BETA2 

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