[lxc-devel] [lxc/lxc] 3909f1: lxc-debian: allow creating `testing` and `unstable...

GitHub noreply at github.com
Thu Nov 16 21:49:50 UTC 2017


  Branch: refs/heads/stable-1.0
  Home:   https://github.com/lxc/lxc
  Commit: 3909f187a60f53456ea2e1cbb9da542a47bb8368
      https://github.com/lxc/lxc/commit/3909f187a60f53456ea2e1cbb9da542a47bb8368
  Author: Antonio Terceiro <terceiro at debian.org>
  Date:   2017-11-16 (Thu, 16 Nov 2017)

  Changed paths:
    M templates/lxc-debian.in

  Log Message:
  -----------
  lxc-debian: allow creating `testing` and `unstable`

Being able to create `testing` containers, regardless of what's the name
of the next stable, is useful in several contexts, included but not
limited to testing purposes. i.e. one won't need to explicitly switch to
`bullseye` once `buster` is released to be able to continue tracking
`testing`. While we are at it, let's also enable `unstable`, which is
exactly the same as `sid`, but there is no reason for not being able to.

Signed-off-by: Antonio Terceiro <terceiro at debian.org>


  Commit: 7a687c3175905db4d61e5be231b5465ee859d536
      https://github.com/lxc/lxc/commit/7a687c3175905db4d61e5be231b5465ee859d536
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-11-16 (Thu, 16 Nov 2017)

  Changed paths:
    M src/lxc/lxc_start.c

  Log Message:
  -----------
  lxc-start: remove unnecessary checks

The console struct is internal and liblxc takes care of creating paths.

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 37d5831e32e7f1d0395fdd9e19120a7eca66caff
      https://github.com/lxc/lxc/commit/37d5831e32e7f1d0395fdd9e19120a7eca66caff
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-11-16 (Thu, 16 Nov 2017)

  Changed paths:
    M src/lxc/start.c

  Log Message:
  -----------
  start: close data socket in parent

Brings the number of open fds in the monitor process for a standard container
without ttys down to 17.

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: a6b81a7d1d946f0116c2564e44b558c72db88215
      https://github.com/lxc/lxc/commit/a6b81a7d1d946f0116c2564e44b558c72db88215
  Author: Antonio Terceiro <terceiro at debian.org>
  Date:   2017-11-16 (Thu, 16 Nov 2017)

  Changed paths:
    M templates/lxc-debian.in

  Log Message:
  -----------
  lxc-debian: don't write C.* locales to /etc/locale.gen

Doing that confuses locale generation. lxc-ubuntu does the same check

Signed-off-by: Antonio Terceiro <terceiro at debian.org>


  Commit: 3f7e039851705293be394b8fc5939f71c07fab0b
      https://github.com/lxc/lxc/commit/3f7e039851705293be394b8fc5939f71c07fab0b
  Author: Antonio Terceiro <terceiro at debian.org>
  Date:   2017-11-16 (Thu, 16 Nov 2017)

  Changed paths:
    M templates/lxc-debian.in

  Log Message:
  -----------
  lxc-debian: don't hardcode valid releases

This avoids the dance of updating the list of valid releases every time
Debian makes a new release.

It also fixes the following bug: even though lxc-debian will default to
creating containers of the latest stable by querying the archive, it
won't allow you to explicitly request `stable` because the current list
of valid releases don't include it.

Last, but not least, avoid hitting the mirror in the case the desired
release is one of the ones we know will always be there, i.e. stable,
testing, sid, and unstable.

Signed-off-by: Antonio Terceiro <terceiro at debian.org>


  Commit: 9493cb92d82b09d1be4919884944ff91aff0122f
      https://github.com/lxc/lxc/commit/9493cb92d82b09d1be4919884944ff91aff0122f
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-11-16 (Thu, 16 Nov 2017)

  Changed paths:
    M src/lxc/console.c

  Log Message:
  -----------
  console: report detach message on demand

When users pass -1 there's there won't be an escape sequence to exit the
console so no need to print a misleading info message about how to detach.

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: ec9d6a3c81f0b884b86825dc39cc693b9589b397
      https://github.com/lxc/lxc/commit/ec9d6a3c81f0b884b86825dc39cc693b9589b397
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-11-16 (Thu, 16 Nov 2017)

  Changed paths:
    M src/lxc/console.c

  Log Message:
  -----------
  console: use correct escape sequence check

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


Compare: https://github.com/lxc/lxc/compare/f8d00ae6cceb...ec9d6a3c81f0


More information about the lxc-devel mailing list