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
> [email protected]
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
[email protected]
http://list.linux-vserver.org/mailman/listinfo/vserver

Reply via email to