← Back to team overview

touch-packages team mailing list archive

[Bug 1379030] [NEW] Extra lxc.mount.auto entry being added to config file

 

Public bug reported:

I'm using the Python API to append entries to the LXC config file.  When
I do the following:

container.set_config_item("lxc.mount.auto", "cgroup:mixed")

I get an extra lxc.mount.auto entry in the config file.  This is what it
looks like:

lxc.mount.auto = 
lxc.mount.auto = cgroup:mixed

This keeps the container from starting.  I have to remove the first
lxc.mount.auto to get the container to start.

Also, this seems to have started fairly recently.

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: lxc 1.1.0~alpha2-0ubuntu2
ProcVersionSignature: Ubuntu 3.16.0-21.28-generic 3.16.4
Uname: Linux 3.16.0-21-generic x86_64
ApportVersion: 2.14.7-0ubuntu5
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Oct  8 16:40:40 2014
SourcePackage: lxc
UpgradeStatus: Upgraded to utopic on 2014-06-16 (114 days ago)
defaults.conf:
 lxc.network.type = veth
 lxc.network.link = lxcbr0
 lxc.network.flags = up
 lxc.network.hwaddr = 00:16:3e:xx:xx:xx

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


** Tags: amd64 apparmor apport-bug utopic

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

Title:
  Extra lxc.mount.auto entry being added to config file

Status in “lxc” package in Ubuntu:
  New

Bug description:
  I'm using the Python API to append entries to the LXC config file.
  When I do the following:

  container.set_config_item("lxc.mount.auto", "cgroup:mixed")

  I get an extra lxc.mount.auto entry in the config file.  This is what
  it looks like:

  lxc.mount.auto = 
  lxc.mount.auto = cgroup:mixed

  This keeps the container from starting.  I have to remove the first
  lxc.mount.auto to get the container to start.

  Also, this seems to have started fairly recently.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: lxc 1.1.0~alpha2-0ubuntu2
  ProcVersionSignature: Ubuntu 3.16.0-21.28-generic 3.16.4
  Uname: Linux 3.16.0-21-generic x86_64
  ApportVersion: 2.14.7-0ubuntu5
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Wed Oct  8 16:40:40 2014
  SourcePackage: lxc
  UpgradeStatus: Upgraded to utopic on 2014-06-16 (114 days ago)
  defaults.conf:
   lxc.network.type = veth
   lxc.network.link = lxcbr0
   lxc.network.flags = up
   lxc.network.hwaddr = 00:16:3e:xx:xx:xx

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


Follow ups

References