← Back to team overview

touch-packages team mailing list archive

[Bug 1358306] Re: lxc postinst incorrectly chooses network address to use

 

** Changed in: lxc (Ubuntu)
       Status: Confirmed => Triaged

-- 
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/1358306

Title:
  lxc postinst incorrectly chooses network address to use

Status in lxc package in Ubuntu:
  Triaged

Bug description:
  The lxc postinst assumes that only /24 networks are used in
  10.0.0.0/8.  If the host has a route for 10.0.0.2/23 (or 10.0.0.0/22,
  or any other block that includes 10.0.3.0/24 or whatever other block
  it is checking) then the postinst chooses a chunk of the existing
  network block, breaking connectivity.

  Preparing to unpack .../lxc_1.0.5-0ubuntu0.1_amd64.deb ...
  Unpacking lxc (1.0.5-0ubuntu0.1) ...
  Processing triggers for ureadahead (0.100.0-16) ...
  ureadahead will be reprofiled on next reboot
  Processing triggers for man-db (2.6.7.1-1) ...
  Setting up lxc (1.0.5-0ubuntu0.1) ...
  lxc start/running
  Setting up lxc dnsmasq configuration.
  Processing triggers for ureadahead (0.100.0-16) ...
  On branch master
  nothing to commit, working directory clean
  -soko(root) 308 : netstat -rn | grep ^10.0..\.
  10.0.2.0        10.172.64.1     255.255.254.0   UG        0 0          0 tun0
  10.0.3.0        0.0.0.0         255.255.255.0   U         0 0          0 lxcbr0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1358306/+subscriptions


References