[lxc-devel] [lxc/lxc] 8de44e: console: prepare for generic signal handler

GitHub noreply at github.com
Mon Nov 13 16:18:58 UTC 2017


  Branch: refs/heads/stable-2.1
  Home:   https://github.com/lxc/lxc
  Commit: 8de44ef8ea7636cea93fa542297bd1e3ad4020b0
      https://github.com/lxc/lxc/commit/8de44ef8ea7636cea93fa542297bd1e3ad4020b0
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-11-13 (Mon, 13 Nov 2017)

  Changed paths:
    M src/lxc/console.c
    M src/lxc/console.h
    M src/lxc/tools/lxc_attach.c

  Log Message:
  -----------
  console: prepare for generic signal handler

Non-functional changes to enable handling more signals.

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


  Commit: 94b9b79499271a496447805b135482e7bae946fc
      https://github.com/lxc/lxc/commit/94b9b79499271a496447805b135482e7bae946fc
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-11-13 (Mon, 13 Nov 2017)

  Changed paths:
    M src/lxc/console.c

  Log Message:
  -----------
  console: exit mainloop on SIGTERM

This allows cleanly exiting a console session without control sequences.

Relates to https://github.com/lxc/lxd/pull/4001 .

Note that the existence of a signal handler now doesn't guarantee that ts->node
is allocated. Instead, ts->node will now only be added to if stdinfd is a tty.
New checks need to take that into account.

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


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

  Changed paths:
    M src/lxc/storage/lvm.c
    M src/lxc/storage/lvm.h

  Log Message:
  -----------
  lvm: generate new UUID for xfs + btrfs filesystems

Closes #1909.

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


Compare: https://github.com/lxc/lxc/compare/8a01a32f641b...a8ea013156df


More information about the lxc-devel mailing list