no systemd-nspawnd or machinectl?

https://www.reddit.com/r/openSUSE/comments/b0jo2l/no_systemdnspawnd_or_machinectl/

Hello,

I’m testing out the new Leap 15.1b - I know it uses systemd, so I installed it for messing around with machinectl containers.

But machinectl does not appear to be present - nor does systemd-nspawnd - I thought these functions were included with all systemd distros?

System info:

leap151:/home/localuser # systemctl –version systemd 234 +PAM -AUDIT +SELINUX -IMA +APPARMOR -SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYP T -GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN default-hiera rchy=hybrid

leap151:/home/localuser # uname -a Linux leap151 4.12.14-lp151.22-default #1 SMP Thu Feb 28 15:45:32 UTC 2019 (2527 9f0) x86_64 x86_64 x86_64 GNU/Linux

leap151:/home/localuser # cat /etc/os-release NAME=”openSUSE Leap” VERSION=”15.1 Beta” ID=”opensuse-leap” ID_LIKE=”suse opensuse” VERSION_ID=”15.1” PRETTY_NAME=”openSUSE Leap 15.1Beta” ANSI_COLOR=”0;32” CPE_NAME=”cpe:/o:opensuse:leap:15.1” BUG_REPORT_URL=”https://bugs.opensuse.org” HOME_URL=”https://www.opensuse.org/”
Anybody know what gives?

Edit: dur - sorry, I installed it now:

leap151:/home/localuser # zypper in systemd-container Loading repository data… Reading installed packages… Resolving package dependencies… The following NEW package is going to be installed: systemd-container 1 new package to install. Overall download size: 545.1 KiB. Already cached: 0 B. After the operation, additional 660.5 KiB will be used. Continue? [y/n/v/…? shows all options] (y): Retrieving package systemd-container-234-lp151.25.4.x86_64 (1/1), 545.1 KiB (660.5 KiB unpacked) Retrieving: systemd-container-234-lp151.25.4.x86_64.rpm ………………[done] Checking for file conflicts: ………………………………………[done (1/1) Installing: systemd-container-234-lp151.25.4.x86_64 …………….[done]

3 · 2 Comments Section u/rombert avatar rombert • 7y ago You might not know this, but you can easily look for a missing command by using cnf, for instance:

$ cnf machinectl

The program ‘machinectl’ can be found in the following package:

  • systemd-container [ path: /usr/bin/machinectl, repository: zypp (repo-oss) ]

Try installing with: sudo zypper install systemd-container

10 AveryFreeman OP • 7y ago Oh yeah, that’s right! I had forgotten because I have been using other distros more than OpenSUSE recently. Reminds me one of the reasons I like OpenSUSE so much :)

Thank you

Updated: