Bug#911231: systemd-container: machinectl list does not show os name and version after upgrade
Said Chavkin
schavkin at gmail.com
Wed Oct 17 13:20:40 BST 2018
Package: systemd-container
Version: 239-7~bpo9+1
Severity: normal
Dear Maintainer,
After upgrade systemd to stretch-backports version "machinectl list" stopped to show OS name and version.
said at kvm00:~$ dpkg -l | fgrep 232-25
ii libnss-mymachines:amd64 232-25+deb9u4 amd64 nss module to resolve hostnames for local container instances
ii libnss-systemd:amd64 232-25+deb9u4 amd64 nss module providing dynamic user and group name resolution
ii libpam-systemd:amd64 232-25+deb9u4 amd64 system and service manager - PAM module
ii libsystemd0:amd64 232-25+deb9u4 amd64 systemd utility library
ii libudev1:amd64 232-25+deb9u4 amd64 libudev shared library
ii systemd 232-25+deb9u4 amd64 system and service manager
ii systemd-container 232-25+deb9u4 amd64 systemd container/nspawn tools
ii systemd-sysv 232-25+deb9u4 amd64 system and service manager - SysV links
ii udev 232-25+deb9u4 amd64 /dev/ and hotplug management daemon
said at kvm00:~$ sudo machinectl list
MACHINE CLASS SERVICE OS VERSION ADDRESSES
nsa1.dc1.kvm.lan container systemd-nspawn debian 9 172.16.0.1...
nsa2.dc1.kvm.lan container systemd-nspawn debian 9 172.16.0.2...
nsr1.dc1.kvm.lan container systemd-nspawn debian 9 172.16.0.3...
nsr2.dc1.kvm.lan container systemd-nspawn debian 9 172.16.0.4...
puppet.dc1.kvm.lan container systemd-nspawn debian 9 172.16.0.5...
5 machines listed.
said at kvm00:~$ sudo apt-get -y -t stretch-backports install systemd systemd-sysv udev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
linux-image-4.9.0-8-amd64
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
libnss-mymachines libnss-systemd libpam-systemd libsystemd0 libudev1 systemd-container
Suggested packages:
policykit-1
The following packages will be upgraded:
libnss-mymachines libnss-systemd libpam-systemd libsystemd0 libudev1 systemd systemd-container systemd-sysv udev
9 upgraded, 0 newly installed, 0 to remove and 37 not upgraded.
Need to get 0 B/5 727 kB of archives.
After this operation, 3 114 kB of additional disk space will be used.
apt-listchanges: Reading changelogs...
(Reading database ... 45833 files and directories currently installed.)
Preparing to unpack .../libsystemd0_239-7~bpo9+1_amd64.deb ...
Unpacking libsystemd0:amd64 (239-7~bpo9+1) over (232-25+deb9u4) ...
Setting up libsystemd0:amd64 (239-7~bpo9+1) ...
(Reading database ... 45833 files and directories currently installed.)
Preparing to unpack .../0-libnss-mymachines_239-7~bpo9+1_amd64.deb ...
Unpacking libnss-mymachines:amd64 (239-7~bpo9+1) over (232-25+deb9u4) ...
Preparing to unpack .../1-systemd-container_239-7~bpo9+1_amd64.deb ...
Unpacking systemd-container (239-7~bpo9+1) over (232-25+deb9u4) ...
Preparing to unpack .../2-libpam-systemd_239-7~bpo9+1_amd64.deb ...
Unpacking libpam-systemd:amd64 (239-7~bpo9+1) over (232-25+deb9u4) ...
Preparing to unpack .../3-libnss-systemd_239-7~bpo9+1_amd64.deb ...
Unpacking libnss-systemd:amd64 (239-7~bpo9+1) over (232-25+deb9u4) ...
Preparing to unpack .../4-systemd_239-7~bpo9+1_amd64.deb ...
Unpacking systemd (239-7~bpo9+1) over (232-25+deb9u4) ...
Preparing to unpack .../5-udev_239-7~bpo9+1_amd64.deb ...
Unpacking udev (239-7~bpo9+1) over (232-25+deb9u4) ...
Preparing to unpack .../6-libudev1_239-7~bpo9+1_amd64.deb ...
Unpacking libudev1:amd64 (239-7~bpo9+1) over (232-25+deb9u4) ...
Setting up libudev1:amd64 (239-7~bpo9+1) ...
Setting up systemd (239-7~bpo9+1) ...
Installing new version of config file /etc/systemd/journald.conf ...
Installing new version of config file /etc/systemd/logind.conf ...
Installing new version of config file /etc/systemd/resolved.conf ...
Installing new version of config file /etc/systemd/system.conf ...
Installing new version of config file /etc/systemd/timesyncd.conf ...
Warning: Stopping systemd-networkd.service, but it can still be activated by:
systemd-networkd.socket
Removing user `systemd-bus-proxy' ...
Warning: group `systemd-bus-proxy' has no more members.
Done.
Removing obsolete conffile /etc/dbus-1/system.d/org.freedesktop.hostname1.conf ...
Removing obsolete conffile /etc/dbus-1/system.d/org.freedesktop.locale1.conf ...
Removing obsolete conffile /etc/dbus-1/system.d/org.freedesktop.login1.conf ...
Removing obsolete conffile /etc/dbus-1/system.d/org.freedesktop.network1.conf ...
Removing obsolete conffile /etc/dbus-1/system.d/org.freedesktop.resolve1.conf ...
Removing obsolete conffile /etc/dbus-1/system.d/org.freedesktop.systemd1.conf ...
Removing obsolete conffile /etc/dbus-1/system.d/org.freedesktop.timedate1.conf ...
(Reading database ... 45914 files and directories currently installed.)
Preparing to unpack .../systemd-sysv_239-7~bpo9+1_amd64.deb ...
Unpacking systemd-sysv (239-7~bpo9+1) over (232-25+deb9u4) ...
Setting up libnss-systemd:amd64 (239-7~bpo9+1) ...
Setting up systemd-sysv (239-7~bpo9+1) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Setting up udev (239-7~bpo9+1) ...
Installing new version of config file /etc/init.d/udev ...
Installing new version of config file /etc/udev/udev.conf ...
update-initramfs: deferring update (trigger activated)
Removing obsolete conffile /etc/init/udev.conf ...
Removing obsolete conffile /etc/init/udevmonitor.conf ...
Removing obsolete conffile /etc/init/udevtrigger.conf ...
Processing triggers for man-db (2.7.6.1-2) ...
Processing triggers for dbus (1.10.26-0+deb9u1) ...
Setting up systemd-container (239-7~bpo9+1) ...
Removing obsolete conffile /etc/dbus-1/system.d/org.freedesktop.import1.conf ...
Removing obsolete conffile /etc/dbus-1/system.d/org.freedesktop.machine1.conf ...
Setting up libpam-systemd:amd64 (239-7~bpo9+1) ...
Setting up libnss-mymachines:amd64 (239-7~bpo9+1) ...
Processing triggers for systemd (239-7~bpo9+1) ...
Processing triggers for initramfs-tools (0.130) ...
update-initramfs: Generating /boot/initrd.img-4.18.0-0.bpo.1-amd64
Processing triggers for libc-bin (2.24-11+deb9u3) ...
said at kvm00:~$ dpkg -l | fgrep 239-7
ii libnss-mymachines:amd64 239-7~bpo9+1 amd64 nss module to resolve hostnames for local container instances
ii libnss-systemd:amd64 239-7~bpo9+1 amd64 nss module providing dynamic user and group name resolution
ii libpam-systemd:amd64 239-7~bpo9+1 amd64 system and service manager - PAM module
ii libsystemd0:amd64 239-7~bpo9+1 amd64 systemd utility library
ii libudev1:amd64 239-7~bpo9+1 amd64 libudev shared library
ii systemd 239-7~bpo9+1 amd64 system and service manager
ii systemd-container 239-7~bpo9+1 amd64 systemd container/nspawn tools
ii systemd-sysv 239-7~bpo9+1 amd64 system and service manager - SysV links
ii udev 239-7~bpo9+1 amd64 /dev/ and hotplug management daemon
said at kvm00:~$ for m in {ns{r,a}{1,2},puppet}.dc1.kvm.lan ; do sudo machinectl start ${m} ; done
said at kvm00:~$ sudo machinectl list
MACHINE CLASS SERVICE OS VERSION ADDRESSES
nsa1.dc1.kvm.lan container systemd-nspawn debian 9 172.16.0.1…
nsa2.dc1.kvm.lan container systemd-nspawn debian 9 172.16.0.2…
nsr1.dc1.kvm.lan container systemd-nspawn debian 9 172.16.0.3…
nsr2.dc1.kvm.lan container systemd-nspawn debian 9 172.16.0.4…
puppet.dc1.kvm.lan container systemd-nspawn debian 9 172.16.0.5…
5 machines listed.
said at kvm00:~$ sudo systemctl restart dbus.service
said at kvm00:~$ sudo machinectl list
MACHINE CLASS SERVICE OS VERSION ADDRESSES
nsa1.dc1.kvm.lan container systemd-nspawn - - 172.16.0.1…
nsa2.dc1.kvm.lan container systemd-nspawn - - 172.16.0.2…
nsr1.dc1.kvm.lan container systemd-nspawn - - 172.16.0.3…
nsr2.dc1.kvm.lan container systemd-nspawn - - 172.16.0.4…
puppet.dc1.kvm.lan container systemd-nspawn - - 172.16.0.5…
5 machines listed.
said at kvm00:~$
-- System Information:
Debian Release: 9.5
APT prefers stable
APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'proposed-updates')
Architecture: amd64 (x86_64)
Kernel: Linux 4.17.0-0.bpo.3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages systemd-container depends on:
ii dbus 1.10.26-0+deb9u1
ii libacl1 2.2.52-3+b1
ii libbz2-1.0 1.0.6-8.1
ii libc6 2.24-11+deb9u3
ii libcurl3-gnutls 7.52.1-5+deb9u7
ii libgcrypt20 1.7.6-2+deb9u3
ii liblzma5 5.2.2-1.2+b1
ii libseccomp2 2.3.1-2.1
ii libselinux1 2.6-3+b3
ii systemd 239-7~bpo9+1
ii zlib1g 1:1.2.8.dfsg-5
Versions of packages systemd-container recommends:
ii btrfs-progs 4.7.3-1
ii libnss-mymachines 239-7~bpo9+1
systemd-container suggests no packages.
-- no debconf information
More information about the Pkg-systemd-maintainers
mailing list