Search Criteria
Package Details: libcgroup 2.0-1
Package Actions
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: | eworm |
Last Packager: | eworm |
Votes: | 116 |
Popularity: | 1.43 |
First Submitted: | 2010-04-25 12:01 (UTC) |
Last Updated: | 2021-05-10 10:42 (UTC) |
Dependencies (1)
- pam (pam-minimal-git, pam-selinux) (optional) – for pam_cgroup
Required by (17)
- clsync
- clsync (make)
- containernet-git
- corosync
- corosync-git
- domjudge-docs (make)
- domjudge-domserver (make)
- domjudge-judgehost
- domjudge-judgehost (make)
- domjudge-submit (make)
- haconiwa-git
- htcondor
- mininet
- mininet-git
- mininet-git-python2
- qomui
- qomui-git (optional)
Latest Comments
bar777 commented on 2021-06-23 08:55 (UTC)
PGP signature failed!
pxeger commented on 2021-05-16 13:55 (UTC)
libcgroup-2.0.tar.bz2 is failing its PGP signature check.
pierrec commented on 2021-04-16 13:10 (UTC)
Hi, I've just created a libcgroup-git package as an alternative. It supports cgroup-v2
zyeri commented on 2019-11-15 03:18 (UTC)
libcgroup-0.41.tar.bz2
is failing its sha256 check.appleby commented on 2019-02-22 02:27 (UTC)
The cgrules service is failing to start for me on reboot once it's been enabled. The error in the
systemctl status cgrules.service
log is:It seems the problem is that I have /var on a separate partition, and the /var filesystem is not mounted at the time the cgrules service runs. This is because the cgrules.service unit file specifies
DefaultDependencies=no
andBefore=basic.target
, but basic.target is the target that mounts /var.Note that /var/run is symlinked to /run on Arch, and /run is apparently mounted very early in the boot process, so the simplest fix is to pass
--enable-cgred-socket=/run/cgred.socket
to the configure script. The following patch worked for me:Alternatively, if you're ok with running cgrules.service after basic.target, the following patch also works. The idea is to just let systemd add a default dependency on sysinit.target and an
After=basic.target
, which ensures that /var is mounted by the time cgrules.service runs. It might also make sense to apply a similar change to cgconfig.service, but that is not required.https://www.freedesktop.org/software/systemd/man/systemd.service.html#Default%20Dependencies
wdkrnls commented on 2018-11-25 20:15 (UTC)
I'm seeing the following error on install (using yaourt -S):
zzbutcher commented on 2018-03-21 06:35 (UTC)
hi,cgroup do not working.why?
cgconfig.conf: mount { cpu = /cgroup/cpu }
● cgconfig.service - Control Group configuration service Loaded: loaded (/usr/lib/systemd/system/cgconfig.service; disabled; vendor preset: disabled) Active: failed (Result: exit-code) since Wed 2018-03-21 06:33:52 UTC; 5s ago Process: 12761 ExecStop=/usr/sbin/cgclear -l /etc/cgconfig.conf -L /etc/cgconfig.d -e (code=exited, status=0/SUCCESS) Process: 12794 ExecStart=/usr/sbin/cgconfigparser -l /etc/cgconfig.conf -L /etc/cgconfig.d -s 1664 (code=exited, status=101) Main PID: 12794 (code=exited, status=101)
Mar 21 06:33:52 ip-172-31-25-183.us-east-2.compute.internal systemd[1]: Starting Control Group configuration service... Mar 21 06:33:52 ip-172-31-25-183.us-east-2.compute.internal systemd[1]: cgconfig.service: main process exited, code=exited, status=101/n/a Mar 21 06:33:52 ip-172-31-25-183.us-east-2.compute.internal systemd[1]: Failed to start Control Group configuration service. Mar 21 06:33:52 ip-172-31-25-183.us-east-2.compute.internal cgconfigparser[12794]: /usr/sbin/cgconfigparser; error loading /etc/cgconfig.conf: Cgroup mounting failed Mar 21 06:33:52 ip-172-31-25-183.us-east-2.compute.internal cgconfigparser[12794]: Error: cannot mount cpu to /cgroup/cpu: Permission denied Mar 21 06:33:52 ip-172-31-25-183.us-east-2.compute.internal systemd[1]: Unit cgconfig.service entered failed state. Mar 21 06:33:52 ip-172-31-25-183.us-east-2.compute.internal systemd[1]: cgconfig.service failed.
arno commented on 2014-03-25 19:13 (UTC)
eworm commented on 2014-02-20 10:50 (UTC)
Hrafnahnef commented on 2014-02-20 10:49 (UTC)
kjslag commented on 2014-01-28 08:54 (UTC)
eworm commented on 2013-05-13 07:38 (UTC)
mamciek commented on 2013-05-13 07:05 (UTC)
mamciek commented on 2013-05-08 10:34 (UTC)
supersym commented on 2013-04-02 17:19 (UTC)
eworm commented on 2013-01-16 09:14 (UTC)
big_gie commented on 2013-01-15 19:19 (UTC)
sacarde commented on 2012-12-29 08:12 (UTC)
sacarde commented on 2012-12-22 16:01 (UTC)
eworm commented on 2012-08-26 20:04 (UTC)
t-8ch commented on 2012-08-26 11:49 (UTC)
eworm commented on 2012-08-17 20:34 (UTC)
commented on 2012-08-17 15:42 (UTC)
divansantana commented on 2012-07-08 19:19 (UTC)
eworm commented on 2012-05-22 09:52 (UTC)
kylef commented on 2012-05-22 09:00 (UTC)
eworm commented on 2012-05-11 21:24 (UTC)
smoge commented on 2012-05-11 17:34 (UTC)
shomodj commented on 2012-04-26 11:47 (UTC)
commented on 2012-02-11 03:27 (UTC)
commented on 2011-03-01 06:38 (UTC)
commented on 2010-12-24 23:55 (UTC)
heftig commented on 2010-12-12 18:28 (UTC)
olace commented on 2010-12-12 18:17 (UTC)
intgr commented on 2010-09-24 22:38 (UTC)
heftig commented on 2010-04-25 14:07 (UTC)