Re: [vserver] Understanding localhost

From: Jeff Jansen <>
Date: Fri 01 May 2009 - 15:03:26 BST
Message-ID: <>

"John A. Sullivan III" <> wrote on 2009-May-01:
> Am I correct to understand that, unlike earlier version, the default
> kernel compilation makes it safe to use on a guest? That is,
> each one is uniquely mapped and does not interfere with the host
> listening in We can thus set our /etc/hosts files to use:
> localhost localhost.localdomain etc . . .?
> However, is it also true that daemon bindings to localhost will still be
> made to the address in /etc/vservers//interfaces/0 and will not
> include unless explicitly bound?

We don't see this, John. It works like expected for us.

We have localhost.localdomain localhost

in /etc/hosts and if a process is bound to (or localhost) then that's
what it binds to. And if it's bound to * then you can reach it on localhost as

We don't run Zimbra, so I can't tell you about that. but we've had no trouble
with the default config on things like mysql which want to bind only to

But we don't have an "interfaces/0" directory either. Perhaps there's some
conflict there. We changed them to match the actual host interface -
interface/eth0, etc. So you could try changing that and seeing if things work
as expected.


Jeff Jansen
Received on Fri May 1 15:03:39 2009

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 01 May 2009 - 15:03:40 BST by hypermail 2.1.8