[Vserver] locale and interface binding problem

From: Eugen Leitl <eugen_at_leitl.org>
Date: Mon 20 Mar 2006 - 13:56:30 GMT
Message-ID: <20060320135630.GO25017@leitl.org>

I have two questions:

I keep having those nasty

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_DE:en_US:en_GB:en",
        LC_ALL = (unset),
        LANG = "en_US"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

messages in a vserver created by

vserver v17 build --force -n v17 --hostname v17.ativel.com --context 17 --interface eth0:192.168.1.17/24 -m debootstrap -- -d sarge -m http://amd64.debian.net/debian-amd64/

and gone through the usual apt-setup and apt-get update / upgrade
orgies.

locales is installed, and locales generated. Is this a known
problem, or something broken in am64-land? I don't recall
this in vanilla Debian Sarge. Websearches don't show anything
conclusive.

Another question relates to greedy services which bind to all
addresse on the interface.

Is the method suggested by http://lena.franken.de/linux/debian_and_vserver/vserver.html
...
    Configure your daemons to listen only to the IP-address of the mothersystem

   1. Replace inetd through xinetd with "apt-get install xinetd". Put this line into /etc/xinetd.conf:
      defaults { bind = 10.95.81.15 }
   2. sshd: in file /etc/ssh/sshd_config
      ListenAddress 10.95.81.15
   3. sendmail, listen only to external ip-address, look at sendmail.html
   4. check /etc/resolv.conf for your nameserver
...

the way to go? Will it reliably prevent e.g. postfix in a guest binding
to all addresses?

Thanks,

-- 
Eugen* Leitl leitl http://leitl.org
______________________________________________________________
ICBM: 48.07100, 11.36820            http://www.ativel.com
8B29F6BE: 099D 78BA 2FD3 B014 B08A  7779 75B0 2443 8B29 F6BE

_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver

Received on Mon Mar 20 13:57:04 2006
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 20 Mar 2006 - 13:57:17 GMT by hypermail 2.1.8