[lxc-devel] [lxc/lxc] de4d58: console: only create detached mount when a console...

Christian Brauner noreply at github.com
Mon May 25 01:05:27 UTC 2020


  Branch: refs/heads/stable-4.0
  Home:   https://github.com/lxc/lxc
  Commit: de4d585ee420862b9a927f04f80d9fbe5ca71de8
      https://github.com/lxc/lxc/commit/de4d585ee420862b9a927f04f80d9fbe5ca71de8
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2020-05-24 (Sun, 24 May 2020)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  console: only create detached mount when a console is requested

otherwise weird things might happen.

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


  Commit: 5524656d86fd78be693dbd0f2cd278ed8b8da42c
      https://github.com/lxc/lxc/commit/5524656d86fd78be693dbd0f2cd278ed8b8da42c
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2020-05-24 (Sun, 24 May 2020)

  Changed paths:
    M src/lxc/syscall_numbers.h

  Log Message:
  -----------
  syscall_numbers: handle ia64 syscall numbers correctly

They are offset by 1024.

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


  Commit: ef301301c68ad432cfd6beb82fd2da1fdeb78983
      https://github.com/lxc/lxc/commit/ef301301c68ad432cfd6beb82fd2da1fdeb78983
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2020-05-24 (Sun, 24 May 2020)

  Changed paths:
    M src/lxc/syscall_numbers.h

  Log Message:
  -----------
  syscall_numbers: add clone3()

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


  Commit: 6aefab38c133edd2d4c6721ebf6312cac544ccdc
      https://github.com/lxc/lxc/commit/6aefab38c133edd2d4c6721ebf6312cac544ccdc
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2020-05-24 (Sun, 24 May 2020)

  Changed paths:
    M configure.ac
    M src/include/fexecve.c
    M src/lxc/Makefile.am
    M src/lxc/af_unix.c
    M src/lxc/attach.c
    M src/lxc/cmd/lxc_init.c
    M src/lxc/cmd/lxc_monitord.c
    M src/lxc/cmd/lxc_user_nic.c
    M src/lxc/conf.c
    M src/lxc/execute.c
    M src/lxc/lsm/apparmor.c
    M src/lxc/lxccontainer.c
    M src/lxc/namespace.c
    M src/lxc/namespace.h
    M src/lxc/network.c
    A src/lxc/process_utils.c
    A src/lxc/process_utils.h
    R src/lxc/raw_syscalls.c
    R src/lxc/raw_syscalls.h
    M src/lxc/rexec.c
    M src/lxc/start.c
    M src/lxc/utils.c
    M src/lxc/utils.h
    M src/tests/Makefile.am
    M src/tests/lxc_raw_clone.c

  Log Message:
  -----------
  process_utils: introduce new process_utils.{c,h}

This will be the central place for all process management helpers. This also
removes raw_syscalls.{c,h}.

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


  Commit: a62eb3aa12b57fa83a5335eb9769d37d46e7444d
      https://github.com/lxc/lxc/commit/a62eb3aa12b57fa83a5335eb9769d37d46e7444d
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2020-05-24 (Sun, 24 May 2020)

  Changed paths:
    M configure.ac
    M src/lxc/process_utils.h

  Log Message:
  -----------
  process_utils: add clone3() support

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


  Commit: c3d189153f5534db211defe25bf3c3256e6c564f
      https://github.com/lxc/lxc/commit/c3d189153f5534db211defe25bf3c3256e6c564f
  Author: Wolfgang Bumiller <w.bumiller at proxmox.com>
  Date:   2020-05-24 (Sun, 24 May 2020)

  Changed paths:
    M src/lxc/mainloop.c
    M src/lxc/mainloop.h

  Log Message:
  -----------
  mainloop: add lxc_mainloop_add_handler_events

in order to be able to listen for EPOLLPRI

Signed-off-by: Wolfgang Bumiller <w.bumiller at proxmox.com>


  Commit: 64df0b2f366c80318910981af9c007b06f3a29f9
      https://github.com/lxc/lxc/commit/64df0b2f366c80318910981af9c007b06f3a29f9
  Author: Wolfgang Bumiller <w.bumiller at proxmox.com>
  Date:   2020-05-24 (Sun, 24 May 2020)

  Changed paths:
    M src/lxc/cgroups/cgfsng.c

  Log Message:
  -----------
  cgfsng: deduplicate freeze code

Signed-off-by: Wolfgang Bumiller <w.bumiller at proxmox.com>


  Commit: aabc94ba075d87dfcb593ea965803e38b850f3e1
      https://github.com/lxc/lxc/commit/aabc94ba075d87dfcb593ea965803e38b850f3e1
  Author: Wolfgang Bumiller <w.bumiller at proxmox.com>
  Date:   2020-05-24 (Sun, 24 May 2020)

  Changed paths:
    M src/lxc/cgroups/cgfsng.c

  Log Message:
  -----------
  cgfsng: use EPOLLPRI when polling cgroup.events

EPOLLIN will always be true and therefore end up
busy-looping

