[lxc-devel] [lxc/lxc] cfc0a4: conf: fix setups where /dev is outside of LXC's co...

Christian Ratzenhofer noreply at github.com
Tue Apr 6 14:53:51 UTC 2021


  Branch: refs/heads/stable-4.0
  Home:   https://github.com/lxc/lxc
  Commit: cfc0a48ea2162f5377edd5d19f4e1c8e6f0adf66
      https://github.com/lxc/lxc/commit/cfc0a48ea2162f5377edd5d19f4e1c8e6f0adf66
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-04-06 (Tue, 06 Apr 2021)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  conf: fix setups where /dev is outside of LXC's control

Fixes: #3770
Suggested-by: Ruben Jenster <r.jenster at drachenfels.de>
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 2e6527320e93ea3af75332eedc97f60d9654995c
      https://github.com/lxc/lxc/commit/2e6527320e93ea3af75332eedc97f60d9654995c
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-04-06 (Tue, 06 Apr 2021)

  Changed paths:
    M src/lxc/log.h

  Log Message:
  -----------
  log: ensure we always return negative errno

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


  Commit: 5a624e0870789ddd352ec27cdf0c5ea05883762d
      https://github.com/lxc/lxc/commit/5a624e0870789ddd352ec27cdf0c5ea05883762d
  Author: Christian Ratzenhofer <christian.ratzenhofer at cdnm.at>
  Date:   2021-04-06 (Tue, 06 Apr 2021)

  Changed paths:
    M templates/lxc-busybox.in
    M templates/lxc-download.in
    M templates/lxc-local.in
    M templates/lxc-oci.in

  Log Message:
  -----------
  templates/*.in: fixed PATH handling with spaces

if $PATH already contains a path with a space the append of the
default directories in all template scripts fails with an error
like the following:

/usr/share/lxc/templates/lxc-download: 69: export: (x86)/NVIDIA: bad
variable name

Signed-off-by: Christian Ratzenhofer <christian.ratzenhofer at cdnm.at>


Compare: https://github.com/lxc/lxc/compare/448462dd3788...5a624e087078


More information about the lxc-devel mailing list