Hi On Sun, Jun 03, 2007 at 11:45:54PM +0200, Sylvain Le Gall wrote: > Hello, > > On Sun, Jun 03, 2007 at 10:06:36PM +0200, Ola Lundqvist wrote: > > Hi > > > > I thought that 127.0.0.1 actually referred to the local vserver and not > > the mother host. Or am I mistaken here? > > > > Well, i just mean that : > giga:~$ sudo vserver yocto enter > [EMAIL PROTECTED]:/# ping 127.0.0.1 > PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data. > > --- 127.0.0.1 ping statistics --- > 5 packets transmitted, 0 received, 100% packet loss, time 4008ms > > [EMAIL PROTECTED]:/# > > Maybe my vserver is not set up correctly. 127.0.0.1 should indeed > referred to the local vserver but it doesn't seems to. In order to > access this interface, i think you must enable a "lo" interface. But i > am really not sure it is possible.
Yes it is possible. I just tested on my vserver and there 127.0.0.1 refer to the local vserver. I tried ping and ssh to be sure that it was correct. > Making localhost an alias of the IP will make the localhost a valid host > (even if it is not 127.0.0.1). > > So it will be possible to "ping localhost". I'm not fully sure that I want to do that change as you probably expect data sent to localhost to go to local host and not some network device... Regards, // Ola > Regards > Sylvain Le Gall > > > Regards, > > > > // Ola > > > > On Thu, May 31, 2007 at 01:31:54AM +0200, Sylvain Le Gall wrote: > > > Package: vserver-debiantools > > > Version: 0.3.4 > > > Severity: wishlist > > > > > > > > > Hello, > > > > > > When generating the hosts file, you should set localhost as an alias of > > > the real IP host. For me 127.0.0.1 is not accessible, so this line is > > > useless. Moreover, this seems to be a common practice in vserver! > > > > > > Regards > > > Sylvain Le Gall > > > > > > ps: i am a newbie in vserver, so i am not sure it is the perfect way to > > > do thing > > > > > > -- System Information: > > > Debian Release: lenny/sid > > > APT prefers unstable > > > APT policy: (500, 'unstable') > > > Architecture: i386 (i686) > > > > > > Kernel: Linux 2.6.21.1-grand (SMP w/2 CPU cores; PREEMPT) > > > Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) > > > Shell: /bin/sh linked to /bin/bash > > > > > > > > > > > > > -- > > --------------------- Ola Lundqvist --------------------------- > > / [EMAIL PROTECTED] Annebergsslingan 37 \ > > | [EMAIL PROTECTED] 654 65 KARLSTAD | > > | http://opalsys.net/ +46 (0)70-332 1551 | > > \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 / > > --------------------------------------------------------------- > > > > -- --- Ola Lundqvist systemkonsult --- M Sc in IT Engineering ---- / [EMAIL PROTECTED] Annebergsslingan 37 \ | [EMAIL PROTECTED] 654 65 KARLSTAD | | http://opalsys.net/ Mobile: +46 (0)70-332 1551 | \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 / --------------------------------------------------------------- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]