Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 524846 - app-admin/cgmanager-0.35 - Control Group manager
Summary: app-admin/cgmanager-0.35 - Control Group manager
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Markos Chandras (RETIRED)
URL: https://cgmanager.linuxcontainers.org/
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2014-10-09 15:19 UTC by Fabian Henze
Modified: 2015-02-07 10:29 UTC (History)
2 users (show)

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


Attachments
cgmanager-0.33.ebuild (file_524846.txt,498 bytes, text/plain)
2014-10-09 15:21 UTC, Fabian Henze
Details
cgmanager-0.33.ebuild (file_524846.txt,575 bytes, text/plain)
2014-10-09 21:11 UTC, Fabian Henze
Details
cgmanager-0.33.ebuild revised version (cgmanager-0.33.ebuild,613 bytes, text/plain)
2014-11-21 03:39 UTC, Yixun Lan
Details
cgmanager.initd (cgmanager.initd,524 bytes, text/plain)
2014-12-29 15:04 UTC, Yixun Lan
Details
cgproxy.initd (cgproxy.initd,807 bytes, text/plain)
2014-12-29 15:05 UTC, Yixun Lan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Henze 2014-10-09 15:19:39 UTC
Please add a cgmanager ebuild to the tree. It is required to make use of the unprivileged container feature of lxc on systems not running systemd.

Reproducible: Always
Comment 1 Fabian Henze 2014-10-09 15:21:28 UTC
Created attachment 386300 [details]
cgmanager-0.33.ebuild

A preliminary ebuild. It currently lacks a init script (or maybe some automatic dbus initiated start?) but works fine otherwise
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-09 19:33:40 UTC
Comment on attachment 386300 [details]
cgmanager-0.33.ebuild

>IUSE=""

Empty IUSE needn't be set.

>DEPEND=">=sys-libs/libnih-1.0.2"

Are you sure you don't want it in RDEPEND?

>BUILD_DIR="$S"

What does this? That deserves a comment.
Comment 3 Fabian Henze 2014-10-09 21:11:39 UTC
Created attachment 386326 [details]
cgmanager-0.33.ebuild

There you go
Comment 4 Yixun Lan archtester gentoo-dev 2014-11-21 03:39:49 UTC
Created attachment 389928 [details]
cgmanager-0.33.ebuild revised version

todo: we still need to write two /etc/init.d/{cgmanager,cgproxy} scripts, also can add  systemd script by default
Comment 5 Yixun Lan archtester gentoo-dev 2014-12-29 15:00:25 UTC
hello @hwoarang, are you also interested in this ebuild? I'm aksing since you've done recent jobs for lxc...

I tried to write cgmanager.initd  cgproxy.initd, but haven't got the time to really sit down and test it (shame on me), could attach here if anyone interested
Comment 6 Yixun Lan archtester gentoo-dev 2014-12-29 15:04:39 UTC
Created attachment 392644 [details]
cgmanager.initd
Comment 7 Yixun Lan archtester gentoo-dev 2014-12-29 15:05:07 UTC
Created attachment 392646 [details]
cgproxy.initd
Comment 8 Markos Chandras (RETIRED) gentoo-dev 2015-02-07 09:35:15 UTC
I will take it but I have no openrc to test your initd scripts.
Comment 9 Markos Chandras (RETIRED) gentoo-dev 2015-02-07 10:29:45 UTC
+*cgmanager-0.35 (07 Feb 2015)
+
+  07 Feb 2015; Markos Chandras <hwoarang@gentoo.org> +cgmanager-0.35.ebuild,
+  +files/cgmanager.initd, +files/cgproxy.initd, +metadata.xml:
+  Initial commit of cgmanager. Thanks to Fabian Henze and Yixun Lan on bug
+  #524846