bin/145553: [patch] [sysinstall] fix default route

Garrett Cooper gcooper at FreeBSD.org
Mon Apr 12 08:40:03 UTC 2010


The following reply was made to PR bin/145553; it has been noted by GNATS.

From: Garrett Cooper <gcooper at FreeBSD.org>
To: bug-followup <bug-followup at freebsd.org>
Cc: randi at freebsd.org
Subject: Re: bin/145553: [patch] [sysinstall] fix default route
Date: Mon, 12 Apr 2010 01:31:54 -0700

 On Mon, Apr 12, 2010 at 1:22 AM, Garrett Cooper <gcooper at freebsd.org> wrote=
 :
 > 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=3D/usr/sbin/sysinstall
 > set vfs.root.mountfrom=3Dcd9660:/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
 > =A0 =A0mdconfig -a -t malloc -s ${i##*:}
 > =A0 =A0newfs /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.
 
 Correction: steps _6._ - 11.
 
 > 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


More information about the freebsd-bugs mailing list