[Bug 1556447] [NEW] lxc-start fails: lxc_cgfsng - cgfsng.c:all_controllers_found:430 - no systemd controller mountpoint found

Stephen Warren swarren at wwwdotorg.org
Sat Mar 12 17:17:31 UTC 2016


Public bug reported:

On Ubuntu Xenial pre-release, I see the following, so can't start a
container:

[swarren at sprint ~]$ lxc-create -t download -n t2 -- -d ubuntu -r trusty -a amd64
Using image from local cache
Unpacking the rootfs

---
You just created an Ubuntu container (release=trusty, arch=amd64, variant=default)

To enable sshd, run: apt-get install openssh-server

For security reason, container images ship without user accounts
and without a root password.

Use lxc-attach or chroot directly into the rootfs to set a root password
or create user accounts.


swarren at sprint ~]$ lxc-start -n t2 -d
lxc-start: lxc_start.c: main: 344 The container failed to start.
lxc-start: lxc_start.c: main: 346 To get more details, run the container in foreground mode.
lxc-start: lxc_start.c: main: 348 Additional information can be obtained by setting the --logfile and --logpriority options.


[swarren at sprint ~]$ lxc-start -n t2 -d -o /dev/stdout -l debug -F
      lxc-start 20160312101415.704 INFO     lxc_start_ui - lxc_start.c:main:264 - using rcfile /home/swarren/.local/share/lxc/t2/config
      lxc-start 20160312101415.705 WARN     lxc_confile - confile.c:config_pivotdir:1859 - lxc.pivotdir is ignored.  It will soon become an error.
      lxc-start 20160312101415.705 INFO     lxc_confile - confile.c:config_idmap:1495 - read uid map: type u nsid 0 hostid 100000 range 65536
      lxc-start 20160312101415.705 INFO     lxc_confile - confile.c:config_idmap:1495 - read uid map: type g nsid 0 hostid 100000 range 65536
      lxc-start 20160312101415.707 INFO     lxc_lsm - lsm/lsm.c:lsm_init:48 - LSM security driver AppArmor
      lxc-start 20160312101415.708 INFO     lxc_seccomp - seccomp.c:parse_config_v2:342 - processing: .reject_force_umount  # comment this to allow umount -f;  not recommended.
      lxc-start 20160312101415.708 INFO     lxc_seccomp - seccomp.c:parse_config_v2:446 - Adding native rule for reject_force_umount action 0
      lxc-start 20160312101415.708 INFO     lxc_seccomp - seccomp.c:do_resolve_add_rule:216 - Setting seccomp rule to reject force umounts

      lxc-start 20160312101415.708 INFO     lxc_seccomp - seccomp.c:parse_config_v2:449 - Adding compat rule for reject_force_umount action 0
      lxc-start 20160312101415.708 INFO     lxc_seccomp - seccomp.c:do_resolve_add_rule:216 - Setting seccomp rule to reject force umounts

      lxc-start 20160312101415.708 INFO     lxc_seccomp - seccomp.c:parse_config_v2:342 - processing: .[all].
      lxc-start 20160312101415.708 INFO     lxc_seccomp - seccomp.c:parse_config_v2:342 - processing: .kexec_load errno 1.
      lxc-start 20160312101415.708 INFO     lxc_seccomp - seccomp.c:parse_config_v2:446 - Adding native rule for kexec_load action 327681
      lxc-start 20160312101415.708 INFO     lxc_seccomp - seccomp.c:parse_config_v2:449 - Adding compat rule for kexec_load action 327681
      lxc-start 20160312101415.708 INFO     lxc_seccomp - seccomp.c:parse_config_v2:342 - processing: .open_by_handle_at errno 1.
      lxc-start 20160312101415.708 INFO     lxc_seccomp - seccomp.c:parse_config_v2:446 - Adding native rule for open_by_handle_at action 327681
      lxc-start 20160312101415.708 INFO     lxc_seccomp - seccomp.c:parse_config_v2:449 - Adding compat rule for open_by_handle_at action 327681
      lxc-start 20160312101415.708 INFO     lxc_seccomp - seccomp.c:parse_config_v2:342 - processing: .init_module errno 1.
      lxc-start 20160312101415.708 INFO     lxc_seccomp - seccomp.c:parse_config_v2:446 - Adding native rule for init_module action 327681
      lxc-start 20160312101415.708 INFO     lxc_seccomp - seccomp.c:parse_config_v2:449 - Adding compat rule for init_module action 327681
      lxc-start 20160312101415.708 INFO     lxc_seccomp - seccomp.c:parse_config_v2:342 - processing: .finit_module errno 1.
      lxc-start 20160312101415.708 INFO     lxc_seccomp - seccomp.c:parse_config_v2:446 - Adding native rule for finit_module action 327681
      lxc-start 20160312101415.708 INFO     lxc_seccomp - seccomp.c:parse_config_v2:449 - Adding compat rule for finit_module action 327681
      lxc-start 20160312101415.708 INFO     lxc_seccomp - seccomp.c:parse_config_v2:342 - processing: .delete_module errno 1.
      lxc-start 20160312101415.708 INFO     lxc_seccomp - seccomp.c:parse_config_v2:446 - Adding native rule for delete_module action 327681
      lxc-start 20160312101415.708 INFO     lxc_seccomp - seccomp.c:parse_config_v2:449 - Adding compat rule for delete_module action 327681
      lxc-start 20160312101415.708 INFO     lxc_seccomp - seccomp.c:parse_config_v2:456 - Merging in the compat seccomp ctx into the main one
      lxc-start 20160312101415.708 DEBUG    lxc_start - start.c:setup_signal_fd:289 - sigchild handler set
      lxc-start 20160312101415.708 DEBUG    lxc_console - console.c:lxc_console_peer_default:437 - opening /dev/tty for console peer
      lxc-start 20160312101415.708 INFO     lxc_caps - caps.c:lxc_caps_up:101 - Last supported cap was 36
      lxc-start 20160312101415.708 DEBUG    lxc_console - console.c:lxc_console_peer_default:443 - using '/dev/tty' as console
      lxc-start 20160312101415.708 DEBUG    lxc_console - console.c:lxc_console_sigwinch_init:142 - 3200 got SIGWINCH fd 9
      lxc-start 20160312101415.708 DEBUG    lxc_console - console.c:lxc_console_winsz:72 - set winsz dstfd:6 cols:347 rows:93
      lxc-start 20160312101415.770 INFO     lxc_start - start.c:lxc_init:488 - 't2' is initialized
      lxc-start 20160312101415.771 DEBUG    lxc_start - start.c:__lxc_start:1259 - Not dropping cap_sys_boot or watching utmp
      lxc-start 20160312101415.771 INFO     lxc_start - start.c:resolve_clone_flags:956 - Cloning a new user namespace
      lxc-start 20160312101415.771 INFO     lxc_cgroup - cgroup.c:cgroup_init:68 - cgroup driver cgroupfs-ng initing for t2
      lxc-start 20160312101415.771 ERROR    lxc_cgfsng - cgfsng.c:all_controllers_found:430 - no systemd controller mountpoint found
