lxc-start failed with lxc_cgroup - Invalid argument - write /sys/fs/cgroup/devices/lxc/<NAME>/devices.deny : Invalid argument with kernel 3.10
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxc (Ubuntu) |
Fix Released
|
High
|
Serge Hallyn |
Bug Description
With kernel 3.10.0 lxc-create fails with the following error:
lxc-start 1372673552.852 NOTICE lxc_conf - 'saucy-
lxc-start 1372673552.852 DEBUG lxc_cgroup - cgroup_path_get: called for subsys devices name lxc/saucy-
lxc-start 1372673552.852 DEBUG lxc_cgroup - using cgroup mounted at '/sys/fs/
lxc-start 1372673552.852 DEBUG lxc_cgroup - cgroup_path_get: returning /sys/fs/
lxc-start 1372673552.852 ERROR lxc_cgroup - Invalid argument - write /sys/fs/
lxc-start 1372673552.852 ERROR lxc_conf - Error setting devices.deny to a for lxc/saucy-
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
ProcVersionSign
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
PackageArchitec
ProcCmdline: BOOT_IMAGE=
ProcEnviron:
TERM=screen
PATH=(custom, no user)
XDG_RUNTIME_
LANG=fr_FR.UTF-8
SHELL=/bin/bash
ProcVersionSign
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
---
ApportVersion: 2.10.2-0ubuntu3
Architecture: amd64
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/
DistroRelease: Ubuntu 13.10
HibernationDevice: RESUME=
InstallationDate: Installed on 2012-10-25 (251 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
MachineType: ASUSTeK Computer Inc. U3SG
MarkForUpload: True
Package: lxc 0.9.0-0ubuntu16
PackageArchitec
ProcCmdline: BOOT_IMAGE=
ProcEnviron:
TERM=screen
PATH=(custom, no user)
XDG_RUNTIME_
LANG=fr_FR.UTF-8
SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
Tags: saucy 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
dmi.bios.date: 01/28/2008
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 305
dmi.board.
dmi.board.name: U3SG
dmi.board.vendor: ASUSTeK Computer Inc.
dmi.board.version: 1.0
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK Computer Inc.
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: U3SG
dmi.product.
dmi.sys.vendor: ASUSTeK Computer Inc.
Related branches
Changed in lxc (Ubuntu): | |
importance: | Undecided → High |
Changed in lxc (Ubuntu): | |
status: | Incomplete → Triaged |
no longer affects: | linux (Ubuntu) |
Changed in lxc (Ubuntu): | |
assignee: | nobody → Serge Hallyn (serge-hallyn) |
status: | Triaged → In Progress |
Marking invalid as I couldn't reproduce, and IIUC you will re-try with fresh containers.
If you run into this again, please re-mark it new and do a 'apport-collect 1196518'.