-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No DNS lookup in built image #80
Comments
well, that was an interesting afternoon :D the busybox-static_1.22.0-8_armhf.deb (at http://archive.raspbian.org/raspbian/pool/main/b/busybox/) file has yesterdays timestamp on it, so I'm guessing that's why my image didn't work and the "official" build did... not sure how to fix this other than by hand (replace .deb file after update.sh)... will try later this week |
Thanks! Much appreciated 👍
I get those too, but since I haven't experienced any consequences to that, I thought it was rather harmless. But given the issue I have wrt the new kernel version (which I will report shortly in #79), it may not be so harmless after all. Thanks for narrowing down the issue to the busybox version 👍 I very much doubt that using Ubuntu to build the images has any (negative) effect, since I am building all the images on my Debian Sid (64-bit) host system. The proper solution would be to build the installer with suite |
yeah, I tried to come up with a way to use specific versions, but that seems like a pain, if at all possible to do cleanly (given that older versions don't seem to be listed in the Packages file)... |
does |
I didn't notice anything that seemed off, so I'd say yes... |
I guess I'm doing too many different things at the same time LOL |
don't worry about it, I know the feeling... ;) |
I just noticed that I am now testing with busybox version 1.22.0-6 ... and that one seems to work fine. |
huh?!? interesting wait... -6? are you sure? |
I build the image I'm using atm on 2014-08-07 and then it had (apparently) that version. |
oh, ok... |
Updated the raspbian bug with my findings. |
great, thanks... I've already tried to find instructions on how to build raspbian packages, but no luck so far |
There is no difference between building a raspbian package and a debian package, other then the hardware it is build on. |
yeah, I know that it's just normal debian packages... I meant if there are build scripts and/or configurations for the individual packages... thanks ;) |
Debian provides various tools to build packages, but I haven't actually tried/used them. HTH |
I filed a Debian bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=757941 |
saw that, yes... thanks ;) |
Hi Guys, I think the issue goes beyond just DNS lookups; I couldn't get NTP syncing working by IP either - to my own NTP server or one on the web, nor would package installation work from a local Raspbian mirror by IP. Looking at the bug report, it might be down to the compiler in jessie. For now, I've just taken the busybox package from wheezy, which works fine. Great project, by-the-way :) |
Just for the record (does not solve the issue though): I've built on the Raspberry Pi (based on the working 1.0.5 netinst image) with the same result (reboots, #110) except you cannot compress with |
the rebooting happens because of an issue with the buxybox package, which causes networking to fail... after doing update.sh, replace the busybox-static package file (in the packages directory) with an older one from here, and afterwards, run the build.sh script. this should fix the networking issue and allow the installation to continue regarding the xz issue, it's a separate one from the issue discussed here, and IMHO not an important one, as I personally don't see the installer as something that one would build on the raspberry itself, but rather use a "full blown" (probably Debian based) machine... once for each version 😉 |
so, to recap... do the following (adjust to your needs accordingly):
hope this makes it a bit clearer 😉 |
Thank you. I was just looking for a way to get the right |
no problem... I read my comment again and found it ... a bit confusing myself 😊 hope that works for you (I think it will, had the same problem myself, that's why this issue exists)... please "report" 👍 |
Quoting Goran Blažič [email protected]
FYI, I built on Ubuntu and Mint with no issues. Due to the cdebootstrap Any busybox package from squeeze will work. The jessie ones were broken From: Goran Blažič[1] Links: |
Here's another workaround that I'm currently using:
This code block should be place right before the last |
From IRC: |
sure, and if they build a new version and that one has the same issue? maybe mirroring the 1.20.0-7 package on github? (not sure who suggested mirroring a few comments ago) |
oh, it was @themisanthrope , sorry about that 😊 |
@goranche Heh, no worries ;) I know it's not ideal, but hopefully the requirement will only be short-term. |
I think that putting it on github would be the safest solution. I just found out that the safety net I implemented in my workaround isn't as safe as I thought since the usual change in the package name would be to add |
Implementation: diederikdehaas@e5b4126 |
\o/ |
😄 👍 |
Now against the proper branch (v1.0.x) |
Hmmm... When running
No problem when I do: |
Do a |
Yep. Fixed it. 👍 |
LOL |
@goranche With the workaround in place, do you think this issue has been dealt with? |
I'm reluctant to say "yes", because it's "just" a workaround... |
Haha, I had the same thought 😄 OTOH leaving this issue open may give the impression that it's still not working at all (and this issue is the 10th most popular content on this project). And also the 'real' underlaying problem of libc6 being broken is indeed fixed.
I'll leave it up to you what to do :-) |
yeah, sounds ok... I'll edit the first post and close the issue... 😉 |
I actually meant editing the first post and leave it open LOL |
or that 👼 (it's been a rough night) |
This reverts commit 8aea16fb3437ce48206b370857d798032c8bc3c2.
The current version of raspbian jessie busybox-static does not have this problem, thus closing. |
Note: this issue has been "resolved" by a workaround, which will stay in place until a permanent solution is ready and tested. busybox-static (the cause of these problems) will be replaced with busybox, and all our troubles will seem so far away 👍
😉
first off, thanks for this project, love it...
so much so, that I started coding some additional features (starting with locale and timezone from #35), but I'm experiencing some really strange issues when building the install image myself...
first, when running ./build.sh, I'm getting depmod warnings:
depmod: WARNING: could not open /home/goranb/raspbian-ua-netinst/rootfs/lib/modules/3.10-3-rpi/modules.order: No such file or directory
depmod: WARNING: could not open /home/goranb/raspbian-ua-netinst/rootfs/lib/modules/3.10-3-rpi/modules.builtin: No such file or directory
second, when booting from the resulting image, the system doesn't seem to be able to do DNS lookupups.
it get's an IP address, ping works fine, there is a nameserver entry in /etc/resolv.conf (the right one for my network), so ping 74.125.232.16 works, but ping www.google.com doesn't
this doesn't happen when booting the release image, but when I replace installer.cpio (to test my code), the problem starts...
to rule out any problem with my code, I've tried generating an image from the code in the repository (so without my changes), same thing...
any ideas?
the system I'm building on is a 64 bit ubuntu, but I've tried it on raspbian (default from raspberrypi.org) as well...
The text was updated successfully, but these errors were encountered: