Better handle lxc-net job failing to start (when user doesn't need it)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxc (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
I'm updating the system. I don't use lxc and don't remember installing it. Sorry, I don't know why it failed to upgrade or install.
ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: lxc (not installed)
ProcVersionSign
Uname: Linux 3.2.0-8001-
ApportVersion: 1.93-0ubuntu1
Architecture: amd64
Date: Fri Feb 17 16:55:59 2012
DuplicateSignature:
Setting up lxc (0.7.5-3ubuntu27) ...
start: Job failed to start
invoke-rc.d: initscript lxc-net, action "start" failed.
dpkg: error processing lxc (--configure):
subprocess installed post-installation script returned error exit status 1
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20110301.7)
SourcePackage: lxc
Title: package lxc (not installed) failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to precise on 2012-01-14 (40 days ago)
tags: | removed: need-duplicate-check |
Changed in lxc (Ubuntu): | |
importance: | Undecided → Medium |
Changed in lxc (Ubuntu): | |
status: | Invalid → Confirmed |
summary: |
- package lxc (not installed) failed to install/upgrade: subprocess - installed post-installation script returned error exit status 1 + Better handle lxc-net failing to start |
summary: |
- Better handle lxc-net failing to start + Better handle lxc-net job failing to start (when user doesn't need it) |
@Karl,
thanks for reporting this bug. I'm sorry it's causing you trouble.
To give an idea of why this happened, could you show the result of the following commands:
ifconfig -a
brctl show
ps -ef | grep dnsmasq
dpkg -l | grep dnsmasq
cat /etc/default/lxc
sudo stop lxc; sudo start lxc
Hopefully those will give an idea of what went wrong. Then, to get past this error, since you don't actually want lxc, you can try:
sudo apt-get purge lxc
If that fails, then edit /etc/default/lxc and set USE_LXC_ BRIDGE= "false" . Then do 'sudo apt-get install -f' followed by 'sudo apt-get purge lxc'.
Please let me know (by replying here) if you need any more help or if the above did not work.