[LEDE-DEV] Busybox weirdness

Philip Prindeville philipp_subx at redfish-solutions.com
Wed Nov 1 21:12:40 PDT 2017


> On Nov 1, 2017, at 8:36 PM, Philip Prindeville <philipp_subx at redfish-solutions.com> wrote:
> 
> Can someone else please try to reproduce this?
> 
> I’m using busybox’s wget on x86_64 hardware, and when I do a “wget” of 2 http: URI’s, it mangles the second URI’s derived filename:
> 
> 
> root at lede:/tmp/x# wget http://geolite.maxmind.com/download/geoip/database/GeoIPv6.csv.gz http://geolite.maxmind.com/download/geoip/database/GeoIPCountryCSV.zip
> Downloading 'http://geolite.maxmind.com/download/geoip/database/GeoIPv6.csv.gz'
> Connecting to 104.16.37.47:80
> Writing to 'GeoIPv6.csv.gz'
> GeoIPv6.csv.gz       100% |*******************************|  1496k  0:00:00 ETA
> Download completed (1532219 bytes)
> Connecting to 104.16.37.47:80
> Writing to ' z;'
> z;               100% |*******************************|  2338k  0:00:00 ETA
> Download completed (2394696 bytes)
> root at lede:/tmp/x# ls
> z;??          GeoIPv6.csv.gz
> root at lede:/tmp/x# 
> 
> 
> What the heck?
> 
> -Philip


Well, I was selecting busybox’s wget, but it was silently being overwritten by something else:

root at lede:/tmp/x# ls -l /bin/wget
lrwxrwxrwx    1 root     root            13 Nov  1 19:17 /bin/wget -> uclient-fetch
root at lede:/tmp/x#

so that’s the real culprit.




More information about the Lede-dev mailing list