Bug 37710 - sysinstall(8): LAN interface in wrong state after attempting net install
Summary: sysinstall(8): LAN interface in wrong state after attempting net install
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-sysinstall (Nobody)
Keywords: IntelNetworking
Depends on:
Reported: 2002-05-03 15:10 UTC by vandys@zendo.com
Modified: 2015-06-25 18:31 UTC (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description vandys@zendo.com 2002-05-03 15:10:01 UTC
      When attempting a net install, I chose an FTP source which
happened to be now.  Although the system offered to try again,
the interface had been brought down, and was not put back "up"
before this retry attempt.  Thus subsequent attempts failed until
I switched consoles to a shell and ifconfig'ed the interface back


Check your logic for when you force the interface down.
Also remember that the default route will be lost when the
interface is deleted, so the gateway has to be reinstalled when
the interface is brought up again.
Comment 1 dwmalone freebsd_committer 2002-05-06 09:47:35 UTC
Responsible Changed
From-To: freebsd-bugs->murray

Sysinstall PR for Murray.
Comment 2 Murray Stokely freebsd_committer 2005-03-18 02:40:03 UTC
Responsible Changed
From-To: murray->freebsd-qa

I am no longer working in this area.
Comment 3 Bruce Cran freebsd_committer 2010-04-30 19:54:55 UTC
Responsible Changed
From-To: freebsd-bugs->brucec

Comment 4 Garrett Cooper 2010-04-30 22:40:04 UTC
    The problem with this issue is that the logic to do the work of
bringing up the interfaces is only contingent on one state: is the
system running as init (pid == 1) or not? If it's running as init it
will go and nuke the interfaces, default route, etc... which is
probably not what you want ;]. Some possible solutions:
    1. Modifying the install script to check via ifconfig to see
whether or not things are up, set an environment variable, and proceed
at init time (hacky solution).
    2. Inline the check in the sysinstall code to verify via ifconfig
(PITA to maintain).
    3. Just prompt the user every single time they run an install IF
they want to monkey around with the interface configuration.
    3. seems very doable and it wouldn't impede too much with the user
experience IMO; most folks just need to run through the configuration
once, if they fail and have to go back, well, que sirrah sirrah... one
dialog wouldn't hurt too much. To alleviate usability issues, a global
variable could be added to state `hey, network's setup -- we don't
need to monkey frak around with it twice' to improve user experience,
but there needs to be an override switch in that event so that if
people screw things up they can go and reconfigure the details again.
That's one piece that's not really available today that could be done
better in sysinstall.
Comment 5 Bruce Cran freebsd_committer 2011-01-23 20:54:31 UTC
Responsible Changed
From-To: brucec->freebsd-sysinstall

Back to the pool.