On Mon, 2007-03-05 at 16:10 +0100, Murray Cumming wrote:
> I'm using scratchbox 1.0.7 on Ubuntu Feisty [1]. Well, actually it's a
> version of scratchbox that's supplied to a large company that you've
> heard of. I suspect that Movial put it together.
> 
> The problem is that apt-get can't resolve domains, but wget can. I've
> seen some other messages about errors in /etc/nsswitch.conf, which can
> cause this problem, but it already seems to have the right stuff. I've
> attached it in case someone can see an obvious error.
> 
> [1] I'm using the 2.6.20-6 kernel image, to avoid the vdso problems.

I got the problem fixed off-list.

The problem is actually in
/scratchbox/etc/nsswitch.conf (host filesystem),
not
/scratchbox/users/<username>/targets/<targetname>/etc/nsswitch.conf
(host filesystem, which shows up as /etc/nsswitch.conf in your target)

So, in /scratchbox/etc/nsswitch.conf, Ubuntu Feisty users do need to
change this line:
hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4
to
hosts:          files dns

I wonder if the other nsswitch.conf files are even used.

-- 
Murray Cumming
[EMAIL PROTECTED]
www.murrayc.com
www.openismus.com

_______________________________________________
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to