Re: problems with resolv.conf - nameserver
I looked if the resolvconf-package is installed - it is. But (as
desribed in man resolvconf) there should be a symlink from
/etc/resolv.conf -> /etc/resolvconf/run/resolv.conf - if I delete
/etc/resolv.conf and create the symlink - everything works fine.
Could this be it and be integrated somehow in the buildprocess?
P.S. I can openup a ticket as soon as the problem is clear ;-)
Marco Amadori schrieb:
On Thursday 09 October 2008, 08:42:30, Marco Lechner wrote:
during the building of several workshop-images for the fossgis2008
(http://fossgis.osgeo.net) we ran into a problem with resolv.conf. This
problem still occurs using live-helper (testing):
During the buildprocess /etc/resolv.conf from the buildmachine is used
to get necessary access to the repositories. The readybuild liveimage
still has this resolv.conf in /etc and therefore the liveimages only
work in the network-environment of the buildmachine.
What should the live-helper tools do when they say "deconfiguring file
/etc/resolv.conf" because this doesn't seem to happen.
This problem is known, but please fill a bug request for it using the BTS.
How can I fix this problem?
While this remain unfixed*, I use this sequence instead of just lh_build (in a
Makefile, but the sequence could be obviously valid also outside it):
- ---- -
su-to-root -c lh_bootstrap
su-to-root -c lh_chroot
su-to-root -c "cp -a
su-to-root -c lh_binary
--- - ---
*Lazyness disclaimer: I'm looking to fix live-initramfs bugs in my spare time,
for this I just used a simple work-around as you saw :-)
org:University of Freiburg;Department of Physical Geography
adr:;;Werthmannstr. 4 (formerly Werderring 4);Freiburg;;79085;Germany