← Back to team overview

touch-packages team mailing list archive

[Bug 1508744] Re: Upgrade to Ubuntu 15.10 Broken: lxc-net.service fails on upgrade

 

I hit what I think might be this issue on Vivid, just doing an upgrade
to the latest lxc in vivid-updates because I was hitting a separate bug
(I'll file next) and thought updating to the latest vivid-updates might
fix it. In my case, "service lxc-net stop" succeeded, but "service lxc-
net start" still did not work. Rebooting fixed it.

I didn't keep many logs (sorry), but the original versions on Vivid and
the versions I upgraded to were:

Commandline: apt-get install lxc
Upgrade: lxc:amd64 (1.1.2-0ubuntu3, 1.1.5-0ubuntu0.15.04.3), python3-lxc:amd64 (1.1.2-0ubuntu3, 1.1.5-0ubuntu0.15.04.3), liblxc1:amd64 (1.1.2-0ubuntu3, 1.1.5-0ubuntu0.15.04.3)
Error: Sub-process /usr/bin/dpkg returned an error code (1)

So perhaps this might be reproducible from a Vivid machine that is on
the release pocket only, adding the -updates pocket and then "sudo apt-
get install lxc". I haven't tried this though.

I hope that's helpful.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1508744

Title:
  Upgrade to Ubuntu 15.10 Broken: lxc-net.service fails on upgrade

Status in Release Notes for Ubuntu:
  New
Status in lxc package in Ubuntu:
  Incomplete

Bug description:
  With lxc installed, the 15.04 -> 15.10 upgrade fails. The upgrade
  completes if LXC is removed and then reinstalled later. Here is me
  using apt to try and make it work (gives same errors as upgrade-
  manager did):

  
  Setting up lxc (1.1.4-0ubuntu1) ...
  Job for lxc-net.service failed because the control process exited with error code. See "systemctl status lxc-net.service" and "journalctl -xe" for details.
  invoke-rc.d: initscript lxc-net, action "start" failed.
  dpkg: error processing package lxc (--configure):
   subprocess installed post-installation script returned error exit status 1
  dpkg: dependency problems prevent configuration of lxc-templates:
   lxc-templates depends on lxc (>= 0.8.0~rc1-4ubuntu43); however:
    Package lxc is not configured yet.

  dpkg: error processing package lxc-templates (--configure):
   dependency problems - leaving unconfigured
  Errors were encountered while processing:
   lxc
   lxc-templates
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  ╭─michael@michael-desktop-ubuntu  ~ ‹› 
  ╰─$ systemctl status lxc-net.service                                                                                                                                                                     100 ↵
  ● lxc-net.service - LXC network bridge setup
     Loaded: loaded (/lib/systemd/system/lxc-net.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Thu 2015-10-22 12:50:07 AEDT; 27s ago
    Process: 22655 ExecStart=/usr/lib/x86_64-linux-gnu/lxc/lxc-net start (code=exited, status=1/FAILURE)
   Main PID: 22655 (code=exited, status=1/FAILURE)

  Oct 22 12:50:07 michael-desktop-ubuntu systemd[1]: Starting LXC network bridge setup...
  Oct 22 12:50:07 michael-desktop-ubuntu lxc-net[22655]: lxc-net is already running
  Oct 22 12:50:07 michael-desktop-ubuntu systemd[1]: lxc-net.service: Main process exited, code=exited, status=1/FAILURE
  Oct 22 12:50:07 michael-desktop-ubuntu systemd[1]: Failed to start LXC network bridge setup.
  Oct 22 12:50:07 michael-desktop-ubuntu systemd[1]: lxc-net.service: Unit entered failed state.
  Oct 22 12:50:07 michael-desktop-ubuntu systemd[1]: lxc-net.service: Failed with result 'exit-code'.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-release-notes/+bug/1508744/+subscriptions