Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#45296 - [lxc] lxc-checkconfig is not aware of kernel 4
Attached to Project:
Community Packages
Opened by Daniel Petre (dape) - Thursday, 11 June 2015, 11:25 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 27 July 2015, 09:38 GMT
Opened by Daniel Petre (dape) - Thursday, 11 June 2015, 11:25 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 27 July 2015, 09:38 GMT
|
DetailsDescription:
lxc-checkconfig is not aware that Arch Linux uses kernel major version 4 now.. Additional info: * package version(s) lxc 1:1.1.2-2 * config and/or log files etc. /usr/bin/lxc-checkconfig Steps to reproduce: [root@arch ~]# /usr/bin/lxc-checkconfig.orig | grep memory Cgroup memory controller: missing After this little modification: --- /usr/bin/lxc-checkconfig 2015-06-11 14:01:35.478350577 +0300 +++ /usr/bin/lxc-checkconfig.orig 2015-06-11 14:01:14.138350786 +0300 @@ -100,7 +100,7 @@ echo -n "Cgroup sched: " && is_enabled CONFIG_CGROUP_SCHED echo -n "Cgroup cpu account: " && is_enabled CONFIG_CGROUP_CPUACCT echo -n "Cgroup memory controller: " -if [ $KVER_MAJOR -ge 3 -a $KVER_MINOR -ge 6 -o $KVER_MAJOR -eq 4 ]; then +if [ $KVER_MAJOR -ge 3 -a $KVER_MINOR -ge 6 ]; then is_enabled CONFIG_MEMCG else is_enabled CONFIG_CGROUP_MEM_RES_CTLR it works: [root@virtual03 ~]# /usr/bin/lxc-checkconfig | grep memory Cgroup memory controller: enabled |
This task depends upon
Closed by Sergej Pupykin (sergej)
Monday, 27 July 2015, 09:38 GMT
Reason for closing: Won't implement
Additional comments about closing: let's wait for upstream release. This bug is not so critical to backport the patch as I understand
Monday, 27 July 2015, 09:38 GMT
Reason for closing: Won't implement
Additional comments about closing: let's wait for upstream release. This bug is not so critical to backport the patch as I understand
https://github.com/lxc/lxc/commit/56983b40c7ec9cf7666965eeb3d9e526e3bf982a