Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jun 1997 13:49:41 -0700 (PDT)
From:      ahilan@cory.eecs.berkeley.edu
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   bin/3993: /stand/sysinstall bug
Message-ID:  <199706302049.NAA15353@hub.freebsd.org>
Resent-Message-ID: <199706302050.NAA15410@hub.freebsd.org>

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

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



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