Package: uml-utilities
Version: 20040406-1
Severity: normal

I am doing a lot of network testing and require multiple virtual networks
created for my UML's.  This is a request to improve the uml-utilities package
to support multiple uml_switch devices.

I have already altered the init script and it suits my needs.  I have attached
the init.d script and defaults file.  They are also available here:

http://www.jukie.net/~bart/debian/uml/utilities/

Feel free to use these in enhancing uml-utilities, but note that the new
fields in the defaults file will break backwards compatibility.  I am not
sure what is the best way to handle that.

Alternatively starting the switch daemon could be done via the
/etc/network/if-up.d/uml-utilities script.

Cheers!
-Bart

PS: I am aware I am running Ubuntu, however this is a "feature request" that 
will benefit the Debian package as well.

-- System Information:
Debian Release: testing/unstable
  APT prefers dapper
  APT policy: (800, 'dapper'), (600, 'breezy'), (2, 'dapper-updates'), (2, 
'dapper-security'), (2, 'breezy-updates'), (2, 'breezy-security')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-xenon64.4
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages uml-utilities depends on:
ii  adduser                  3.80ubuntu2     Add and remove users and groups
ii  libc6                    2.3.6-0ubuntu20 GNU C Library: Shared libraries an
ii  libncurses5              5.5-1ubuntu3    Shared libraries for terminal hand
ii  libreadline4             4.3-18          GNU readline and history libraries
ii  makedev                  2.3.1-79ubuntu1 creates device files in /dev

uml-utilities recommends no packages.

-- no debconf information

Attachment: init.d-uml-utilities
Description: application/shellscript

# Options to pass to uml_switch.
# For preconfigured tap setup, see
# /usr/share/doc/uml-utilities/examples/interfaces.example

# network devices handled by the /etc/init.d/uml-utiltites script
UML_SWITCH_DEVICES="tap0 tap1 tap2"

# User as which to run uml_switch
UML_SWITCH_USER="uml-net"
UML_SWITCH_OPTIONS=""
#UML_SWITCH_CTL="/var/run/uml-utilities/uml_switch.ctl"

# customized options for each device override the above
#UML_SWITCH_OPTIONS_tap0=""
#UML_SWITCH_USER_tap0="uml-net"
UML_SWITCH_CTL_tap0="/var/run/uml-utilities/uml_switch.tap0.ctl"

#UML_SWITCH_OPTIONS_tap1=""
#UML_SWITCH_USER_tap1="uml-net"
UML_SWITCH_CTL_tap1="/var/run/uml-utilities/uml_switch.tap1.ctl"

#UML_SWITCH_OPTIONS_tap2=""
#UML_SWITCH_USER_tap2="uml-net"
UML_SWITCH_CTL_tap2="/var/run/uml-utilities/uml_switch.tap2.ctl"

Reply via email to