[Touch-packages] [Bug 1620774] Re: lxc container does not start: cgroupfs failed to detect cgroup metadata

2020-03-25 Thread Stéphane Graber
** Changed in: lxc (Ubuntu)
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1620774

Title:
  lxc container does not start: cgroupfs failed to detect cgroup
  metadata

Status in lxc package in Ubuntu:
  Invalid

Bug description:
  lxc container failed to start until after I installed cgroupfs-mount

  After a recent upgrade, I received the following error messages when
  start an lxc container:

  kevin@awabi:~$ sudo lxc-start -F -n escale_build
  lxc-start: cgroups/cgfs.c: cgfs_init: 2288 cgroupfs failed to detect cgroup 
metadata
  lxc-start: start.c: lxc_spawn: 1094 failed initializing cgroup support

lxc-start: start.c: __lxc_start: 1354 failed to spawn 'escale_build'
lxc-start: 
tools/lxc_start.c: main: 344 The container failed to start.
  lxc-start: tools/lxc_start.c: main: 348 Additional information can be 
obtained by setting the --logfile and --logpriority options.

  
  aptitude install cgroupfs-mount

  Then I could successful start my container.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: lxc 2.0.4-0ubuntu1~ubuntu16.04.2
  ProcVersionSignature: Ubuntu 4.4.0-36.55-generic 4.4.16
  Uname: Linux 4.4.0-36-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.20.1-0ubuntu2.1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Tue Sep  6 11:26:12 2016
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2015-05-18 (477 days ago)
  InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
  PackageArchitecture: all
  SourcePackage: lxc
  UpgradeStatus: Upgraded to xenial on 2016-05-30 (99 days ago)
  defaults.conf:
   lxc.network.type = veth
   lxc.network.link = lxcbr0
   lxc.network.flags = up
   lxc.network.hwaddr = 00:16:3e:xx:xx:xx

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1620774] Re: lxc container does not start: cgroupfs failed to detect cgroup metadata

2016-09-06 Thread Stéphane Graber
What init system are you using on this system?

systemd would automatically mount those cgroups which then wouldn't need
the help of cgroup-lite (preferred) or cgroupfs-mount (which you used).

But if you're using upstart on Ubuntu 16.04, then you indeed do need one
of those two packages installed.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1620774

Title:
  lxc container does not start: cgroupfs failed to detect cgroup
  metadata

Status in lxc package in Ubuntu:
  New

Bug description:
  lxc container failed to start until after I installed cgroupfs-mount

  After a recent upgrade, I received the following error messages when
  start an lxc container:

  kevin@awabi:~$ sudo lxc-start -F -n escale_build
  lxc-start: cgroups/cgfs.c: cgfs_init: 2288 cgroupfs failed to detect cgroup 
metadata
  lxc-start: start.c: lxc_spawn: 1094 failed initializing cgroup support

lxc-start: start.c: __lxc_start: 1354 failed to spawn 'escale_build'
lxc-start: 
tools/lxc_start.c: main: 344 The container failed to start.
  lxc-start: tools/lxc_start.c: main: 348 Additional information can be 
obtained by setting the --logfile and --logpriority options.

  
  aptitude install cgroupfs-mount

  Then I could successful start my container.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: lxc 2.0.4-0ubuntu1~ubuntu16.04.2
  ProcVersionSignature: Ubuntu 4.4.0-36.55-generic 4.4.16
  Uname: Linux 4.4.0-36-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.20.1-0ubuntu2.1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Tue Sep  6 11:26:12 2016
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2015-05-18 (477 days ago)
  InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
  PackageArchitecture: all
  SourcePackage: lxc
  UpgradeStatus: Upgraded to xenial on 2016-05-30 (99 days ago)
  defaults.conf:
   lxc.network.type = veth
   lxc.network.link = lxcbr0
   lxc.network.flags = up
   lxc.network.hwaddr = 00:16:3e:xx:xx:xx

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp