Public bug reported:

Before the update, on LXC 2.0.8, I had:

lxc.network.type = veth
lxc.network.flags = up
lxc.network.link = lxcbr0
lxc.network.ipv4 = 10.0.3.205/24
lxc.network.ipv4.gateway = 10.0.3.1
lxc.network.hwaddr = 00:16:3e:ae:79:d7

After the update to LXC 3.0.0beta3, I have:

lxc.net.0.type = veth
lxc.net.0.flags = up
lxc.net.0.link = lxcbr0
lxc.net.0.ipv4 = 10.0.3.205/24
lxc.net.0.ipv4.gateway = 10.0.3.1
lxc.net.0.hwaddr = 00:16:3e:ae:79:d7

The conversion is wrong. lxc.network.ipv4 (which was the correct
spelling, according to the man page in the old package) should have been
converted to lxc.net.0.ipv4.address, not to lxc.net.0.ipv4.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: lxc-utils 3.0.0~beta3-0ubuntu1
ProcVersionSignature: Ubuntu 4.15.0-10.11-generic 4.15.3
Uname: Linux 4.15.0-10-generic x86_64
ApportVersion: 2.20.8-0ubuntu10
Architecture: amd64
Date: Sun Mar 25 14:24:16 2018
InstallationDate: Installed on 2018-01-25 (58 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180120)
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
 TERM=xterm
 PATH=(custom, no user)
SourcePackage: lxc
UpgradeStatus: No upgrade log present (probably fresh install)
defaults.conf:
 lxc.net.0.type = veth
 lxc.net.0.link = lxcbr0
 lxc.net.0.flags = up
 lxc.net.0.hwaddr = 00:16:3e:xx:xx:xx

** Affects: lxc (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apparmor apport-bug bionic

** Attachment removed: "lxcsyslog.txt"
   
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1758619/+attachment/5089681/+files/lxcsyslog.txt

** Attachment removed: "KernLog.txt"
   
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1758619/+attachment/5089675/+files/KernLog.txt

** Attachment removed: "JournalErrors.txt"
   
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1758619/+attachment/5089674/+files/JournalErrors.txt

** Attachment removed: "dnsmasq.conf.txt"
   
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1758619/+attachment/5089678/+files/dnsmasq.conf.txt

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

Title:
  lxc-update-config incorrectly converts network settings

Status in lxc package in Ubuntu:
  New

Bug description:
  Before the update, on LXC 2.0.8, I had:

  lxc.network.type = veth
  lxc.network.flags = up
  lxc.network.link = lxcbr0
  lxc.network.ipv4 = 10.0.3.205/24
  lxc.network.ipv4.gateway = 10.0.3.1
  lxc.network.hwaddr = 00:16:3e:ae:79:d7

  After the update to LXC 3.0.0beta3, I have:

  lxc.net.0.type = veth
  lxc.net.0.flags = up
  lxc.net.0.link = lxcbr0
  lxc.net.0.ipv4 = 10.0.3.205/24
  lxc.net.0.ipv4.gateway = 10.0.3.1
  lxc.net.0.hwaddr = 00:16:3e:ae:79:d7

  The conversion is wrong. lxc.network.ipv4 (which was the correct
  spelling, according to the man page in the old package) should have
  been converted to lxc.net.0.ipv4.address, not to lxc.net.0.ipv4.

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: lxc-utils 3.0.0~beta3-0ubuntu1
  ProcVersionSignature: Ubuntu 4.15.0-10.11-generic 4.15.3
  Uname: Linux 4.15.0-10-generic x86_64
  ApportVersion: 2.20.8-0ubuntu10
  Architecture: amd64
  Date: Sun Mar 25 14:24:16 2018
  InstallationDate: Installed on 2018-01-25 (58 days ago)
  InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180120)
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
   TERM=xterm
   PATH=(custom, no user)
  SourcePackage: lxc
  UpgradeStatus: No upgrade log present (probably fresh install)
  defaults.conf:
   lxc.net.0.type = veth
   lxc.net.0.link = lxcbr0
   lxc.net.0.flags = up
   lxc.net.0.hwaddr = 00:16:3e:xx:xx:xx

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to