[pkg-lxc-devel] Bug#998036: lxc-checkconfig complains about use of 'which' command

Diederik de Haas didi.debian at cknow.org
Thu Oct 28 22:11:22 BST 2021


Package: lxc
Version: 1:4.0.10-1
Severity: normal
Tags: upstream fixed-upstream patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Earlier today I ran lxc-checkconfig and then I got this:

$ lxc-checkconfig
LXC version 4.0.10
Kernel configuration not found at /proc/config.gz; searching...
Kernel configuration found at /boot/config-5.14.0-3-amd64
- --- Namespaces ---
Namespaces: enabled
Utsname namespace: enabled
Ipc namespace: enabled
Pid namespace: enabled
User namespace: enabled
/usr/bin/which: this version of `which' is deprecated; use `command -v' in scripts instead.
/usr/bin/which: this version of `which' is deprecated; use `command -v' in scripts instead.
Network namespace: enabled

This was easy to fix, so I submitted the following PRs upstream:
https://github.com/lxc/lxc/pull/4019
https://github.com/lxc/lxc/pull/4021

Another one was submitted which AFAICT (only) fixes 1 other instance:
https://github.com/lxc/lxc/pull/4024

Right now, my PRs have been merged into master, but they're not part of
the 4.0.11 release (and thus also not 4.0.10), but they should be easy
to backport.

Cheers,
  Diederik

- -- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: arm64

Kernel: Linux 5.14.0-3-amd64 (SMP w/16 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages lxc depends on:
ii  bridge-utils                 1.7-1
ii  debconf [debconf-2.0]        1.5.78
ii  dnsmasq-base [dnsmasq-base]  2.86-1
ii  iproute2                     5.14.0-1
ii  iptables                     1.8.7-1
ii  libc6                        2.32-4
ii  libcap2                      1:2.44-1
ii  libgcc-s1                    11.2.0-10
ii  liblxc1                      1:4.0.10-1
ii  libseccomp2                  2.5.2-2
ii  libselinux1                  3.1-3
ii  lsb-base                     11.1.0

Versions of packages lxc recommends:
ii  apparmor       3.0.3-5
ii  debootstrap    1.0.123
ii  dirmngr        2.2.27-2
ii  gnupg          2.2.27-2
ii  libpam-cgfs    1:4.0.10-1
ii  lxc-templates  3.0.4-5
ii  lxcfs          4.0.7-1
ii  openssl        1.1.1l-1
ii  rsync          3.2.3-8
ii  uidmap         1:4.8.1-1
ii  wget           1.21.2-2+b1

Versions of packages lxc suggests:
ii  btrfs-progs  5.14.1-1
ii  lvm2         2.03.11-2.1
pn  python3-lxc  <none>

- -- debconf information:
  lxc/auto_update_config:

-----BEGIN PGP SIGNATURE-----

iHUEARYIAB0WIQT1sUPBYsyGmi4usy/XblvOeH7bbgUCYXsR8QAKCRDXblvOeH7b
bmqYAQDjPaLOk5uM3S/GUIHRLJoPLGSOSpfSNv6rVWGo5a3iIQEAk37q9eQTOmXI
BscS3A/TF1tK8AEjAQ4y4nZFC0QrJwU=
=7Kvo
-----END PGP SIGNATURE-----



More information about the Pkg-lxc-devel mailing list