[Pkg-uml-pkgs] Bug#372259: user-mode-linux: the uml_switch control
file is not been searched as in uml-utilities package
Stefano Melchior
stefano.melchior at openlabs.it
Sat Jun 10 22:28:54 UTC 2006
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 - <stefano.melchior at openlabs.it>
http://etinarcadiaego.dyndns.org -- http://www.stex.name
Skype ID "stefanomelchior"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-uml-pkgs/attachments/20060611/650d5498/attachment.pgp
More information about the Pkg-uml-pkgs
mailing list