]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: add util-linux to the package list for Fedora container
authorMichal Sekletar <msekleta@redhat.com>
Wed, 12 Apr 2023 16:58:21 +0000 (18:58 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 12 Apr 2023 19:25:16 +0000 (20:25 +0100)
/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.

man/systemd-nspawn.xml

index 3b158a0631cb1d86d4d613fe226a67278b23237f..ded8e3cd715ffdd0552108c9efbc0fd8da0e098c 100644 (file)
@@ -1677,7 +1677,7 @@ After=sys-subsystem-net-devices-ens1.device</programlisting>
 
       <programlisting># 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;</programlisting>
 
       <para>This installs a minimal Fedora distribution into the