From owner-freebsd-qa@FreeBSD.ORG Tue Nov 9 22:40:29 2004 Return-Path: Delivered-To: freebsd-qa@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 056BC16A4D2 for ; Tue, 9 Nov 2004 22:40:29 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E568743D53 for ; Tue, 9 Nov 2004 22:40:28 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id iA9MeSrR027563 for ; Tue, 9 Nov 2004 22:40:28 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id iA9MeSJ3027562; Tue, 9 Nov 2004 22:40:28 GMT (envelope-from gnats) Date: Tue, 9 Nov 2004 22:40:28 GMT Message-Id: <200411092240.iA9MeSJ3027562@freefall.freebsd.org> To: freebsd-qa@FreeBSD.org From: Olafur Osvaldsson Subject: Re: bin/73692 [sysinstall] exiting sysinstall appends text to rc.conf X-BeenThere: freebsd-qa@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Olafur Osvaldsson List-Id: FreeBSD Quality Assurance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2004 22:40:29 -0000 The following reply was made to PR bin/73692; it has been noted by GNATS. From: Olafur Osvaldsson To: freebsd-gnats-submit@FreeBSD.org Cc: nehalmistry@gmx.net Subject: Re: bin/73692 [sysinstall] exiting sysinstall appends text to rc.conf Date: Tue, 9 Nov 2004 22:31:58 +0000 --r5Pyd7+fXNt84Ff3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Attached is a patch that fixes this bug. It was introduced by trhodes at Sat Jul 12 15:33:09 2003 UTC http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/sysinstall/config.c.diff?r1=1.210&r2=1.211 /Oli -- Olafur Osvaldsson Systems Administrator Internet a Islandi hf. Tel: +354 525-5291 Email: oli@isnic.is --r5Pyd7+fXNt84Ff3 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="sysinstall.diff" --- usr.sbin/sysinstall/config.c.orig Tue Nov 9 22:13:20 2004 +++ usr.sbin/sysinstall/config.c Tue Nov 9 22:24:44 2004 @@ -428,7 +428,7 @@ fprintf(rcSite, "#REMOVED: %s", line); } fclose(rcOld); - } else { + } else if (write_header) { fprintf(rcSite, "# This file now contains just the overrides from /etc/defaults/rc.conf.\n"); fprintf(rcSite, "# Please make all changes to this file, not to /etc/defaults/rc.conf.\n\n"); fprintf(rcSite, "# Enable network daemons for user convenience.\n"); --r5Pyd7+fXNt84Ff3--