busybox-static_1.22.0 doesn't DNS resolve addresses

Bug #1355063 reported by GoranB
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Raspbian
Fix Released
Undecided
Unassigned

Bug Description

After building the raspbian-ua-netinst (https://github.com/debian-pi/raspbian-ua-netinst) using the new busybox-static_1.22.0-8_armhf.deb package, the resulting install image isn't capable of resolving addresses (/etc/resolv.conf has the right information in it)
ping (for example) would throw a "bad address" error

replacing the package with busybox-static_1.20.0-7_armhf.deb resolves this issue

Revision history for this message
Diederik (didi-debian) wrote :

I can confirm this issue with busybox version 1.22.0-8.

# nslookup google.com
Server: 192.168.1.1
Address 1: 192.168.1.1

nslookup: can't resolve 'google.com'

But that same statement works on my host machine (Debian Sid)
$ nslookup google.com
Server: 192.168.1.1
Address: 192.168.1.1#53

Non-authoritative answer:
Name: google.com
Address: 173.194.116.134
Name: google.com
Address: 173.194.116.135
<and a bunch of others>

This issue does NOT happen with version 1.22.0-6 though, so it must have been introduced with -7 or -8.

The raspbian-ua-netinst issue is https://github.com/debian-pi/raspbian-ua-netinst/issues/80

Revision history for this message
Diederik (didi-debian) wrote :

I have narrowed it down to the busybox-static version 1.22.0-7 which introduced this bug.

root@bagend:/home/diederik/dev/busybox# ./busybox-1.22.0-6 ping -c 1 google.com
PING google.com (74.125.136.101): 56 data bytes
64 bytes from 74.125.136.101: seq=0 ttl=47 time=14.401 ms

--- google.com ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 14.401/14.401/14.401 ms
root@bagend:/home/diederik/dev/busybox# ./busybox-1.22.0-7 ping -c 1 google.com
ping: bad address 'google.com'
root@bagend:/home/diederik/dev/busybox# ./busybox-1.22.0-8 ping -c 1 google.com
ping: bad address 'google.com'

Note however that the non-static version does work (tested it with version 1.22.0-8).
Going to file a Debian bug now.

Revision history for this message
Diederik (didi-debian) wrote :
Revision history for this message
Diederik (didi-debian) wrote :

This bug can be closed as the current version in Jessie does work properly (much to my surprise).

peter green (plugwash)
Changed in raspbian:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.