Activity log for bug #959352

Date Who What changed Old value New value Message
2012-03-19 14:51:29 Benji York bug added bug
2012-03-19 15:49:33 Serge Hallyn lxc (Ubuntu): importance Undecided Low
2012-03-21 00:32:32 Gary Poster bug added subscriber Gary Poster
2012-03-21 00:32:39 Launchpad Janitor lxc (Ubuntu): status New Confirmed
2012-03-21 03:11:52 Serge Hallyn lxc (Ubuntu): importance Low High
2012-03-21 14:33:23 Serge Hallyn bug task added linux (Ubuntu)
2012-03-21 15:00:09 Brad Figg linux (Ubuntu): status New Incomplete
2012-03-28 14:15:00 Benji York tags apport-collected precise staging
2012-03-28 14:15:02 Benji York description Ephemeral containers (but not non-ephemeral ones) have all of their /proc/*/maps entries prefixed with "/rootfs". One problem this causes is that graphviz uses /proc/self/maps to locate its plugins. That means that some of the plugins can not be loaded. To reproduce the problem with dot, run this command: dot -Tcmapx < /dev/null No output is expected, however because of the bug this output is produced: Format: "cmapx" not recognized. Use one of: dia hpgl mif mp pcl pic vtx A workaround for the problem with graphviz is to make the plugins available at the path it is expecting: mkdir -p /rootfs/usr/lib ln -s /usr/lib/graphviz /rootfs/usr/lib/graphviz Ephemeral containers (but not non-ephemeral ones) have all of their /proc/*/maps entries prefixed with "/rootfs". One problem this causes is that graphviz uses /proc/self/maps to locate its plugins. That means that some of the plugins can not be loaded. To reproduce the problem with dot, run this command: dot -Tcmapx < /dev/null No output is expected, however because of the bug this output is produced: Format: "cmapx" not recognized. Use one of: dia hpgl mif mp pcl pic vtx A workaround for the problem with graphviz is to make the plugins available at the path it is expecting: mkdir -p /rootfs/usr/lib ln -s /usr/lib/graphviz /rootfs/usr/lib/graphviz --- AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24. ApportVersion: 1.95-0ubuntu1 Architecture: i386 DistroRelease: Ubuntu 12.04 HibernationDevice: RESUME=UUID=2c5f282a-e713-4ae0-a940-87a40efd050f InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1) MachineType: LENOVO 4313CTO Package: lxc ProcFB: 0 inteldrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-20-generic-pae root=UUID=8469c78f-d0fc-4564-a009-eed59bd1fdff ro quiet splash vt.handoff=7 ProcVersionSignature: Ubuntu 3.2.0-20.33-generic-pae 3.2.12 RfKill: 0: phy0: Wireless LAN Soft blocked: no Hard blocked: no StagingDrivers: mei Tags: precise staging Uname: Linux 3.2.0-20-generic-pae i686 UpgradeStatus: Upgraded to precise on 2012-01-24 (63 days ago) UserGroups: adm admin cdrom dialout libvirtd lpadmin plugdev sambashare dmi.bios.date: 10/26/2010 dmi.bios.vendor: LENOVO dmi.bios.version: 6MET81WW (1.41 ) dmi.board.name: 4313CTO 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:bvr6MET81WW(1.41):bd10/26/2010:svnLENOVO:pn4313CTO:pvrThinkPadT510:rvnLENOVO:rn4313CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 4313CTO dmi.product.version: ThinkPad T510 dmi.sys.vendor: LENOVO
2012-03-28 14:15:03 Benji York attachment added AcpiTables.txt https://bugs.launchpad.net/bugs/959352/+attachment/2955072/+files/AcpiTables.txt
2012-03-28 14:15:04 Benji York attachment added AlsaDevices.txt https://bugs.launchpad.net/bugs/959352/+attachment/2955073/+files/AlsaDevices.txt
2012-03-28 14:15:06 Benji York attachment added AplayDevices.txt https://bugs.launchpad.net/bugs/959352/+attachment/2955074/+files/AplayDevices.txt
2012-03-28 14:15:08 Benji York attachment added ArecordDevices.txt https://bugs.launchpad.net/bugs/959352/+attachment/2955075/+files/ArecordDevices.txt
2012-03-28 14:15:10 Benji York attachment added AudioDevicesInUse.txt https://bugs.launchpad.net/bugs/959352/+attachment/2955076/+files/AudioDevicesInUse.txt
2012-03-28 14:15:11 Benji York attachment added BootDmesg.txt https://bugs.launchpad.net/bugs/959352/+attachment/2955077/+files/BootDmesg.txt
2012-03-28 14:15:13 Benji York attachment added CRDA.txt https://bugs.launchpad.net/bugs/959352/+attachment/2955078/+files/CRDA.txt
2012-03-28 14:15:14 Benji York attachment added Card0.Amixer.info.txt https://bugs.launchpad.net/bugs/959352/+attachment/2955079/+files/Card0.Amixer.info.txt
2012-03-28 14:15:16 Benji York attachment added Card0.Amixer.values.txt https://bugs.launchpad.net/bugs/959352/+attachment/2955080/+files/Card0.Amixer.values.txt
2012-03-28 14:15:17 Benji York attachment added Card0.Codecs.codec.0.txt https://bugs.launchpad.net/bugs/959352/+attachment/2955081/+files/Card0.Codecs.codec.0.txt
2012-03-28 14:15:19 Benji York attachment added Card0.Codecs.codec.3.txt https://bugs.launchpad.net/bugs/959352/+attachment/2955082/+files/Card0.Codecs.codec.3.txt
2012-03-28 14:15:21 Benji York attachment added Card1.Amixer.info.txt https://bugs.launchpad.net/bugs/959352/+attachment/2955083/+files/Card1.Amixer.info.txt
2012-03-28 14:15:23 Benji York attachment added Card1.Amixer.values.txt https://bugs.launchpad.net/bugs/959352/+attachment/2955084/+files/Card1.Amixer.values.txt
2012-03-28 14:15:24 Benji York attachment added Card29.Amixer.info.txt https://bugs.launchpad.net/bugs/959352/+attachment/2955085/+files/Card29.Amixer.info.txt
2012-03-28 14:15:26 Benji York attachment added Card29.Amixer.values.txt https://bugs.launchpad.net/bugs/959352/+attachment/2955086/+files/Card29.Amixer.values.txt
2012-03-28 14:15:28 Benji York attachment added CurrentDmesg.txt https://bugs.launchpad.net/bugs/959352/+attachment/2955087/+files/CurrentDmesg.txt
2012-03-28 14:15:30 Benji York attachment added IwConfig.txt https://bugs.launchpad.net/bugs/959352/+attachment/2955088/+files/IwConfig.txt
2012-03-28 14:15:31 Benji York attachment added Lspci.txt https://bugs.launchpad.net/bugs/959352/+attachment/2955089/+files/Lspci.txt
2012-03-28 14:15:39 Benji York attachment added Lsusb.txt https://bugs.launchpad.net/bugs/959352/+attachment/2955090/+files/Lsusb.txt
2012-03-28 14:15:41 Benji York attachment added PciMultimedia.txt https://bugs.launchpad.net/bugs/959352/+attachment/2955091/+files/PciMultimedia.txt
2012-03-28 14:15:42 Benji York attachment added ProcCpuinfo.txt https://bugs.launchpad.net/bugs/959352/+attachment/2955092/+files/ProcCpuinfo.txt
2012-03-28 14:15:44 Benji York attachment added ProcEnviron.txt https://bugs.launchpad.net/bugs/959352/+attachment/2955093/+files/ProcEnviron.txt
2012-03-28 14:15:46 Benji York attachment added ProcInterrupts.txt https://bugs.launchpad.net/bugs/959352/+attachment/2955094/+files/ProcInterrupts.txt
2012-03-28 14:15:47 Benji York attachment added ProcModules.txt https://bugs.launchpad.net/bugs/959352/+attachment/2955095/+files/ProcModules.txt
2012-03-28 14:15:49 Benji York attachment added PulseList.txt https://bugs.launchpad.net/bugs/959352/+attachment/2955096/+files/PulseList.txt
2012-03-28 14:15:50 Benji York attachment added RelatedPackageVersions.txt https://bugs.launchpad.net/bugs/959352/+attachment/2955097/+files/RelatedPackageVersions.txt
2012-03-28 14:15:52 Benji York attachment added UdevDb.txt https://bugs.launchpad.net/bugs/959352/+attachment/2955098/+files/UdevDb.txt
2012-03-28 14:15:54 Benji York attachment added UdevLog.txt https://bugs.launchpad.net/bugs/959352/+attachment/2955099/+files/UdevLog.txt
2012-03-28 14:15:56 Benji York attachment added WifiSyslog.txt https://bugs.launchpad.net/bugs/959352/+attachment/2955100/+files/WifiSyslog.txt
2012-03-28 14:48:40 Gary Poster linux (Ubuntu): status Incomplete Confirmed
2012-03-28 22:18:44 Joseph Salisbury linux (Ubuntu): importance Undecided Medium
2012-03-28 22:22:08 Joseph Salisbury tags apport-collected precise staging apport-collected needs-upstream-testing precise staging
2012-03-29 13:07:53 Gary Poster tags apport-collected needs-upstream-testing precise staging apport-collected kernel-unable-to-test-upstream needs-upstream-testing precise staging
2012-03-31 00:31:30 Brad Figg linux (Ubuntu): status Confirmed Incomplete
2012-03-31 00:31:32 Brad Figg tags apport-collected kernel-unable-to-test-upstream needs-upstream-testing precise staging apport-collected kernel-request-3.2.0-21.34 kernel-unable-to-test-upstream needs-upstream-testing precise staging
2012-07-05 16:09:09 Stéphane Graber tags apport-collected kernel-request-3.2.0-21.34 kernel-unable-to-test-upstream needs-upstream-testing precise staging apport-collected bot-stop-nagging kernel-request-3.2.0-21.34 kernel-unable-to-test-upstream needs-upstream-testing precise staging
2012-07-05 16:09:56 Stéphane Graber linux (Ubuntu): status Incomplete Confirmed
2012-07-12 16:18:35 Leann Ogasawara linux (Ubuntu): assignee Bryan Wu (cooloney)
2012-08-14 09:09:03 Bryan Wu attachment added rootfs_prefix.patch https://bugs.launchpad.net/ubuntu/+source/linux/+bug/959352/+attachment/3260345/+files/rootfs_prefix.patch
2012-08-14 13:04:58 Serge Hallyn lxc (Ubuntu): assignee Serge Hallyn (serge-hallyn)
2012-08-14 13:15:41 Serge Hallyn attachment added lxc-maps.debdiff https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/959352/+attachment/3260628/+files/lxc-maps.debdiff
2012-08-14 14:01:07 Serge Hallyn attachment added lxc-maps2.debdiff https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/959352/+attachment/3260677/+files/lxc-maps2.debdiff
2012-08-14 15:38:13 Serge Hallyn nominated for series Ubuntu Precise
2012-08-14 15:38:13 Serge Hallyn bug task added linux (Ubuntu Precise)
2012-08-14 15:38:13 Serge Hallyn bug task added lxc (Ubuntu Precise)
2012-08-14 15:38:13 Serge Hallyn nominated for series Ubuntu Quantal
2012-08-14 15:38:13 Serge Hallyn bug task added linux (Ubuntu Quantal)
2012-08-14 15:38:13 Serge Hallyn bug task added lxc (Ubuntu Quantal)
2012-08-14 15:40:37 Launchpad Janitor lxc (Ubuntu Quantal): status Confirmed Fix Released
2012-08-14 16:22:33 Serge Hallyn description Ephemeral containers (but not non-ephemeral ones) have all of their /proc/*/maps entries prefixed with "/rootfs". One problem this causes is that graphviz uses /proc/self/maps to locate its plugins. That means that some of the plugins can not be loaded. To reproduce the problem with dot, run this command: dot -Tcmapx < /dev/null No output is expected, however because of the bug this output is produced: Format: "cmapx" not recognized. Use one of: dia hpgl mif mp pcl pic vtx A workaround for the problem with graphviz is to make the plugins available at the path it is expecting: mkdir -p /rootfs/usr/lib ln -s /usr/lib/graphviz /rootfs/usr/lib/graphviz --- AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24. ApportVersion: 1.95-0ubuntu1 Architecture: i386 DistroRelease: Ubuntu 12.04 HibernationDevice: RESUME=UUID=2c5f282a-e713-4ae0-a940-87a40efd050f InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1) MachineType: LENOVO 4313CTO Package: lxc ProcFB: 0 inteldrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-20-generic-pae root=UUID=8469c78f-d0fc-4564-a009-eed59bd1fdff ro quiet splash vt.handoff=7 ProcVersionSignature: Ubuntu 3.2.0-20.33-generic-pae 3.2.12 RfKill: 0: phy0: Wireless LAN Soft blocked: no Hard blocked: no StagingDrivers: mei Tags: precise staging Uname: Linux 3.2.0-20-generic-pae i686 UpgradeStatus: Upgraded to precise on 2012-01-24 (63 days ago) UserGroups: adm admin cdrom dialout libvirtd lpadmin plugdev sambashare dmi.bios.date: 10/26/2010 dmi.bios.vendor: LENOVO dmi.bios.version: 6MET81WW (1.41 ) dmi.board.name: 4313CTO 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:bvr6MET81WW(1.41):bd10/26/2010:svnLENOVO:pn4313CTO:pvrThinkPadT510:rvnLENOVO:rn4313CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 4313CTO dmi.product.version: ThinkPad T510 dmi.sys.vendor: LENOVO =================================== SRU Justification (for lxc workaround) 1. Impact: /proc/self/maps and /proc/self/fd entries in ephemeral containers are prefixed with '/rootfs'. Software which uses these paths to find plugins or other files will break. 2. Development fix (workaround): The prepended paths lead to the root dentry of the overlayfs mount. So lxc-start-ephemeral is changed to make the container rootfs / the root of the overlay mount. 3. Stable fix: same as development fix. 4. Test case: sudo lxc-create -t ubuntu -n q1 sudo lxc-start-ephemeral -o q1 In another terminal, follow the instructions to open a console to the ephemeral container. Therein log in as ubuntu/ubuntu, and do: cat /proc/self/maps ls -l /proc/self/fd/ and check whether entries are prefixed with '/rootfs' 5. Regression potential: Customized containers (especially which have custom made directories under /var/lib/lxc/<container> may break. If this becomes a problem we could place all of /var/lib/lxc/<container>-temp-XXXXX in another empty tmpfs, however that is not free. =================================== Ephemeral containers (but not non-ephemeral ones) have all of their /proc/*/maps entries prefixed with "/rootfs". One problem this causes is that graphviz uses /proc/self/maps to locate its plugins. That means that some of the plugins can not be loaded. To reproduce the problem with dot, run this command:     dot -Tcmapx < /dev/null No output is expected, however because of the bug this output is produced:     Format: "cmapx" not recognized. Use one of: dia hpgl mif mp pcl pic vtx A workaround for the problem with graphviz is to make the plugins available at the path it is expecting:     mkdir -p /rootfs/usr/lib     ln -s /usr/lib/graphviz /rootfs/usr/lib/graphviz --- AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24. ApportVersion: 1.95-0ubuntu1 Architecture: i386 DistroRelease: Ubuntu 12.04 HibernationDevice: RESUME=UUID=2c5f282a-e713-4ae0-a940-87a40efd050f InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1) MachineType: LENOVO 4313CTO Package: lxc ProcFB: 0 inteldrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-20-generic-pae root=UUID=8469c78f-d0fc-4564-a009-eed59bd1fdff ro quiet splash vt.handoff=7 ProcVersionSignature: Ubuntu 3.2.0-20.33-generic-pae 3.2.12 RfKill:  0: phy0: Wireless LAN   Soft blocked: no   Hard blocked: no StagingDrivers: mei Tags: precise staging Uname: Linux 3.2.0-20-generic-pae i686 UpgradeStatus: Upgraded to precise on 2012-01-24 (63 days ago) UserGroups: adm admin cdrom dialout libvirtd lpadmin plugdev sambashare dmi.bios.date: 10/26/2010 dmi.bios.vendor: LENOVO dmi.bios.version: 6MET81WW (1.41 ) dmi.board.name: 4313CTO 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:bvr6MET81WW(1.41):bd10/26/2010:svnLENOVO:pn4313CTO:pvrThinkPadT510:rvnLENOVO:rn4313CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 4313CTO dmi.product.version: ThinkPad T510 dmi.sys.vendor: LENOVO
2012-08-14 16:26:38 Serge Hallyn lxc (Ubuntu Precise): status New Triaged
2012-08-14 16:26:44 Serge Hallyn lxc (Ubuntu Precise): importance Undecided High
2012-08-14 16:26:48 Serge Hallyn lxc (Ubuntu Precise): assignee Serge Hallyn (serge-hallyn)
2012-08-14 17:16:04 Serge Hallyn bug added subscriber Ubuntu Stable Release Updates Team
2012-08-14 17:16:07 Serge Hallyn lxc (Ubuntu Precise): status Triaged In Progress
2012-08-16 18:12:45 Launchpad Janitor branch linked lp:ubuntu/lxc
2012-09-06 21:46:57 Brian Murray lxc (Ubuntu Precise): status In Progress Fix Committed
2012-09-06 21:47:02 Brian Murray bug added subscriber SRU Verification
2012-09-06 21:47:05 Brian Murray tags apport-collected bot-stop-nagging kernel-request-3.2.0-21.34 kernel-unable-to-test-upstream needs-upstream-testing precise staging apport-collected bot-stop-nagging kernel-request-3.2.0-21.34 kernel-unable-to-test-upstream needs-upstream-testing precise staging verification-needed
2012-09-12 19:53:53 Stéphane Graber tags apport-collected bot-stop-nagging kernel-request-3.2.0-21.34 kernel-unable-to-test-upstream needs-upstream-testing precise staging verification-needed apport-collected bot-stop-nagging kernel-request-3.2.0-21.34 kernel-unable-to-test-upstream needs-upstream-testing precise staging verification-done
2012-09-20 13:23:24 Scott Kitterman removed subscriber Ubuntu Stable Release Updates Team
2012-09-20 13:24:10 Launchpad Janitor lxc (Ubuntu Precise): status Fix Committed Fix Released
2012-09-20 13:50:36 Launchpad Janitor branch linked lp:ubuntu/precise-updates/lxc
2012-10-01 20:03:53 Tim Gardner linux (Ubuntu Quantal): status Confirmed Invalid
2012-10-01 20:04:04 Tim Gardner linux (Ubuntu Precise): status New Invalid