From owner-freebsd-bugs@FreeBSD.ORG Mon Apr 12 08:30:05 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D123106566B for ; Mon, 12 Apr 2010 08:30:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DC5D98FC1E for ; Mon, 12 Apr 2010 08:30:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o3C8U4g6002442 for ; Mon, 12 Apr 2010 08:30:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o3C8U41U002439; Mon, 12 Apr 2010 08:30:04 GMT (envelope-from gnats) Date: Mon, 12 Apr 2010 08:30:04 GMT Message-Id: <201004120830.o3C8U41U002439@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Garrett Cooper Cc: Subject: Re: bin/145553: [patch] [sysinstall] fix default route X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Garrett Cooper List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Apr 2010 08:30:05 -0000 The following reply was made to PR bin/145553; it has been noted by GNATS. From: Garrett Cooper To: bug-followup Cc: Subject: Re: bin/145553: [patch] [sysinstall] fix default route Date: Mon, 12 Apr 2010 01:22:31 -0700 Just tested via qemu, and patch does indeed deliver as expected. Verified with the following steps: 1. Booted cd image. 2. Specified the following via loader(8): set init_path=/usr/sbin/sysinstall set vfs.root.mountfrom=cd9660:/dev/acd0 3. Selected appropriate locale. 4. Brought up FIXIT shell. 5. Prepared necessary filesystems: for i in 0:256M 1:10M 2:10M; do mdconfig -a -t malloc -s ${i##*:} newfs /dev/md${i##%:*} done mount /dev/md0 /tmp mount /dev/md1 /var mount /dev/md2 /tmp cp -Rfp /etc/ /tmp umount /tmp mount /dev/md2 /etc 6. Stepped through procedure as usual with partitioning and labeling. 7. Chose minimum for the distribution. 8. Set the medium to ftp.freebsd.org 9. Provided bogus static IP for the first try. 10. Switched to vty3 and noted default route (was bogus route). 11. Pressed CTRL-C after it tried to connect to said address, restarted sysinstall. 12. Repeated steps 5. - 11., but provided valid IP data to sysinstall. Interface came up and route changed as expected; route(8) didn't complain that the default route already existed (symptom of previous behavior). vty1 also reported the route change. Thanks, -Garrett