root@lp1916485-b:~/h# dpkg -l systemd|grep systemd
ii systemd 237-3ubuntu10.45 amd64 system and service manager
root@lp1916485-b:~/h# dpkg -l libseccomp2|grep seccomp
ii libseccomp2:amd64 2.4.3-1ubuntu3.18.04.3 amd64 high level interface to Linux seccomp filter
root@lp1916485-b:~/h# systemd-nspawn
Spawning container h on /root/h.
Press ^] three times within 1s to kill container.
root@h:~# ls -l /usr/bin/gpg
-rwxr-xr-x 1 root root 1083472 Feb 22 09:33 /usr/bin/gpg
root@h:~# test -x /usr/bin/gpg || echo "fail"
fail
root@lp1916485-b:~/h# dpkg -l systemd|grep systemd
ii systemd 237-3ubuntu10.46 amd64 system and service manager
root@lp1916485-b:~/h# dpkg -l libseccomp2|grep seccomp
ii libseccomp2:amd64 2.5.1-1ubuntu1~18.04.1 amd64 high level interface to Linux seccomp filter
root@lp1916485-b:~/h# systemd-nspawn
Spawning container h on /root/h.
Press ^] three times within 1s to kill container.
root@h:~# ls -l /usr/bin/gpg
-rwxr-xr-x 1 root root 1083472 Feb 22 09:33 /usr/bin/gpg
root@h:~# test -x /usr/bin/gpg || echo "fail"
root@h:~#
root@lp1916485-b:~# wget https:/ /cloud- images. ubuntu. com/hirsute/ current/ hirsute- server- cloudimg- amd64-root. tar.xz b:~/h# tar xvf ../hirsute- server- cloudimg- amd64-root. tar.xz
...
root@lp1916485-b:~# mkdir h
root@lp1916485-b:~# cd h
root@lp1916485-
...
root@lp1916485- b:~/h# dpkg -l systemd|grep systemd b:~/h# dpkg -l libseccomp2|grep seccomp 18.04.3 amd64 high level interface to Linux seccomp filter b:~/h# systemd-nspawn
ii systemd 237-3ubuntu10.45 amd64 system and service manager
root@lp1916485-
ii libseccomp2:amd64 2.4.3-1ubuntu3.
root@lp1916485-
Spawning container h on /root/h.
Press ^] three times within 1s to kill container.
root@h:~# ls -l /usr/bin/gpg
-rwxr-xr-x 1 root root 1083472 Feb 22 09:33 /usr/bin/gpg
root@h:~# test -x /usr/bin/gpg || echo "fail"
fail
root@lp1916485- b:~/h# dpkg -l systemd|grep systemd b:~/h# dpkg -l libseccomp2|grep seccomp 18.04.1 amd64 high level interface to Linux seccomp filter b:~/h# systemd-nspawn
ii systemd 237-3ubuntu10.46 amd64 system and service manager
root@lp1916485-
ii libseccomp2:amd64 2.5.1-1ubuntu1~
root@lp1916485-
Spawning container h on /root/h.
Press ^] three times within 1s to kill container.
root@h:~# ls -l /usr/bin/gpg
-rwxr-xr-x 1 root root 1083472 Feb 22 09:33 /usr/bin/gpg
root@h:~# test -x /usr/bin/gpg || echo "fail"
root@h:~#