First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 45729
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Michael Imhof <tantive@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Thomas Eckert <eckert.thomas@gmx.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
util-vserver-0.29_p196-r1.ebuild util-vserver-0.29_p196-r1.ebuild text/plain Thomas Eckert 2004-03-25 11:36 0000 1.11 KB Details
rebootmgr.initd rebootmgr.initd text/plain Thomas Eckert 2004-03-28 03:49 0000 966 bytes Details
vservers.initd vservers.initd text/plain Thomas Eckert 2004-03-28 03:50 0000 2.44 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 45729 depends on: Show dependency tree
Show dependency graph
Bug 45729 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-03-25 11:36 0000
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 From Thomas Eckert 2004-03-25 11:36:52 0000 -------
Created an attachment (id=28011) [edit]
util-vserver-0.29_p196-r1.ebuild

------- Comment #2 From Michael Imhof 2004-03-25 12:04:27 0000 -------
Great. I checked this one in as well ;)

------- Comment #3 From Thomas Eckert 2004-03-28 03:48:52 0000 -------
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 From Thomas Eckert 2004-03-28 03:49:54 0000 -------
Created an attachment (id=28205) [edit]
rebootmgr.initd

------- Comment #5 From Thomas Eckert 2004-03-28 03:50:09 0000 -------
Created an attachment (id=28206) [edit]
vservers.initd

------- Comment #6 From Michael Imhof 2004-03-29 04:11:55 0000 -------
Okies, checked in the changes.
Closing this bug again ;)

First Last Prev Next    No search results available      Search page      Enter new bug