[Bug 398950] New: ipconfig in the initrd
https://bugzilla.novell.com/show_bug.cgi?id=398950 Summary: ipconfig in the initrd Product: openSUSE 11.0 Version: RC 2 Platform: All OS/Version: openSUSE 11.0 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: hare@novell.com ReportedBy: lmuelle@novell.com QAContact: qa@suse.de CC: ml@goetel.net Found By: --- While trying to boot from iSCSI /bin/ipconfig tries to access a device named 'none'. server1:/boot/work/bin # ./ipconfig 172.31.1.101:::255.255.255.0:server1:eth0:none ipcfg=172.31.1.101:_::255.255.255.0:server1:eth0:none /sbin/ip addr add 172.31.1.101/0 dev none Cannot find device "none" /sbin/ip route add to default via 255.255.255.0 Might the script not consider to get more than one empty field? This happens in the case netsetup=1 and no default gateway is set. Using an underscore between the colons (:_:_:) works. server1:/boot/work/bin # ./ipconfig 172.31.1.101:_:_:255.255.255.0:server1:eth0:none ipcfg=172.31.1.101:_:_:255.255.255.0:server1:eth0:none Ignoring mode none, using static configuration /sbin/ip addr add 172.31.1.101/24 dev eth0 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=398950 User lmuelle@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=398950#c1 --- Comment #1 from Lars Müller <lmuelle@novell.com> 2008-06-10 10:20:18 MDT --- Created an attachment (id=221308) --> (https://bugzilla.novell.com/attachment.cgi?id=221308) Suggested fix for ipconfig.sh This fix might require bash 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=398950 User lmuelle@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=398950#c2 --- Comment #2 from Lars Müller <lmuelle@novell.com> 2008-06-10 10:22:06 MDT --- Fix attached with comment #1 is from Martin Lorentz of GeTel. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=398950 User hare@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=398950#c3 Hannes Reinecke <hare@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #221308|0 |1 is obsolete| | --- Comment #3 from Hannes Reinecke <hare@novell.com> 2008-06-25 01:13:53 MDT --- Created an attachment (id=224195) --> (https://bugzilla.novell.com/attachment.cgi?id=224195) Fix argument parsing in ipconfig We'd better prepend an underscore to each colon; this we can easily strip afterwards and have always valid fields for the bash word splitting algorithm. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=398950 Hannes Reinecke <hare@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=398950 User hare@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=398950#c4 Hannes Reinecke <hare@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #4 from Hannes Reinecke <hare@novell.com> 2008-07-04 02:37:08 MDT --- Fix from comment #3 has been checked into mkinitrd git repository. Will be included in the next maintenance release. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com