Red Hat Bugzilla – Bug 19632
reconfig doesn't configure network
Last modified: 2007-04-18 12:29:27 EDT
`anaconda --reconfig` does not prompt for network
information when started from the initscripts.
i can only get it to work by pre-loading the module
for my nic (eepro100).
maybe add a `/sbin/modprobe eth0` to /etc/init.d/reconfig?
that works fine for me, and would fall through cleanly to a
no-LAN case if there is no `alias eth0` line in /etc/modules.conf
I have verified this appears to be an issue.
although my workaround (loading the eth0 module) allows anaconda --reconfig
to succeed, it sets the hostname improperly.
(it looks like it may be trying to do a reverse nslookup, but of course the
network hasn't been brought up yet)
i.e., in /etc/sysconfig/network, it sets the hostname to localhost.localdomain.
/etc/hosts does not contain the proper hostname either.
the workaround i'm using here is parsing the user-defined hostname out of
/tmp/reconfig.log, and modifying /etc/hosts and /etc/sysconfig/network
Network configuration should be done using the other system configuration tools
in a post-install environment.