Not having the actual LTSP setup in Hardy anymore, I made a quick simulation 
for that fix.
My network is running with a DHCP proxy, br0 is the interface connected to that 
network:

r...@vivaldi:~/test# cat /boot/initrd.img-2.6.24-26-openvz | gzip -d | cpio -i
48821 blocks
r...@vivaldi:~/test# chroot . bin/sh
BusyBox v1.1.3 (Debian 1:1.1.3-5ubuntu12) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

# ipconfig --help
ipconfig: invalid option --
# ipconfig br0
IP-Config: br0 hardware address 00:00:20:bd:4e:ba mtu 1500 DHCP RARP


r...@vivaldi:~# apt-get install libklibc klibc-utils
...

r...@vivaldi:~/new-initrd# cat /boot/initrd.img-2.6.24-26-openvz | gzip -d | 
cpio -i
48821 blocks
r...@vivaldi:~/new-initrd# chroot . /bin/sh
BusyBox v1.1.3 (Debian 1:1.1.3-5ubuntu12) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

# ipconfig br0
IP-Config: br0 hardware address 00:00:20:bd:4e:ba mtu 1500 DHCP RARP
IP-Config: br0 guessed broadcast address 10.x.x.255
IP-Config: br0 complete (from 10.x.x.115):
 address: 10.x.x.203     broadcast: 10.x.x.255     netmask: 255.255.255.0   
 gateway: 10.x.x.1       dns0     : 10.x.x.117     dns1   : 0.0.0.0         
 domain : revolutionlinux.com                                             
 rootserver: 10.x.x.116 rootpath: 
 filename  : /netboot/pxelinux.0
# 


What I did
- Uncompressed the initrd
- Started ipconfig from within it (as LTSP does)
--> It failed (hanging waiting for a reply)
- Updated klibc on the host
- Rebuilt the initrd
- Started ipconfig from within it (as LTSP does)
--> It worked (Got all the network details)

So that should prove that the fix does what it's supposed to do

-- 
Klibc: ipconfig fails on network with DHCP relays
https://bugs.launchpad.net/bugs/175324
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to