Signed-off-by: Wolfgang Bumiller <w.bumiller at proxmox.com>


  Commit: 3e7477c80d48ab43421d504da01a2d2f6d7cbe62
      https://github.com/lxc/lxc/commit/3e7477c80d48ab43421d504da01a2d2f6d7cbe62
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2020-05-24 (Sun, 24 May 2020)

  Changed paths:
    M configure.ac
    M src/lxc/process_utils.c
    M src/lxc/process_utils.h

  Log Message:
  -----------
  process_utils: make lxc use clone3() whenever possible

No more weird api quirks between architectures and cool new features.

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


  Commit: 4384dbb97541f3b4a134bebed7122dc3f572af43
      https://github.com/lxc/lxc/commit/4384dbb97541f3b4a134bebed7122dc3f572af43
  Author: Wolfgang Bumiller <w.bumiller at proxmox.com>
  Date:   2020-05-24 (Sun, 24 May 2020)

  Changed paths:
    M src/lxc/commands.c

  Log Message:
  -----------
  improve LXC_CMD_GET_CGROUP compatibility

When a newer lxc library communicates with an older one
(such as running an lxc 4.0 lxc-freeze on a longer running
container which was started while lxc was still at version
3), the LXC_CMD_GET_LIMITING_CGROUP command is not
available, causing the remote to just close the socket.
Catch this and try the previous command instead.

Signed-off-by: Wolfgang Bumiller <w.bumiller at proxmox.com>


  Commit: 11bd22d1e7b65dc618d3211d2d9e9842378adb0f
      https://github.com/lxc/lxc/commit/11bd22d1e7b65dc618d3211d2d9e9842378adb0f
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2020-05-24 (Sun, 24 May 2020)

  Changed paths:
    M src/lxc/network.c

  Log Message:
  -----------
  network: restore old behavior

I introduced a regression: when users didn't specify a specific name via
lxc.net.<idx>.name then the device would retain the random name it received
when we created it. Before we would use the "eth%d" syntax to get the kernel to
assign a fixed name. Restore that behavior.

Closes: #3407.
Fixes: 8bf64b77ac8a ("network: rework network device creation")
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 9ce7cbea1d4954e62be4ffe46526e30e1670d5f4
      https://github.com/lxc/lxc/commit/9ce7cbea1d4954e62be4ffe46526e30e1670d5f4
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2020-05-24 (Sun, 24 May 2020)

  Changed paths:
    M src/lxc/network.c

  Log Message:
  -----------
  network: fix {mac,ip,v}lan device creation

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


  Commit: 11e7f7f41eb517196bce1995ecfbe446cd342288
      https://github.com/lxc/lxc/commit/11e7f7f41eb517196bce1995ecfbe446cd342288
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2020-05-24 (Sun, 24 May 2020)

  Changed paths:
    M src/include/fexecve.c

  Log Message:
  -----------
  bionic: s/lxc_raw_execveat()/execveat()/g

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


  Commit: a82035c72f46a51230194b6ca6e0acf7f48ef8a3
      https://github.com/lxc/lxc/commit/a82035c72f46a51230194b6ca6e0acf7f48ef8a3
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2020-05-24 (Sun, 24 May 2020)

  Changed paths:
    M src/lxc/network.c

  Log Message:
  -----------
  network: use __instantiate_ns_common() in instantiate_ns_phys() too

Fixes: https://lists.linuxcontainers.org/pipermail/lxc-users/2020-May/015245.html
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 00e125db3ec97048671e7883547933c2861dfe18
      https://github.com/lxc/lxc/commit/00e125db3ec97048671e7883547933c2861dfe18
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2020-05-24 (Sun, 24 May 2020)

  Changed paths:
    M src/lxc/cmd/lxc_usernsexec.c

  Log Message:
  -----------
  lxc-usernsexec: dumb down from error to warning message

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


  Commit: 0ea3f2d11073ec89b5c25e338d16131dd530b848
      https://github.com/lxc/lxc/commit/0ea3f2d11073ec89b5c25e338d16131dd530b848
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2020-05-24 (Sun, 24 May 2020)

  Changed paths:
    M src/lxc/cmd/lxc_usernsexec.c

  Log Message:
  -----------
  lxc-usernsexec: don't fail on setgroups()

We can fail to setgroups() when "deny" has been set which we need to set when
we are a fully unprivileged user.

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


  Commit: 6a803ce290b87333abadc2a6e038d6f9c760cc91
      https://github.com/lxc/lxc/commit/6a803ce290b87333abadc2a6e038d6f9c760cc91
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2020-05-24 (Sun, 24 May 2020)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  travis: Restrict coverity to gcc on bionic on amd64

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: b0ec3dc02a605ced446c5a02d87534cb9fdd42ee
      https://github.com/lxc/lxc/commit/b0ec3dc02a605ced446c5a02d87534cb9fdd42ee
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2020-05-24 (Sun, 24 May 2020)

  Changed paths:
    M src/lxc/cgroups/cgfsng.c

  Log Message:
  -----------
  cgroups: be less alarming when creating cgroups

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


Compare: https://github.com/lxc/lxc/compare/3f924551c996...b0ec3dc02a60


More information about the lxc-devel mailing list