From owner-freebsd-bugs Mon Jun 30 13:50:07 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA15419 for bugs-outgoing; Mon, 30 Jun 1997 13:50:07 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA15410; Mon, 30 Jun 1997 13:50:04 -0700 (PDT) Resent-Date: Mon, 30 Jun 1997 13:50:04 -0700 (PDT) Resent-Message-Id: <199706302050.NAA15410@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, ahilan@cory.eecs.berkeley.edu Received: (from nobody@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA15353; Mon, 30 Jun 1997 13:49:41 -0700 (PDT) Message-Id: <199706302049.NAA15353@hub.freebsd.org> Date: Mon, 30 Jun 1997 13:49:41 -0700 (PDT) From: ahilan@cory.eecs.berkeley.edu To: freebsd-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: www-1.0 Subject: bin/3993: /stand/sysinstall bug Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 3993 >Category: bin >Synopsis: /stand/sysinstall bug >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jun 30 13:50:04 PDT 1997 >Last-Modified: >Originator: Ahilan Anantha >Organization: University of California >Release: 2.2.2 >Environment: FreeBSD grendel.cse.ucsc.edu 2.2.2-RELEASE FreeBSD 2.2.2-RELEASE #0: Tue Jun 24 14:43:10 PDT 1997 root@grendel.cse.ucsc.edu:/usr/src/sys/compile/GRENDEL i386 >Description: sysinstall apparently "repeats" the comments of every line in /etc/rc.conf, when adding ports collection software through FTP. It does this at most once for every instance software is added through sysinstall (via FTP). Eventually, sysinstall fails to be able to read the network configuration and crashes with a SIG11 and core dump. Manually editing the /etc/rc.config file to remove the added comments (specifically removing the added comments for the network configuration) or redoing the network configuration through sysinstall repairs the problem for the next instance package install. But sysinstall will continue to repeat the comments afterwards. Here is an example line from /etc/rc.conf (before it got messed up) hostname="grendel.cse.ucsc.edu" # Set this! After running sysinstall multiple times: hostname="grendel.cse.ucsc.edu" # Set this!" # Set this!" # Set this!" # Set this!" # Set this!" # Set this!" # Set this!" # Set this!" # Set th is!" # Set this!" # Set this!" # Set this!" # Set this!" # Set this!" # Set this!" # Set this! >How-To-Repeat: Install packaged software through /stand/sysinstall in multi-user more (after the machine has been initially set up) via FTP, selecting "YES" when asked if the network interface is configured. Examine /etc/rc.conf before and after. >Fix: >Audit-Trail: >Unformatted: