[Bug 960144] Re: lxc-start failing to setup mounts

Matias Bordese 960144 at bugs.launchpad.net
Tue Mar 20 23:03:12 UTC 2012


Hi again,

I was running the following kernel version:
Linux picasso 3.2.0-18-generic #29-Ubuntu SMP Fri Mar 9 21:36:08 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Just did a full update, and got the following error:

matiasb at picasso:~$ sudo lxc-start -n u1-server
lxc-start: Permission denied - failed to umount 'dev/pts'
lxc-start: failed to setup the new pts instance
lxc-start: failed to setup the container
lxc-start: invalid sequence number 1. expected 2
lxc-start: failed to spawn 'u1-server'

matiasb at picasso:~$ uname -a
Linux picasso 3.2.0-19-generic #30-Ubuntu SMP Fri Mar 16 16:27:15 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Still working when disabling apparmor.

** Tags added: apport-collected staging

** Description changed:

  A previously working container is not starting with last lxc updates:
  
  matiasb at picasso:~$ sudo lxc-start -n u1-server
  lxc-start: Permission denied - failed to mount 'proc' on '/usr/lib/lxc/root//proc'
  lxc-start: failed to setup the mounts for 'u1-server'
  lxc-start: failed to setup the container
  lxc-start: invalid sequence number 1. expected 2
  lxc-start: failed to spawn 'u1-server'
  
  This seems similar to bug #947617. In fact, the workaround mentioned
  there (disabling apparmor) makes it possible to start the container
  again.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: lxc 0.7.5-3ubuntu40
  ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9
  Uname: Linux 3.2.0-18-generic x86_64
  ApportVersion: 1.94.1-0ubuntu2
  Architecture: amd64
  Date: Tue Mar 20 09:23:52 2012
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20111129.1)
  SourcePackage: lxc
  UpgradeStatus: No upgrade log present (probably fresh install)
+ --- 
+ AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
+ ApportVersion: 1.94.1-0ubuntu2
+ Architecture: amd64
+ ArecordDevices:
+  **** List of CAPTURE Hardware Devices ****
+  card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
+    Subdevices: 1/1
+    Subdevice #0: subdevice #0
+ AudioDevicesInUse:
+  USER        PID ACCESS COMMAND
+  /dev/snd/controlC0:  matiasb    1889 F.... pulseaudio
+ CRDA: Error: [Errno 2] No such file or directory
+ Card0.Amixer.info:
+  Card hw:0 'Intel'/'HDA Intel at 0xf2520000 irq 44'
+    Mixer name	: 'Intel IbexPeak HDMI'
+    Components	: 'HDA:14f15069,17aa2155,00100302 HDA:80862804,17aa21b5,00100000'
+    Controls      : 14
+    Simple ctrls  : 6
+ Card29.Amixer.info:
+  Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 6QHT29WW-1.10'
+    Mixer name	: 'ThinkPad EC 6QHT29WW-1.10'
+    Components	: ''
+    Controls      : 1
+    Simple ctrls  : 1
+ Card29.Amixer.values:
+  Simple mixer control 'Console',0
+    Capabilities: pswitch pswitch-joined penum
+    Playback channels: Mono
+    Mono: Playback [on]
+ DistroRelease: Ubuntu 12.04
+ HibernationDevice: RESUME=UUID=150f70eb-c79e-4ae3-a161-98e781c97081
+ InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20111129.1)
+ Lsusb:
+  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
+  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
+  Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
+  Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
+  Bus 001 Device 003: ID 17ef:4816 Lenovo
+ MachineType: LENOVO 3249CTO
+ Package: lxc
+ ProcFB: 0 inteldrmfb
+ ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-19-generic root=UUID=e42bf3cd-2253-40fa-8c87-7a3333a7b2f2 ro quiet splash vt.handoff=7
+ ProcVersionSignature: Ubuntu 3.2.0-19.30-generic 3.2.11
+ RelatedPackageVersions:
+  linux-restricted-modules-3.2.0-19-generic N/A
+  linux-backports-modules-3.2.0-19-generic  N/A
+  linux-firmware                            1.71
+ RfKill:
+  0: phy0: Wireless LAN
+  	Soft blocked: no
+  	Hard blocked: no
+ StagingDrivers: mei
+ Tags:  precise staging
+ Uname: Linux 3.2.0-19-generic x86_64
+ UpgradeStatus: No upgrade log present (probably fresh install)
+ UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
+ dmi.bios.date: 07/14/2010
+ dmi.bios.vendor: LENOVO
+ dmi.bios.version: 6QET47WW (1.17 )
+ dmi.board.name: 3249CTO
+ dmi.board.vendor: LENOVO
+ dmi.board.version: Not Available
+ dmi.chassis.asset.tag: No Asset Information
+ dmi.chassis.type: 10
+ dmi.chassis.vendor: LENOVO
+ dmi.chassis.version: Not Available
+ dmi.modalias: dmi:bvnLENOVO:bvr6QET47WW(1.17):bd07/14/2010:svnLENOVO:pn3249CTO:pvrThinkPadX201:rvnLENOVO:rn3249CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
+ dmi.product.name: 3249CTO
+ dmi.product.version: ThinkPad X201
+ dmi.sys.vendor: LENOVO

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

Title:
  lxc-start failing to setup mounts

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



More information about the Ubuntu-server-bugs mailing list