package lxc 0.7.5-3ubuntu56 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1005992 reported by wkh
This bug report is a duplicate of:  Bug #1000174: lxc-net fails to start with bash. Edit Remove
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lxc (Ubuntu)
Incomplete
High
Unassigned

Bug Description

Command line: sudo apt-get install lxc

12.04 Ubuntu Server with latest updates.

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: lxc 0.7.5-3ubuntu56
ProcVersionSignature: Ubuntu 3.2.0-24.39-generic 3.2.16
Uname: Linux 3.2.0-24-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
Date: Tue May 29 11:15:54 2012
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu-Server 10.04 LTS "Lucid Lynx" - Release amd64 (20100427)
SourcePackage: lxc
Title: package lxc 0.7.5-3ubuntu56 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to precise on 2012-04-27 (31 days ago)

Revision history for this message
wkh (wkharold) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Thanks for reporting this bug.

Could you provide the output of

ps -ef | grep dnsm
dpkg -l | grep dnsm
ifconfig -a
ls -l /bin/sh

Changed in lxc (Ubuntu):
importance: Undecided → High
status: New → Incomplete
Revision history for this message
wkh (wkharold) wrote : Re: [Bug 1005992] Re: package lxc 0.7.5-3ubuntu56 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Output of requested commands:

ps -ef | grep dnsm
wkharold 25235 3983 0 16:49 pts/1 00:00:00 grep dnsm

dpkg -l | grep dnsm
ii dnsmasq-base 2.59-4
                  Small caching DNS proxy and DHCP/TFTP server

ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:26:b9:80:90:71
          inet addr:10.181.18.150 Bcast:10.181.19.255 Mask:255.255.254.0
          inet6 addr: fe80::226:b9ff:fe80:9071/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:17720 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4671 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:5223417 (5.2 MB) TX bytes:777665 (777.6 KB)
          Interrupt:17

lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:1737 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1737 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:543095 (543.0 KB) TX bytes:543095 (543.0 KB)

ls -l /bin/sh
lrwxrwxrwx 1 root root 4 Apr 27 10:39 /bin/sh -> bash

... WkH

On Tue, May 29, 2012 at 12:01 PM, Serge Hallyn
<email address hidden>wrote:

> Thanks for reporting this bug.
>
> Could you provide the output of
>
> ps -ef | grep dnsm
> dpkg -l | grep dnsm
> ifconfig -a
> ls -l /bin/sh
>
> ** Changed in: lxc (Ubuntu)
> Importance: Undecided => High
>
> ** Changed in: lxc (Ubuntu)
> Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1005992
>
> Title:
> package lxc 0.7.5-3ubuntu56 failed to install/upgrade: subprocess
> installed post-installation script returned error exit status 1
>
> Status in “lxc” package in Ubuntu:
> Incomplete
>
> Bug description:
> Command line: sudo apt-get install lxc
>
> 12.04 Ubuntu Server with latest updates.
>
> ProblemType: Package
> DistroRelease: Ubuntu 12.04
> Package: lxc 0.7.5-3ubuntu56
> ProcVersionSignature: Ubuntu 3.2.0-24.39-generic 3.2.16
> Uname: Linux 3.2.0-24-generic x86_64
> NonfreeKernelModules: nvidia
> ApportVersion: 2.0.1-0ubuntu7
> Architecture: amd64
> Date: Tue May 29 11:15:54 2012
> ErrorMessage: subprocess installed post-installation script returned
> error exit status 1
> InstallationMedia: Ubuntu-Server 10.04 LTS "Lucid Lynx" - Release amd64
> (20100427)
> SourcePackage: lxc
> Title: package lxc 0.7.5-3ubuntu56 failed to install/upgrade: subprocess
> installed post-installation script returned error exit status 1
> UpgradeStatus: Upgraded to precise on 2012-04-27 (31 days ago)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1005992/+subscriptions
>

--
... WkH

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Thanks. This is due to a bug in the lxc-net upstart script which makes it fail to start under bash. This doesn't cause a problem ordinarily, but because you have /bin/sh linked to /bin/bash, lxc-net failed to start.

This bug has been fixed in quantal, and the fix is being backported to precise, but is still going through the verification process. See bug 1000174 for more information.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.