lxc-start: cgfsng.c: all_controllers_found: 430 no systemd controller mountpoint found
      lxc-start 20160312101415.771 ERROR    lxc_start - start.c:lxc_spawn:1036 - failed initializing cgroup support
lxc-start: start.c: lxc_spawn: 1036 failed initializing cgroup support
      lxc-start 20160312101415.771 ERROR    lxc_start - start.c:__lxc_start:1286 - failed to spawn 't2'
lxc-start: start.c: __lxc_start: 1286 failed to spawn 't2'
      lxc-start 20160312101415.771 INFO     lxc_conf - conf.c:run_script_argv:367 - Executing script '/usr/share/lxcfs/lxc.reboot.hook' for container 't2', config section 'lxc'
      lxc-start 20160312101416.276 ERROR    lxc_start_ui - lxc_start.c:main:344 - The container failed to start.
lxc-start: lxc_start.c: main: 344 The container failed to start.
      lxc-start 20160312101416.276 ERROR    lxc_start_ui - lxc_start.c:main:348 - Additional information can be obtained by setting the --logfile and --logpriority options.
lxc-start: lxc_start.c: main: 348 Additional information can be obtained by setting the --logfile and --logpriority options.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: lxc 2.0.0~rc10-0ubuntu2
ProcVersionSignature: Ubuntu 4.4.0-12.28-generic 4.4.4
Uname: Linux 4.4.0-12-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_modeset nvidia
ApportVersion: 2.20-0ubuntu3
Architecture: amd64
CurrentDesktop: XFCE
Date: Sat Mar 12 10:14:22 2016
InstallationDate: Installed on 2016-03-03 (9 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160122.2)
PackageArchitecture: all
SourcePackage: lxc
UpgradeStatus: No upgrade log present (probably fresh install)
defaults.conf:
 lxc.network.type = veth
 lxc.network.link = lxcbr0
 lxc.network.flags = up
 lxc.network.hwaddr = 00:16:3e:xx:xx:xx

** Affects: lxc (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug xenial

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1556447

Title:
  lxc-start fails: lxc_cgfsng - cgfsng.c:all_controllers_found:430 - no
  systemd controller mountpoint found

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



More information about the Ubuntu-server-bugs mailing list