The issue tracker has been moved https://gitlab.archlinux.org/archlinux/archiso/-/issues
FS#12378 - bad network autoconfig in /etc/rc.conf when network on eth1
Attached to Project:
Release Engineering
Opened by Eric Barrat (nowahn) - Sunday, 07 December 2008, 19:41 GMT
Last edited by Gerhard Brauer (GerBra) - Saturday, 11 July 2009, 17:04 GMT
Opened by Eric Barrat (nowahn) - Sunday, 07 December 2008, 19:41 GMT
Last edited by Gerhard Brauer (GerBra) - Saturday, 11 July 2009, 17:04 GMT
|
DetailsDescription:
when there are 2 ethenet interfaces (eth0 and eth1), and network is on eth1 : - the install script writes "eth1=..." to /etc/rc.conf (that's OK) - but it writes "INTERFACES=(eth0)" note that I use dhcp, I did not test using static configuration, in case in changes something (I don't think so) Additional info: * package version(s) * config and/or log files etc. Steps to reproduce: |
This task depends upon
Closed by Gerhard Brauer (GerBra)
Saturday, 11 July 2009, 17:04 GMT
Reason for closing: Fixed
Additional comments about closing: Tested with 2 NICs, using eth1. Settings in rc.conf are ok.
Saturday, 11 July 2009, 17:04 GMT
Reason for closing: Fixed
Additional comments about closing: Tested with 2 NICs, using eth1. Settings in rc.conf are ok.
- it is an installation bug, so it might be a bug in the install script
- I am using the 2008.06 CD, but I have just tested the new version (2008.12 posted yesterday for test) and it makes the same bug
http://bbs.archlinux.org/viewtopic.php?id=60385
(I think this bug has always been present, but never seen because configurations with 2 ethernet interfaces and only eth1 used are rare)
the only config lines being involved in that bug are :
eth1="..."
INTERFACES=(eth0)
in /etc/rc.conf, but in the system being installed, not in the system being installing it
if you really want me to join some config files or some additional version numbers, please say whitch ones because I don't know whitch ones to join
this install bug occurs when installing from ftp, not from core CD.
when installing from ftp :
you first setup network
then install the system
when you enter "config the system" step, you are ask wether you want to keep previous network setting in /etc/rc.conf
it is here that only half the job is done :
* eth1="..." is correct
* INTERFACES=(eth0) is not correct
Should not be a stopper for 2009.01 (if aif is maybe used next times, this wouldn't be fixed in current installer).
Is on my ToDo....
setup does: sed -i "s#eth0)#$INTERFACE)#g" ${DESTDIR}/etc/rc.conf
aif does: sed -i "s#INTERFACES=(eth0)#INTERFACES=($INTERFACE)#g" ${var_TARGET_DIR}/etc/rc.conf
So it should work :s
Also:
> this install bug occurs when installing from ftp, not from core CD.
really? Does anyone know if there is any difference? I mean, the installer is the same right?
this bug occurs when installing from ftp from the core CD.
I cannot find the problem in /arch/setup or in AIF.
when you pick ftp, you choose $INTERFACE, and later this $INTERFACE should be replaced into /etc/rc.conf.
Do you know where the problem is?
http://github.com/Dieterbe/aif/commit/61bd867bb9fffc93a9feaffd00d7992d3bcc89c1
Let me know how this works for you