← Back to team overview

touch-packages team mailing list archive

[Bug 1413922] Re: lxc unprivileged containers broken

 

Ah - seems we'd actually need to add in a couple of loops in those
original dep-8 tests: run the tests as root, then run as a non-priv user
too! :)

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

Title:
  lxc unprivileged containers broken

Status in lxc package in Ubuntu:
  New

Bug description:
  Seems to be due to 1.1.0~rc1-0ubuntu1 landing?

  $ lxc-start -n trusty --logfile /tmp/lxc.log --logpriority debug
  lxc-start: lxc_start.c: main: 345 The container failed to start.
  lxc-start: lxc_start.c: main: 347 To get more details, run the container in foreground mode.
  lxc-start: lxc_start.c: main: 349 Additional information can be obtained by setting the --logfile and --logpriority options.

  lxc.log attached.

  On a related note, it seems that the dep8 tests I originally wrote for
  lxc [1] have been replaced to call lxc's own test suite. However,
  whereas these new tests are somehow passing in jenkins [2], I belied
  the crude tests in [1] would have caught this issue as they actually
  call the command-line tools users run.

  Could we maybe bring back [1] and run both sets of tests to avoid such
  a regression in future?

  [1] - https://code.launchpad.net/~jamesodhunt/ubuntu/raring/lxc/dep-8-tests/+merge/157938
  [2] - https://jenkins.qa.ubuntu.com/view/Vivid/view/AutoPkgTest/job/vivid-adt-lxc/ARCH=amd64,label=adt/

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: lxc 1.1.0~rc1-0ubuntu1
  ProcVersionSignature: Ubuntu 3.18.0-9.10-generic 3.18.2
  Uname: Linux 3.18.0-9-generic x86_64
  ApportVersion: 2.15.1-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Fri Jan 23 09:15:29 2015
  InstallationDate: Installed on 2014-04-11 (286 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Daily amd64 (20140409)
  SourcePackage: lxc
  UpgradeStatus: Upgraded to vivid on 2014-05-08 (259 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/1413922/+subscriptions


References