Hello, I just added the "ifconfig" command to the chroot script and it's output is perfectly OK, i.e. network is configured correctly. Hence, it really does look like a DNS problem in stage 2... On 08/07/2012 12:02 AM, 686f6c6d wrote:
On Mon, Aug 6, 2012 at 10:17 PM, Joschi Brauchle <joschi.brauchle@tum.de> wrote:
So, about the original problem: it looks like there is no network connection during the chroot and init script phase.
I ran an chrooted chroot script with feedback, that was supposed to do a ----- host <NFS server> mount -t nfs .... <something from the NFS server> ----- where the first command fails with a timeout and the second says it cannot resolve the hostname.
I did not test this exakt script under 11.4, but I definitely know that the <location>nfs://...</location> used to work for me for chroot and init scripts there.
Just a stupid question: Do I need to turn on networking in stage2 under 12.2. somehow that was not needed/different under 11.4?
Disclaimer: I haven't tested 12.2 yet, hopefully I'll be able to do that this or next week. (For now, I'll just assume the 12.1 problems persist.)
If the network is completely down, I'd assume a problem with systemd. Do you use final_reboot or did you reboot manually and does the script work after the reboot? If it is only a DNS problem, try if the script in 2a here helps: http://lists.opensuse.org/opensuse-autoinstall/2012-04/msg00015.html
I haven't encountered the hanging LAN config yet, but that sounds like a systemd problem to me.
-- Dipl.-Ing. Joschi Brauchle, M.S. Institute for Communications Engineering (LNT) Technische Universitaet Muenchen (TUM) 80290 Munich, Germany Tel (work): +49 89 289-23474 Fax (work): +49 89 289-23490 E-mail: joschi.brauchle@tum.de Web: http://www.lnt.ei.tum.de/