2012-02-01 18:32:02 |
Gary Poster |
bug |
|
|
added bug |
2012-02-01 19:24:44 |
Serge Hallyn |
lxc (Ubuntu): importance |
Undecided |
High |
|
2012-02-01 19:24:45 |
Serge Hallyn |
lxc (Ubuntu): status |
New |
Confirmed |
|
2012-02-01 20:30:31 |
Serge Hallyn |
bug |
|
|
added subscriber John Johansen |
2012-02-01 20:31:58 |
Serge Hallyn |
bug task added |
|
linux (Ubuntu) |
|
2012-02-01 21:00:58 |
Brad Figg |
linux (Ubuntu): status |
New |
Incomplete |
|
2012-02-01 21:01:00 |
Brad Figg |
tags |
|
precise |
|
2012-02-01 21:14:56 |
Gary Poster |
tags |
precise |
apport-collected precise running-unity |
|
2012-02-01 21:14:57 |
Gary Poster |
description |
Repro:
$ sudo lxc-create -t ubuntu -n precise -f /etc/lxc/local.conf -- -r precise -a i686 -b gary
$ sudo lxc-start -n precise
[log in as root]
root@precise:~# apt-get install postgresql-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
openssl postgresql-client-common ssl-cert
Suggested packages:
ca-certificates openssl-blacklist
The following NEW packages will be installed:
openssl postgresql-client-common postgresql-common ssl-cert
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 643 kB of archives.
After this operation, 1618 kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://archive.ubuntu.com/ubuntu/ precise/main openssl i386 1.0.0e-3ubuntu1 [510 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ precise/main postgresql-client-common all 128 [25.6 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ precise/main ssl-cert all 1.0.28 [12.2 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ precise/main postgresql-common all 128 [94.9 kB]
Fetched 643 kB in 1s (482 kB/s)
Preconfiguring packages ...
Selecting previously unselected package openssl.
(Reading database ... 12500 files and directories currently installed.)
Unpacking openssl (from .../openssl_1.0.0e-3ubuntu1_i386.deb) ...
Selecting previously unselected package postgresql-client-common.
Unpacking postgresql-client-common (from .../postgresql-client-common_128_all.deb) ...
Selecting previously unselected package ssl-cert.
Unpacking ssl-cert (from .../ssl-cert_1.0.28_all.deb) ...
Selecting previously unselected package postgresql-common.
Unpacking postgresql-common (from .../postgresql-common_128_all.deb) ...
Adding 'diversion of /usr/bin/pg_config to /usr/bin/pg_config.libpq-dev by postgresql-common'
dpkg: unrecoverable fatal error, aborting:
failed to fstat previous diversions file: No such file or directory
E: Sub-process /usr/bin/dpkg returned an error code (2)
Workaround (thanks to wgrant):
sudo ln -s /etc/apparmor.d/usr.bin.lxc-start /etc/apparmor.d/disable/
sudo apparmor_parser -R /etc/apparmor.d/usr.bin.lxc-start
Then it should work.
Ideally we'd be able to keep apparmor involved. |
Repro:
$ sudo lxc-create -t ubuntu -n precise -f /etc/lxc/local.conf -- -r precise -a i686 -b gary
$ sudo lxc-start -n precise
[log in as root]
root@precise:~# apt-get install postgresql-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
openssl postgresql-client-common ssl-cert
Suggested packages:
ca-certificates openssl-blacklist
The following NEW packages will be installed:
openssl postgresql-client-common postgresql-common ssl-cert
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 643 kB of archives.
After this operation, 1618 kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://archive.ubuntu.com/ubuntu/ precise/main openssl i386 1.0.0e-3ubuntu1 [510 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ precise/main postgresql-client-common all 128 [25.6 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ precise/main ssl-cert all 1.0.28 [12.2 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ precise/main postgresql-common all 128 [94.9 kB]
Fetched 643 kB in 1s (482 kB/s)
Preconfiguring packages ...
Selecting previously unselected package openssl.
(Reading database ... 12500 files and directories currently installed.)
Unpacking openssl (from .../openssl_1.0.0e-3ubuntu1_i386.deb) ...
Selecting previously unselected package postgresql-client-common.
Unpacking postgresql-client-common (from .../postgresql-client-common_128_all.deb) ...
Selecting previously unselected package ssl-cert.
Unpacking ssl-cert (from .../ssl-cert_1.0.28_all.deb) ...
Selecting previously unselected package postgresql-common.
Unpacking postgresql-common (from .../postgresql-common_128_all.deb) ...
Adding 'diversion of /usr/bin/pg_config to /usr/bin/pg_config.libpq-dev by postgresql-common'
dpkg: unrecoverable fatal error, aborting:
failed to fstat previous diversions file: No such file or directory
E: Sub-process /usr/bin/dpkg returned an error code (2)
Workaround (thanks to wgrant):
sudo ln -s /etc/apparmor.d/usr.bin.lxc-start /etc/apparmor.d/disable/
sudo apparmor_parser -R /etc/apparmor.d/usr.bin.lxc-start
Then it should work.
Ideally we'd be able to keep apparmor involved.
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 1.91-0ubuntu1
Architecture: amd64
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: Cirrus Analog [Cirrus Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: gary 1953 F.... pulseaudio
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
Card0.Amixer.info:
Card hw:0 'NVidia'/'HDA NVidia at 0xe7480000 irq 21'
Mixer name : 'Cirrus Logic CS4206'
Components : 'HDA:10134206,106b4b00,00100301'
Controls : 18
Simple ctrls : 9
CurrentDmesg:
Error: command ['sh', '-c', 'dmesg | comm -13 --nocheck-order /var/log/dmesg -'] failed with exit code 1: comm: /var/log/dmesg: Permission denied
dmesg: write failed: Broken pipe
DistroRelease: Ubuntu 12.04
MachineType: Apple Inc. MacBookPro5,3
NonfreeKernelModules: wl nvidia
Package: lxc 0.7.5-3ubuntu16
PackageArchitecture: amd64
ProcEnviron:
PATH=(custom, user)
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-12-generic root=UUID=44d3af31-0b7b-42d9-a0ff-d3cfb63f282d ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.2.0-12.21-generic 3.2.2
Tags: precise running-unity precise running-unity
Uname: Linux 3.2.0-12-generic x86_64
UpgradeStatus: Upgraded to precise on 2012-01-23 (9 days ago)
UserGroups: libvirtd sudo
WifiSyslog:
dmi.bios.date: 06/15/09
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MBP53.88Z.00AC.B03.0906151647
dmi.board.asset.tag: Base Board Asset Tag#
dmi.board.name: Mac-F22587C8
dmi.board.vendor: Apple Inc.
dmi.chassis.asset.tag: Asset Tag#
dmi.chassis.type: 10
dmi.chassis.vendor: Apple Inc.
dmi.chassis.version: Mac-F22587C8
dmi.modalias: dmi:bvnAppleInc.:bvrMBP53.88Z.00AC.B03.0906151647:bd06/15/09:svnAppleInc.:pnMacBookPro5,3:pvr1.0:rvnAppleInc.:rnMac-F22587C8:rvr:cvnAppleInc.:ct10:cvrMac-F22587C8:
dmi.product.name: MacBookPro5,3
dmi.product.version: 1.0
dmi.sys.vendor: Apple Inc. |
|
2012-02-01 21:14:59 |
Gary Poster |
attachment added |
|
AcpiTables.txt https://bugs.launchpad.net/bugs/925024/+attachment/2706238/+files/AcpiTables.txt |
|
2012-02-01 21:15:01 |
Gary Poster |
attachment added |
|
AlsaDevices.txt https://bugs.launchpad.net/bugs/925024/+attachment/2706239/+files/AlsaDevices.txt |
|
2012-02-01 21:15:04 |
Gary Poster |
attachment added |
|
AplayDevices.txt https://bugs.launchpad.net/bugs/925024/+attachment/2706240/+files/AplayDevices.txt |
|
2012-02-01 21:15:06 |
Gary Poster |
attachment added |
|
Card0.Amixer.values.txt https://bugs.launchpad.net/bugs/925024/+attachment/2706241/+files/Card0.Amixer.values.txt |
|
2012-02-01 21:15:08 |
Gary Poster |
attachment added |
|
Card0.Codecs.codec.0.txt https://bugs.launchpad.net/bugs/925024/+attachment/2706242/+files/Card0.Codecs.codec.0.txt |
|
2012-02-01 21:15:11 |
Gary Poster |
attachment added |
|
Dependencies.txt https://bugs.launchpad.net/bugs/925024/+attachment/2706243/+files/Dependencies.txt |
|
2012-02-01 21:15:12 |
Gary Poster |
attachment added |
|
IwConfig.txt https://bugs.launchpad.net/bugs/925024/+attachment/2706244/+files/IwConfig.txt |
|
2012-02-01 21:15:15 |
Gary Poster |
attachment added |
|
Lspci.txt https://bugs.launchpad.net/bugs/925024/+attachment/2706245/+files/Lspci.txt |
|
2012-02-01 21:15:16 |
Gary Poster |
attachment added |
|
Lsusb.txt https://bugs.launchpad.net/bugs/925024/+attachment/2706246/+files/Lsusb.txt |
|
2012-02-01 21:15:18 |
Gary Poster |
attachment added |
|
PciMultimedia.txt https://bugs.launchpad.net/bugs/925024/+attachment/2706247/+files/PciMultimedia.txt |
|
2012-02-01 21:15:20 |
Gary Poster |
attachment added |
|
ProcCpuinfo.txt https://bugs.launchpad.net/bugs/925024/+attachment/2706248/+files/ProcCpuinfo.txt |
|
2012-02-01 21:15:22 |
Gary Poster |
attachment added |
|
ProcInterrupts.txt https://bugs.launchpad.net/bugs/925024/+attachment/2706249/+files/ProcInterrupts.txt |
|
2012-02-01 21:15:24 |
Gary Poster |
attachment added |
|
ProcModules.txt https://bugs.launchpad.net/bugs/925024/+attachment/2706250/+files/ProcModules.txt |
|
2012-02-01 21:15:26 |
Gary Poster |
attachment added |
|
PulseSinks.txt https://bugs.launchpad.net/bugs/925024/+attachment/2706251/+files/PulseSinks.txt |
|
2012-02-01 21:15:28 |
Gary Poster |
attachment added |
|
PulseSources.txt https://bugs.launchpad.net/bugs/925024/+attachment/2706252/+files/PulseSources.txt |
|
2012-02-01 21:15:29 |
Gary Poster |
attachment added |
|
RfKill.txt https://bugs.launchpad.net/bugs/925024/+attachment/2706253/+files/RfKill.txt |
|
2012-02-01 21:15:31 |
Gary Poster |
attachment added |
|
UdevDb.txt https://bugs.launchpad.net/bugs/925024/+attachment/2706254/+files/UdevDb.txt |
|
2012-02-01 21:15:33 |
Gary Poster |
attachment added |
|
UdevLog.txt https://bugs.launchpad.net/bugs/925024/+attachment/2706255/+files/UdevLog.txt |
|
2012-02-01 21:15:37 |
Gary Poster |
linux (Ubuntu): status |
Incomplete |
Confirmed |
|
2012-02-03 12:32:09 |
Brad Figg |
linux (Ubuntu): status |
Confirmed |
Incomplete |
|
2012-02-03 12:32:12 |
Brad Figg |
tags |
apport-collected precise running-unity |
apport-collected kernel-request-3.2.0-13.22 precise running-unity |
|
2012-02-03 14:30:28 |
Gary Poster |
linux (Ubuntu): status |
Incomplete |
Confirmed |
|
2012-02-04 12:31:03 |
Brad Figg |
linux (Ubuntu): status |
Confirmed |
Incomplete |
|
2012-02-04 12:31:07 |
Brad Figg |
tags |
apport-collected kernel-request-3.2.0-13.22 precise running-unity |
apport-collected kernel-request-3.2.0-13.22 kernel-request-3.2.0-14.23 precise running-unity |
|
2012-02-04 15:07:39 |
Serge Hallyn |
tags |
apport-collected kernel-request-3.2.0-13.22 kernel-request-3.2.0-14.23 precise running-unity |
apport-collected bot-stop-nagging kernel-request-3.2.0-13.22 kernel-request-3.2.0-14.23 precise running-unity |
|
2012-02-17 20:23:59 |
Brad Figg |
linux (Ubuntu): importance |
Undecided |
Medium |
|
2012-02-17 20:42:27 |
Joseph Salisbury |
linux (Ubuntu): status |
Incomplete |
Confirmed |
|
2012-02-20 18:24:12 |
Dave Walker |
bug |
|
|
added subscriber Ubuntu Server Release Tracking |
2012-02-29 05:02:21 |
Antonio Rosales |
tags |
apport-collected bot-stop-nagging kernel-request-3.2.0-13.22 kernel-request-3.2.0-14.23 precise running-unity |
apport-collected bot-stop-nagging kernel-request-3.2.0-13.22 kernel-request-3.2.0-14.23 precise rls-p-tracking running-unity |
|
2012-03-01 21:32:28 |
Patrick Hetu |
bug |
|
|
added subscriber Patrick Hetu |
2012-03-13 16:15:56 |
Serge Hallyn |
lxc (Ubuntu): status |
Confirmed |
Invalid |
|
2012-03-13 16:16:15 |
Serge Hallyn |
linux (Ubuntu): status |
Confirmed |
In Progress |
|
2012-03-13 16:16:32 |
Serge Hallyn |
linux (Ubuntu): assignee |
|
John Johansen (jjohansen) |
|
2012-03-18 07:29:08 |
bnomis |
bug |
|
|
added subscriber bnomis |
2012-03-20 16:17:10 |
John Johansen |
linux (Ubuntu): status |
In Progress |
Fix Released |
|
2012-03-28 18:41:09 |
Serge Hallyn |
linux (Ubuntu): status |
Fix Released |
Confirmed |
|
2012-03-28 18:41:12 |
Serge Hallyn |
lxc (Ubuntu): status |
Invalid |
Confirmed |
|
2012-03-28 18:41:18 |
Serge Hallyn |
linux (Ubuntu): importance |
Medium |
High |
|
2012-04-02 13:59:34 |
Serge Hallyn |
marked as duplicate |
|
969299 |
|
2013-11-27 15:55:46 |
markoa |
bug |
|
|
added subscriber markoa |