About this list Date view Thread view Subject view Author view Attachment view

From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Tue 06 Apr 2004 - 22:19:38 BST


On Tue, Apr 06, 2004 at 10:15:24PM +0200, Bjoern Steinbrink wrote:
> Hi,
>
> as the length of interfaces aliases is limited and the aliases are
> determined by the vservername long vservernames break the suffix concept
> of the (util-)vserver tools as the alias is simply truncated and the
> suffix is dropped. That means, that vservers with longnames will only
> have the last assigned address available, as the others are
> consecutively overwritten. The attached patch causes the alias name to
> be the vservername truncated to 8 chars to avoid this problem. The
> downside is that vservernames have to differ within the first 8 chars
> this way instead of `whatever this was before` (guess it was about 10
> chars).

hmm, yeah, maybe a better approach would be to use the context
id (xid) maybe in hex? and the alias id ... so

xid=100, aliases would be 0064x01, 0064x02 ...

but anyway, whatever solution, it should not happen
that different interface aliases get the same name ...
(hopefully we'll catch this soon with the namespaces anyway)

thanks again,
Herbert

> Bjoern

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


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 06 Apr 2004 - 22:21:01 BST by hypermail 2.1.3