[Bug 1471358] Re: lxc-checkconfig shows Mainline PPA Wily-4.0.7 kernel missing memory controller

2015-11-09 Thread Stéphane Graber
** Changed in: lxc (Ubuntu)
   Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1471358

Title:
  lxc-checkconfig shows Mainline PPA Wily-4.0.7 kernel missing memory
  controller

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1471358/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1471358] Re: lxc-checkconfig shows Mainline PPA Wily-4.0.7 kernel missing memory controller

2015-07-31 Thread David Favor
I've removed the patch tag + removed the patch file as LXC already has
this bug open + fix will likely come from there.

** Tags removed: patch

** Patch removed: "Unified diff patch file"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1471358/+attachment/4424582/+files/lxc-checkconfig.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1471358

Title:
  lxc-checkconfig shows Mainline PPA Wily-4.0.7 kernel missing memory
  controller

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1471358/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1471358] Re: lxc-checkconfig shows Mainline PPA Wily-4.0.7 kernel missing memory controller

2015-07-20 Thread Serge Hallyn
** Changed in: linux (Ubuntu)
   Status: Incomplete => Confirmed

** Changed in: lxc (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1471358

Title:
  lxc-checkconfig shows Mainline PPA Wily-4.0.7 kernel missing memory
  controller

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1471358/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1471358] Re: lxc-checkconfig shows Mainline PPA Wily-4.0.7 kernel missing memory controller

2015-07-14 Thread Ubuntu Foundations Team Bug Bot
The attachment "Unified diff patch file" seems to be a patch.  If it
isn't, please remove the "patch" flag from the attachment, remove the
"patch" tag, and if you are a member of the ~ubuntu-reviewers,
unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issues please contact him.]

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1471358

Title:
  lxc-checkconfig shows Mainline PPA Wily-4.0.7 kernel missing memory
  controller

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1471358/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1471358] Re: lxc-checkconfig shows Mainline PPA Wily-4.0.7 kernel missing memory controller

2015-07-14 Thread Joseph Salisbury
** Also affects: lxc (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1471358

Title:
  lxc-checkconfig shows Mainline PPA Wily-4.0.7 kernel missing memory
  controller

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1471358/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1471358] Re: lxc-checkconfig shows Mainline PPA Wily-4.0.7 kernel missing memory controller

2015-07-05 Thread Ubuntu Foundations Team Bug Bot
** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1471358

Title:
  lxc-checkconfig shows Mainline PPA Wily-4.0.7 kernel missing memory
  controller

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1471358/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1471358] Re: lxc-checkconfig shows Mainline PPA Wily-4.0.7 kernel missing memory controller

2015-07-05 Thread David Favor
https://github.com/lxc/lxc/issues/508 documents this bug in LXC.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1471358

Title:
  lxc-checkconfig shows Mainline PPA Wily-4.0.7 kernel missing memory
  controller

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1471358/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1471358] Re: lxc-checkconfig shows Mainline PPA Wily-4.0.7 kernel missing memory controller

2015-07-05 Thread David Favor
Attached is one way to fix this.

Patch created via...

diff -u lxc-checkconfig.orig lxc-checkconfig.fix > lxc-checkconfig.patch

** Patch added: "Unified diff patch file"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1471358/+attachment/4424582/+files/lxc-checkconfig.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1471358

Title:
  lxc-checkconfig shows Mainline PPA Wily-4.0.7 kernel missing memory
  controller

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1471358/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1471358] Re: lxc-checkconfig shows Mainline PPA Wily-4.0.7 kernel missing memory controller

2015-07-05 Thread David Favor
The problem appears to be around line 102 of the lxc-checkconfig script.

echo -n "Cgroup memory controller: "

is followed by a slightly flawed check for kernel version...

if [ $KVER_MAJOR -ge 3 -a $KVER_MINOR -ge 6 ]; then
is_enabled CONFIG_MEMCG
else
is_enabled CONFIG_CGROUP_MEM_RES_CTLR
fi

The test - $KVER_MAJOR -ge 3 - passes, as this will be '4'.

The test - $KVER_MINOR -ge 6 - will fail, as the minor is '0'.

Likely a more robust test is to test for CONFIG_CGROUP_MEM_RES_CTLR
in kernel-3.6 + below.

The 4.0.7 kernel config file shows...

config-4.0.7-040007-generic:CONFIG_MEMCG=y
config-4.0.7-040007-generic:CONFIG_MEMCG_SWAP=y
config-4.0.7-040007-generic:# CONFIG_MEMCG_SWAP_ENABLED is not set
config-4.0.7-040007-generic:CONFIG_MEMCG_KMEM=y

Which is correct, as CONFIG_CGROUP_MEM_RES_CTLR seems to have been
deprecated.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1471358

Title:
  lxc-checkconfig shows Mainline PPA Wily-4.0.7 kernel missing memory
  controller

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1471358/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1471358] Re: lxc-checkconfig shows Mainline PPA Wily-4.0.7 kernel missing memory controller

2015-07-04 Thread David Favor
Can't seem to get apport-collect to login to launchpad. Appears a browser is 
required to authenticate + the
command line browser invoked doesn't seem to correctly pass user + pass to 
launchpad.

This is a headless server, so there is no browser running.

Someone let me know how to run apport-collect with output to a file +
I'll add it's output as an attachment.

Pulling all kernel CONFIG_CGROUP* options from 3.19.8 + 4.0.7 config
file + doing a diff shows exact same CGROUP kernel switches used for
compiling both kernels.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1471358

Title:
  lxc-checkconfig shows Mainline PPA Wily-4.0.7 kernel missing memory
  controller

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1471358/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1471358] Re: lxc-checkconfig shows Mainline PPA Wily-4.0.7 kernel missing memory controller

2015-07-04 Thread David Favor
Hum... lxc-checkconfig works for these kernel versions...

linux-image-3.16.0-41-generic   - default installed kernel
linux-image-3.19.8-031908-generic - mainline ppa vivid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1471358

Title:
  lxc-checkconfig shows Mainline PPA Wily-4.0.7 kernel missing memory
  controller

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1471358/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1471358] Re: lxc-checkconfig shows Mainline PPA Wily-4.0.7 kernel missing memory controller

2015-07-03 Thread David Favor
Also...

net8-rmt# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu 14.10
Release:14.10
Codename:   utopic

net8-rmt# lxc-checkconfig
Kernel configuration not found at /proc/config.gz; searching...
Kernel configuration found at /boot/config-4.0.7-040007-generic
--- Namespaces ---
Namespaces: enabled
Utsname namespace: enabled
Ipc namespace: enabled
Pid namespace: enabled
User namespace: enabled
Network namespace: enabled
Multiple /dev/pts instances: enabled

--- Control groups ---
Cgroup: enabled
Cgroup clone_children flag: enabled
Cgroup device: enabled
Cgroup sched: enabled
Cgroup cpu account: enabled
Cgroup memory controller: missing
Cgroup cpuset: enabled

--- Misc ---
Veth pair device: enabled
Macvlan: enabled
Vlan: enabled
File capabilities: enabled

Note : Before booting a new kernel, you can check its configuration
usage : CONFIG=/path/to/config /usr/bin/lxc-checkconfig

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1471358

Title:
  lxc-checkconfig shows Mainline PPA Wily-4.0.7 kernel missing memory
  controller

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1471358/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs