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:
Created attachment 28011 [details] util-vserver-0.29_p196-r1.ebuild
Great. I checked this one in as well ;)
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 ---
Created attachment 28205 [details] rebootmgr.initd
Created attachment 28206 [details] vservers.initd
Okies, checked in the changes. Closing this bug again ;)