Re: [Vserver] hostname -va

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Wed 15 Nov 2006 - 22:09:48 GMT
Message-ID: <20061115220948.GC32241@MAIL.13thfloor.at>

On Wed, Nov 15, 2006 at 06:11:30PM +0100, Daniel Haensse wrote:
> Dear list,
>
> I have a problem with hostname -va inside of vserver.

inside of what vserver :) i.e. please provide
a few more details, like kernel version, tool version
and such

> Any hints?

let's see ...

> best regards
>
> Dani
>
> virtual:~# hostname -va
> virtual
> virtual:~# vserver vserver1 enter
> vserver1:/# hostname -v
> vserver1.foobar.com
> vserver1:/# hostname -va
> hostname: Unknown host

that one would be quite interesting to get
the strace from, please try something like

  strace -fF hostname -va

and provide the output ...

> vserver1:/# cat /etc/hosts
> 192.168.5.101 virtual1.foobar.com virtual1
> 127.0.0.1 localhost
>
> # The following lines are desirable for IPv6 capable hosts
> ::1 ip6-localhost ip6-loopback
> fe00::0 ip6-localnet
> ff00::0 ip6-mcastprefix
> ff02::1 ip6-allnodes
> ff02::2 ip6-allrouters
> ff02::3 ip6-allhosts
>
> vserver1:/# cat /etc/resolv.conf
> search foobar.com
> nameserver 192.168.5.5
> nameserver 129.132.98.12
> nameserver 129.132.250.2
> nameserver 129.132.250.220

IIRC, this won't work as expected, as you can
only specify 3 nameservers in /etc/resolv.conf

TIA,
Herbert

> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Wed Nov 15 22:12:34 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 15 Nov 2006 - 22:12:39 GMT by hypermail 2.1.8