Package Details: libcgroup 3.1.0-0

Git Clone URL: https://aur.archlinux.org/libcgroup.git (read-only, click to copy)
Package Base: libcgroup
Description: Library that abstracts the control group file system in Linux
Upstream URL: https://github.com/libcgroup/libcgroup
Licenses: LGPL
Submitter: heftig
Maintainer: androw
Last Packager: androw
Votes: 119
Popularity: 0.68
First Submitted: 2010-04-25 12:01 (UTC)
Last Updated: 2024-02-10 13:24 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

eworm commented on 2013-01-16 09:14 (UTC)

Updated the package and added systemd service file. Can anybody please test?

big_gie commented on 2013-01-15 19:19 (UTC)

Here's a patch to enable systemd: --- PKGBUILD.orig 2013-01-15 13:19:42.775620213 -0500 +++ PKGBUILD 2013-01-15 14:18:12.882960578 -0500 @@ -12,7 +12,7 @@ options=('!emptydirs' '!libtool') install=libcgroup.install source=("http://downloads.sourceforge.net/libcg/${pkgname}-${pkgver/rc/.rc}.tar.bz2" - 'cgred' 'cgconfig' 'cgconfig.conf') + 'cgred' 'cgconfig' 'cgconfig.conf' 'cgconfig.service') build() { cd "${srcdir}/${pkgname}-${pkgver/rc/.rc}" @@ -20,7 +20,8 @@ ./configure \ --prefix=/usr \ --sysconfdir=/etc \ - --localstatedir=/var + --localstatedir=/var \ + --enable-opaque-hierarchy=name=systemd make } @@ -34,6 +35,7 @@ install -Dm644 samples/cgconfig.conf "${pkgdir}/etc/cgconfig.conf" install -Dm644 samples/cgrules.conf "${pkgdir}/etc/cgrules.conf" install -Dm644 samples/cgsnapshot_blacklist.conf "${pkgdir}/etc/cgsnapshot_blacklist.conf" + install -Dm644 cgconfig.service "${pkgdir}/usr/lib/systemd/system/cgconfig.service" rm -f ${pkgdir}/usr/lib/security/pam_cgroup.{la,so,so.0} mv ${pkgdir}/usr/lib/security/pam_cgroup.so.0.0.0 ${pkgdir}/usr/lib/security/pam_cgroup.so @@ -51,4 +53,5 @@ sha256sums=('9d27e4b16b92fb9917d0807934023b8cc691f3b5258c4ee581957645fa7ba143' 'f68aadcacca0bbc22b9b89e1f2d9a1d607d1a39890d444eeef7b5574beda138d' '40fa009e4beb576728eaab7165e824826cbed46e534e3a25503c6b9d7ed5f640' - '72c39ce0160c30d714f1a7187036757bf9a8c8649f0818404e3bc45f4ae76e6b') + '72c39ce0160c30d714f1a7187036757bf9a8c8649f0818404e3bc45f4ae76e6b' + '3bdaadce18a482d8e42590aefa9bdd78407a67dd8860377e07d0e69242de2aca') Note the required "cgconfig.service" file, downloaded from http://libcg.git.sourceforge.net/git/gitweb.cgi?p=libcg/libcg;a=blob;f=dist/cgconfig.service;hb=HEAD Note also that the file "cgconfig.service" must use /usr/sbin/{cgconfigparser,cgclear} instead of plain /sbin.

sacarde commented on 2012-12-29 08:12 (UTC)

https://bbs.archlinux.org/viewtopic.php?id=154950

sacarde commented on 2012-12-22 16:01 (UTC)

hi, what I have to do for limit memory use by a process? - cgroups ? - cgroups guide in wiki is uptodate? - I have to install libcgroup ? thanks for your suggestions

eworm commented on 2012-08-26 20:04 (UTC)

I think I will wait for 0.39 final. Should be around the corner as there is already a rc.

t-8ch commented on 2012-08-26 11:49 (UTC)

Upstream added a cgconfig.service unit file for systemd after 0.38 which could be backportet. [1] There is also a special switch to ./configure '--enable-opaque-hierarchy=name=systemd' as explained in [1]. This make libcgroup ignore the cgroups of systemd. [0] http://libcg.git.sourceforge.net/git/gitweb.cgi?p=libcg/libcg;a=blob;f=dist/cgconfig.service;h=e63f26dcd5c63a7644aeef211d577db29f5515ed;hb=HEAD [1] http://libcg.git.sourceforge.net/git/gitweb.cgi?p=libcg/libcg;a=blob;f=README_systemd;h=6733c2c49d6aadaa7f12c912dcaa50e21911a700;hb=HEAD

eworm commented on 2012-08-17 20:34 (UTC)

0.39-rc1 is not a final but rc release. Any good reason to upgrade instead of just unflagging?

<deleted-account> commented on 2012-08-17 15:42 (UTC)

There is a damn good case for including this under stable, as those utilities are pretty standard on every distro and cgroups is a core functionality of the Linux kernel.

divansantana commented on 2012-07-08 19:19 (UTC)

Unfortunately the init scripts don't seem to work. :: Starting CGroups configuration [BUSY] /etc/rc.d/cgconfig: line 15: [: =: unary operator expected :: Starting CGroups rules engine daemon [BUSY] /etc/rc.d/cgred: line 26: /sbin/cgrulesengd: No such file or directory [FAIL] sudo rc.d stop cgconfig :: Clearing CGroups configuration [BUSY] cgclear failed with No such process [FAIL]

eworm commented on 2012-05-22 09:52 (UTC)

I do not use the init script myself... Can you please update to 0.38-3 and test?