On Fri, Jun 09, 2006 at 09:57:26AM +0300, alex bodnaru wrote:
Dear Alex,
> this is a change in required parameters that left me with no networking 
> in uml.
> i'm using uml with eth0=daemon option. if no uml_switch control file is 
> specified, linux has previously (probably) searched it as configured in 
> the uml-utilities package, while now it searches it in the loacation 
> default for uml_switch upstream itself.
The uml-utilities daemon is designed to create, once installed, a default
ctl file in the following location:

/var/run/uml-utilities/uml_switch.ctl

then when started it waits for $UML_SWITCH_CTL which is by default set to
the previous parameter.
If you go in to the uml-utilities source code the usage it expects is
descripted in the following way (uml_switch.c):

fprintf(stderr, "\tand run the UMLs with "
        "'eth0=daemon,,unix,<control>,<data>'\n");

and also, if not specified, it expects to find it in here (uml_switch.c):

static char *ctl_socket = "/tmp/uml.ctl";

> while it's grave (the uml networking is quite vital), there is a simple 
> workaround: specify the exact control file location with the daemon arg.
In this way you specify the data it expects! Doesn't it?
Cheers

SteX
-- 
Stefano Melchior, GPG key = D52DF829 - <[EMAIL PROTECTED]>
http://etinarcadiaego.dyndns.org    --     http://www.stex.name
Skype ID "stefanomelchior"

Attachment: signature.asc
Description: Digital signature

Reply via email to