logo       

Re: Should complain if wrong ip is written?: msg#00154

linux.vserver

Subject: Re: Should complain if wrong ip is written?

On Tue, 17 Aug 2004, Ola Lundqvist wrote:

> I have got a wishlist request on vserver package.
>
> See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=253518
>
> Do you think util-vserver should behave like this?

/etc/hostname is system-dependend; SuSE has /etc/HOSTNAME and my debian
has "hostname" instead of "hostname 153.90.199.xx".
This means you cannot fix it in a generic as suggested.

A sane thing would be creating a $vserver/etc/vconfig with something like:

hostname $hostname
ips $ips[*]
etchosts $hostname $ips[*]
x-userdefined we want to pass a user-definedvalue to the vserver
...

This would enable the user to do the changes by script on each startup
using a distribution-generic script or to create his very own system.

--
It's redundant! It's redundant!

Friß, Spammer: nPBowRI@xxxxxxxxxxxxxxxxxxxxxxxxxx pines@xxxxxxxxxxx
sbPp.ihvtB@xxxxxxxxxxxxxxxxxxxxxxxxxx kundensupport@xxxxxxxxxxxxx
_______________________________________________
Vserver mailing list
Vserver@xxxxxxxxxxxxxxxxxxxxxx
http://list.linux-vserver.org/mailman/listinfo/vserver



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise