Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45729 - util-vserver-0.29_p196 (for use with vserver-sources-2.4.25.1.3.8)
Summary: util-vserver-0.29_p196 (for use with vserver-sources-2.4.25.1.3.8)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Michael Imhof (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-25 11:36 UTC by Thomas Eckert
Modified: 2004-03-29 04:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
util-vserver-0.29_p196-r1.ebuild (util-vserver-0.29_p196-r1.ebuild,1.11 KB, text/plain)
2004-03-25 11:36 UTC, Thomas Eckert
Details
rebootmgr.initd (rebootmgr.initd,966 bytes, text/plain)
2004-03-28 03:49 UTC, Thomas Eckert
Details
vservers.initd (vservers.initd,2.44 KB, text/plain)
2004-03-28 03:50 UTC, Thomas Eckert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Eckert 2004-03-25 11:36:00 UTC
as promised in bug #24619 here comes the ebuild for the beta/prerelease-version of
util-vserver (category "sys-cluster").

notes: (this ebuild evolved independent from the 0.29 "in-portage-version" --
it's my "known-good/in-production"-version ... just to explain differences
between the two)
- according to the docs we should link against dietlibc but that did not work for
  me (depend is commented). I linked against glibc and it workes ok so far ...
  dietlibc is autodetected, if you have ld-errors it may be due to dietlibc-probs.
- the configure-patch from 0.29 and the CFLAGS-filtering are not in here (but
  may be needed with some configurations)
- different download-url for the pre-release
- install statedir and vserver-home (with proper permissions)
- the configuration-scheme has changed (undocumented), but the old "legacy"
  configuration from 0.29 works.
- pkg_postinst() is gone, the init-scripts are removed in src_install()

I have adjusted initscripts for vservers and rebootmgr but no access the the
machine they are residing on right now -- I'll attach during the weekend ...

Reproducible: Always
Steps to Reproduce:
Comment 1 Thomas Eckert 2004-03-25 11:36:52 UTC
Created attachment 28011 [details]
util-vserver-0.29_p196-r1.ebuild
Comment 2 Michael Imhof (RETIRED) gentoo-dev 2004-03-25 12:04:27 UTC
Great. I checked this one in as well ;)
Comment 3 Thomas Eckert 2004-03-28 03:48:52 UTC
reopen only due to additional stuff and a separate bug seems overkill to me --
please let me know if this is against the styleguide.

ajusted init-scripts and patch for ebuild to add them.

note: these 2 scripts are not polished (i.e. do not use estart, eend, ...), they
use the Gentoo-dependencies and write a logfile in /var/log/ to save the output
of auto-started vservers.
Maybe someone with a bit spare-time can polish 'em up? I'll do it myself but at
the moment I'm a bit overloaded so it may take some time.

--- snipp ---
--- util-vserver-0.29_p196-r1.ebuild.org        2004-03-25 21:03:29.000000000 +0100
+++ util-vserver-0.29_p196-r1.ebuild    2004-03-28 13:42:33.000000000 +0200
@@ -40,4 +40,8 @@
 
        ## remove the non-gentoo init-scripts:
        rm -r ${D}/etc/init.d
+       ## ... and install gentoo'ized ones:
+       insinto /etc/init.d/
+       doins ${FILESDIR}/vservers.initd
+       doins ${FILESDIR}/rebootmgr.initd
 }
--- snapp ---
Comment 4 Thomas Eckert 2004-03-28 03:49:54 UTC
Created attachment 28205 [details]
rebootmgr.initd
Comment 5 Thomas Eckert 2004-03-28 03:50:09 UTC
Created attachment 28206 [details]
vservers.initd
Comment 6 Michael Imhof (RETIRED) gentoo-dev 2004-03-29 04:11:55 UTC
Okies, checked in the changes.
Closing this bug again ;)