[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

2013-07-06 Thread Launchpad Bug Tracker
This bug was fixed in the package lxc - 0.9.0-0ubuntu17

---
lxc (0.9.0-0ubuntu17) saucy; urgency=low

  * 0011-cgroup-hook-handle-stricter-kernel: fix the mountcgroups hook in the
face of new restrictions imposed by the kernel on devices cgroups.
(LP: #1196518)
 -- Serge Hallyn serge.hal...@ubuntu.com   Fri, 05 Jul 2013 20:44:57 +0200

** Changed in: lxc (Ubuntu)
   Status: In Progress = Fix Released

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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

2013-07-05 Thread Serge Hallyn
** Changed in: lxc (Ubuntu)
   Status: Incomplete = Triaged

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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

2013-07-05 Thread Serge Hallyn
I'll post a patch to be less stringent about that check.

** Changed in: linux (Ubuntu)
   Importance: Undecided = Medium

** Changed in: linux (Ubuntu)
   Status: Incomplete = Triaged

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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

2013-07-05 Thread Serge Hallyn
Ah, wait - the simpler solution would be for the mountcgroup hook to set
the device cgroup accesses (per the container config) before creating
${container}.real.

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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

2013-07-05 Thread Serge Hallyn
** No longer affects: linux (Ubuntu)

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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

2013-07-05 Thread Serge Hallyn
I'm testing this patch to solve the issue.  So far it works on my
simplest case.  I will run the lxc testsuite to check for some
regressions.

** Attachment added: 0011-cgroup-hook-handle-stricter-kernel
   
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1196518/+attachment/3726408/+files/0011-cgroup-hook-handle-stricter-kernel

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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

2013-07-05 Thread Serge Hallyn
** Changed in: lxc (Ubuntu)
 Assignee: (unassigned) = Serge Hallyn (serge-hallyn)

** Changed in: lxc (Ubuntu)
   Status: Triaged = In Progress

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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

2013-07-04 Thread Jean-Baptiste Lallement
I'm reopening because I can reproduce it on different hardware, but it
doesn't fail when running the same command twice and it seems a bit
racy. I'm searching for a way to reliably reproduce that problem.

** Changed in: lxc (Ubuntu)
   Status: Invalid = Confirmed

** Changed in: lxc (Ubuntu)
   Status: Confirmed = Incomplete

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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

2013-07-04 Thread Jean-Baptiste Lallement
This is reproducible on several systems, but only the 1rst time I start
a container when /sys/fs/cgroup/devices/lxc/NAME/ doesn't already
exist.

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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

2013-07-04 Thread Jean-Baptiste Lallement
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 DEBUGlxc_cgroup - cgroup_path_get: called 
for subsys devices name lxc/saucy-i386-20130701-1012
  
lxc-start 1372673552.852 DEBUGlxc_cgroup - using cgroup mounted at 
'/sys/fs/cgroup/devices'
lxc-start 1372673552.852 DEBUGlxc_cgroup - cgroup_path_get: 
returning /sys/fs/cgroup/devices/lxc/saucy-i386-20130701-1012 for subsystem 
devices.deny
lxc-start 1372673552.852 ERRORlxc_cgroup - Invalid argument - write 
/sys/fs/cgroup/devices/lxc/saucy-i386-20130701-1012/devices.deny : Invalid 
argument
lxc-start 1372673552.852 ERRORlxc_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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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

2013-07-04 Thread Jean-Baptiste Lallement
With otto from lp:otto I can reproduce the problem with the command:
$ sudo ./bin/otto -d create -u lp1196518-$RANDOM 
~/iso/ubuntu/saucy-desktop-amd64.iso

The write(fd, value, strlen(value)) in do_cgroup_set in cgroup.c fails
with Invalid Argument

If the command is executed a second time with the same container name
(replace $RANDOM by the number generated previoulsly), it works fine.

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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

2013-07-04 Thread Jean-Baptiste Lallement
For the moment, the workaround is to remove lxc.cgroup.devices.deny from
the config file, which is okay in our case since the machines are just
test hosts, but is not in the general case.

** Also affects: linux (Ubuntu)
   Importance: Undecided
   Status: New

** Tags added: bot-stop-nagging

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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

2013-07-04 Thread Jean-Baptiste Lallement
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 DEBUGlxc_cgroup - cgroup_path_get: called 
for subsys devices name lxc/saucy-i386-20130701-1012
  
lxc-start 1372673552.852 DEBUGlxc_cgroup - using cgroup mounted at 
'/sys/fs/cgroup/devices'
lxc-start 1372673552.852 DEBUGlxc_cgroup - cgroup_path_get: 
returning /sys/fs/cgroup/devices/lxc/saucy-i386-20130701-1012 for subsystem 
devices.deny
lxc-start 1372673552.852 ERRORlxc_cgroup - Invalid argument - write 
/sys/fs/cgroup/devices/lxc/saucy-i386-20130701-1012/devices.deny : Invalid 
argument
lxc-start 1372673552.852 ERRORlxc_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
   

[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

2013-07-04 Thread Jean-Baptiste Lallement
Here is a minimal test case to reproduce the problem:

NAME=test-deny-${RANDOM}
echo lxc.hook.mount = /usr/share/lxc/hooks/mountcgroups  /tmp/${NAME}.lxc
lxc-create -t ubuntu -n $NAME -f /tmp/${NAME}.lxc -- -r saucy
lxc-start -n $NAME

From what I understand, setting devices.deny or .allow = a is forbidden in 
3.10 when a cgroup has children. And the hook mountcgroup creates a child 
called NAME.real.
This line comes from a default configuration file in raring.

This is a change in behavior between 3.9 and 3.10 and a bit confusing.
Feel free to close if you think it is not a bug.

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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

2013-07-03 Thread Serge Hallyn
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'.

** Changed in: lxc (Ubuntu)
   Status: New = Invalid

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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

2013-07-01 Thread Jean-Baptiste Lallement
** Attachment added: fstab
   
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1196518/+attachment/3720321/+files/fstab

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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

2013-07-01 Thread Jean-Baptiste Lallement
** Attachment added: pre-mount.sh
   
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1196518/+attachment/3720323/+files/pre-mount.sh

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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

2013-07-01 Thread Jean-Baptiste Lallement
** Attachment added: config
   
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1196518/+attachment/3720320/+files/config

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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

2013-07-01 Thread Jean-Baptiste Lallement
** Attachment added: post-stop.sh
   
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1196518/+attachment/3720322/+files/post-stop.sh

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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

2013-07-01 Thread Jean-Baptiste Lallement
** Attachment added: saucy-i386-20130701-1012.log.broken
   
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1196518/+attachment/3720325/+files/saucy-i386-20130701-1012.log.broken

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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

2013-07-01 Thread Jean-Baptiste Lallement
** Attachment added: pre-start.sh
   
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1196518/+attachment/3720324/+files/pre-start.sh

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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

2013-07-01 Thread Serge Hallyn
** Changed in: lxc (Ubuntu)
   Importance: Undecided = High

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs