Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 55749

Summary: User Mode Linux (UML) init scripts
Product: Gentoo Linux Reporter: Jacob Joseph <jmjoseph>
Component: New packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED INVALID    
Severity: normal CC: dragonheart, gentoo-bugs, m.debruijne, spock, tantive
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://jjoseph.org/linux-work/uml_gentoo
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 48069    
Attachments: /etc/conf.d/uml.ludo
/etc/init.d/uml.ludo
/etc/conf.d/uml.uml0
/etc/init.d/uml.uml0
/etc/init.d/uml.uml0

Description Jacob Joseph 2004-06-30 21:12:45 UTC
I've written some simple configuration and init scripts for management of UML instances in the standard gentoo way.  I have not yet written an ebuild to automatically install these, and am now asking for suggestions as to how I might get these scripts into portage.

I've documented and posted the source to http://jjoseph.org/linux-work/uml_gentoo  This page also documents my associated network changes, discussed in bug 55394.  They may be ignored for the purposes of this bug.

It is possible this bug does not belong to the "ebuilds" component.  Please advise as to where it should be placed.

Thanks,
-Jacob

Reproducible: Always
Steps to Reproduce:
Comment 1 SpanKY gentoo-dev 2004-10-14 20:18:48 UTC
could you outline the uml stuff here (ignoring the networking aspects) ?

like what additional scripts would you like to see added and what changes to files must be made to support uml ?
Comment 2 Jacob Joseph 2004-10-15 14:34:23 UTC
Thanks much for responding to this bug.

Perhaps that page, having the networking stuff included, makes things too complicated.  In short, for a given UML, two files are required: a configuration file an an init script.  Configuration scripts are named /etc/conf.d/uml.machine with matching init scripts /etc/conf.d/uml.machine.

If you think it would help get into portage, I could certainly tar these up and create a quick ebuild to do the installation.

Thanks again.  -Jacob
Comment 3 SpanKY gentoo-dev 2004-10-15 14:43:34 UTC
post the two files here as attachments

the networking stuff is undergoing its own evolution which is why i dont want to touch that aspect
Comment 4 Jacob Joseph 2004-10-15 14:58:00 UTC
Created attachment 41920 [details]
/etc/conf.d/uml.ludo

This is the configuration file, to be read by the init script.
Comment 5 Jacob Joseph 2004-10-15 14:59:10 UTC
Created attachment 41921 [details]
/etc/init.d/uml.ludo

Init script to read the above config file.
Comment 6 SpanKY gentoo-dev 2004-10-15 15:06:47 UTC
ok, so i think we should add these to the usermode-utilities package

that work for you ?
Comment 7 Jacob Joseph 2004-10-16 17:10:09 UTC
That certainly seems like a good place to me.  I suggest 'uml.uml0' as a better default name than ludo, which is just one of my uml's.  I've also clarified one of the comments in the configuration and have commented the dependency on my bridging network script from the init script.  I'm keeping that stuff separate in bug 55394.

Thanks.  -Jacob
Comment 8 Jacob Joseph 2004-10-16 17:12:11 UTC
Created attachment 41992 [details]
/etc/conf.d/uml.uml0
Comment 9 Jacob Joseph 2004-10-16 17:12:56 UTC
Comment on attachment 41992 [details]
/etc/conf.d/uml.uml0

Updated configuration
Comment 10 Jacob Joseph 2004-10-16 17:13:38 UTC
Created attachment 41993 [details]
/etc/init.d/uml.uml0

Removed net.bridge0 dependency.
Comment 11 solar (RETIRED) gentoo-dev 2004-10-16 19:03:07 UTC
Would you mind assigning the copyright over to gentoo and putting yourself as the orig author.

cat /usr/portage/header.txt
Comment 12 Jacob Joseph 2004-10-17 17:45:26 UTC
Created attachment 42076 [details]
/etc/init.d/uml.uml0

Assign copyright to Gentoo.
Comment 13 SpanKY gentoo-dev 2005-02-11 19:44:55 UTC
giving over to someone who actually knows UML and can take care of this :)
Comment 14 Jonathan S. Romero 2005-04-25 16:32:24 UTC
Any idea when this might be moved into the official portage tree?  If more testing is required before this is done, I have told J.Joseph that I would go ahead and do this.
Comment 15 SpanKY gentoo-dev 2005-08-01 13:30:33 UTC
base-system does not maintain UML

this script belongs in usermode-utilities, not baselayout
Comment 16 Alec Warner (RETIRED) archtester gentoo-dev Security 2007-04-01 02:59:01 UTC
I'm going to call this closed due to inactivity; it's years old and I have no idea if they still work with 2.6-UML stuff.