From 6c1046121dea558e473b12040c65fa5755192164 Mon Sep 17 00:00:00 2001 From: Michal Sekletar Date: Wed, 12 Apr 2023 18:58:21 +0200 Subject: [PATCH] man: add util-linux to the package list for Fedora container /bin/login is shipped in util-linux, however, systemd.spec on Fedora has "Requires: (util-linux-core or util-linux)". If the dependency is fulfilled just by installation of util-linux-core then users won't be able to log in into the container after it boots. Let's add util-linux package to the package list so that /bin/login is always present. (cherry picked from commit 5015b5014bcff93371aef2c78b92efcfc2e38a40) (cherry picked from commit 1fb4ae32b08c737662714c259573159d0e8788c3) (cherry picked from commit 7c353ca5d60c57324ba9163528603311864f22d5) --- man/systemd-nspawn.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/systemd-nspawn.xml b/man/systemd-nspawn.xml index 7a11a67f2d..5df4382a0a 100644 --- a/man/systemd-nspawn.xml +++ b/man/systemd-nspawn.xml @@ -1647,7 +1647,7 @@ After=sys-subsystem-net-devices-ens1.device # dnf -y --releasever=&fedora_latest_version; --installroot=/var/lib/machines/f&fedora_latest_version; \ --repo=fedora --repo=updates --setopt=install_weak_deps=False install \ - passwd dnf fedora-release vim-minimal systemd systemd-networkd + passwd dnf fedora-release vim-minimal util-linux systemd systemd-networkd # systemd-nspawn -bD /var/lib/machines/f&fedora_latest_version; This installs a minimal Fedora distribution into the