Am 05.07.2022 um 07:38 schrieb Dominique Martinet asmadeus@codewreck.org:
Peter Boy wrote on Tue, Jul 05, 2022 at 07:19:28AM +0200:
[…]# dnf --releasever=36 --best --setopt=install_weak_deps=False \ --installroot=/var/lib/machines/testf36 install dhcp-client dnf \ fedora-release glibc glibc-langpack-en iputils less ncurses passwd \ systemd systemd-networkd vim-default-editor
I can set a password using
[…]# systemd-nspawn -D /var/lib/machines/testf36 passwd
I create a container with
[…]# systemd-nspawn -D /var/lib/machines/testf36 -b
If you check the syslog of that machine (don't ask me how, I just straced agetty) you'll see it complain that there is no /bin/login: you just need to install util-linux (or possibly busybox) and you'll get a prompt, login should work as well.
Maybe it used to be pulled automatically before...
Thanks a lot! You saved my day!
in F35, util-linux was included as a dependency of one of my explicitly installed packages, but not in F36.
You gave me the idea to compare the package lists. There are significant differences in the list of dependencies, indeed.
But including just util-linux solved the issue.
Thanks again Peter