[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 15:46:11 UTC 2013
apport information
** 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
+ ---
+ ApportVersion: 2.10.2-0ubuntu3
+ Architecture: amd64
+ AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/controlC0', '/dev/snd/hwC0D0', '/dev/snd/hwC0D1', '/dev/snd/pcmC0D0c', '/dev/snd/pcmC0D0p', '/dev/snd/pcmC0D3p', '/dev/snd/pcmC0D6c', '/dev/snd/pcmC0D6p', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
+ DistroRelease: Ubuntu 13.10
+ HibernationDevice: RESUME=UUID=9661ff9a-af2b-4768-a741-0a313db5b763
+ 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
+ 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
+ ProcFB: 0 inteldrmfb
+ ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.10.0-2-generic root=UUID=a25fbaa5-8321-48be-bd4f-d5027b955669 ro quiet splash swapaccount=1 vt.handoff=7
+ ProcVersionSignature: Ubuntu 3.10.0-2.9-generic 3.10.0
+ 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.asset.tag: ATN12345678901234567
+ dmi.board.name: U3SG
+ dmi.board.vendor: ASUSTeK Computer Inc.
+ dmi.board.version: 1.0
+ dmi.chassis.asset.tag: ATN12345678901234567
+ dmi.chassis.type: 10
+ dmi.chassis.vendor: ASUSTeK Computer Inc.
+ dmi.chassis.version: 1.0
+ dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr305:bd01/28/2008:svnASUSTeKComputerInc.:pnU3SG:pvr1.0:rvnASUSTeKComputerInc.:rnU3SG:rvr1.0:cvnASUSTeKComputerInc.:ct10:cvr1.0:
+ dmi.product.name: U3SG
+ dmi.product.version: 1.0
+ dmi.sys.vendor: ASUSTeK Computer Inc.
** Attachment added: "AlsaInfo.txt"
https://bugs.launchpad.net/bugs/1196518/+attachment/3724617/+files/AlsaInfo.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/linux/+bug/1196518/+subscriptions
More information about the Ubuntu-server-bugs
mailing list