[Bug 1196518] Re: lxc-start failed with lxc_cgroup - Invalid argument - write /sys/fs/cgroup/devices/lxc/<NAME>/devices.deny : Invalid argument with kernel 3.10

Jean-Baptiste Lallement jean-baptiste at ubuntu.com
Thu Jul 4 14:33:39 UTC 2013


apport information

** Tags added: apparmor apport-collected

** Description changed:

  With kernel 3.10.0 lxc-create fails with the following error:
        lxc-start 1372673552.852 NOTICE   lxc_conf - 'saucy-i386-20130701-1012' is setup.
        lxc-start 1372673552.852 DEBUG    lxc_cgroup - cgroup_path_get: called for subsys devices name lxc/saucy-i386-20130701-1012
  
        lxc-start 1372673552.852 DEBUG    lxc_cgroup - using cgroup mounted at '/sys/fs/cgroup/devices'
        lxc-start 1372673552.852 DEBUG    lxc_cgroup - cgroup_path_get: returning /sys/fs/cgroup/devices/lxc/saucy-i386-20130701-1012 for subsystem devices.deny
        lxc-start 1372673552.852 ERROR    lxc_cgroup - Invalid argument - write /sys/fs/cgroup/devices/lxc/saucy-i386-20130701-1012/devices.deny : Invalid argument
        lxc-start 1372673552.852 ERROR    lxc_conf - Error setting devices.deny to a for lxc/saucy-i386-20130701-1012
  
  
  Second run of lxc-start works fine.
  Downgrading to 3.9.0-7 fixes the issue.
  
  The rootfs of the container is a loop-mounted squashfs from a loop-
  mounted ISO of latest saucy desktop image.
  
  pre-start, pre-mount, post-stop, lxc config and fstab attached
  
  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: lxc 0.9.0-0ubuntu15
  ProcVersionSignature: Ubuntu 3.10.0-1.8-generic 3.10.0-rc7
  Uname: Linux 3.10.0-1-generic x86_64
  ApportVersion: 2.10.2-0ubuntu3
  Architecture: amd64
  Date: Mon Jul  1 14:26:35 2013
  MarkForUpload: True
  SourcePackage: lxc
  UpgradeStatus: Upgraded to saucy on 2012-01-31 (516 days ago)
  defaults.conf:
   lxc.network.type = veth
   lxc.network.link = lxcbr0
   lxc.network.flags = up
+ --- 
+ ApportVersion: 2.10.2-0ubuntu3
+ Architecture: amd64
+ DistroRelease: Ubuntu 13.10
+ InstallationDate: Installed on 2012-10-25 (251 days ago)
+ InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
+ MarkForUpload: True
+ Package: lxc 0.9.0-0ubuntu16
+ PackageArchitecture: amd64
+ ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-3.10.0-2-generic root=UUID=a25fbaa5-8321-48be-bd4f-d5027b955669 ro quiet splash swapaccount=1 vt.handoff=7
+ ProcEnviron:
+  TERM=screen
+  PATH=(custom, no user)
+  XDG_RUNTIME_DIR=<set>
+  LANG=fr_FR.UTF-8
+  SHELL=/bin/bash
+ ProcVersionSignature: Ubuntu 3.10.0-2.9-generic 3.10.0
+ Tags:  saucy apparmor
+ Uname: Linux 3.10.0-2-generic x86_64
+ UpgradeStatus: Upgraded to saucy on 2012-12-02 (214 days ago)
+ UserGroups: adm autopilot cdrom dip kvm lpadmin plugdev sambashare sudo wireshark
+ defaults.conf:
+  lxc.network.type = veth
+  lxc.network.link = lxcbr0
+  lxc.network.flags = up

** Attachment added: "Dependencies.txt"
   https://bugs.launchpad.net/bugs/1196518/+attachment/3724402/+files/Dependencies.txt

-- 
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/1196518

Title:
  lxc-start failed with lxc_cgroup - Invalid argument - write
  /sys/fs/cgroup/devices/lxc/<NAME>/devices.deny : Invalid argument
  with kernel 3.10

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



More information about the Ubuntu-server-bugs mailing list