Skip to content

Add "nfs" (and "network") initrd profiles #3766

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 11, 2025

Conversation

aafeijoo-suse
Copy link
Contributor

nfs-utils-2.8.4 will provide its own nfsroot-generator [1] to allow mounting the real rootfs via NFSv4, so we can create an "nfs" initrd profile to support it. Also, this requires some type of networking in the initrd, so I also created a "network" profile to enable systemd-networkd.

Tested in openSUSE Tumbleweed using a custom OBS build [2] and in Fedora rawhide, since it already ships nfs-utils-2-8-4-rc2 [3].

[1] http://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commit;h=ed86ea08dadafbac948c6a45629a6f3282a77233
[2] https://build.opensuse.org/package/show/home:afeijoo:branches:openSUSE:Factory:nfsroot/nfs-utils
[3] https://src.fedoraproject.org/rpms/nfs-utils/c/e7f85470bc0ba53a3338468f50ffc62bf0f03cba?branch=rawhide

@aafeijoo-suse aafeijoo-suse force-pushed the initrd-profiles-network-nfs branch from 88446ea to ffac73d Compare June 11, 2025 15:57
@aafeijoo-suse aafeijoo-suse force-pushed the initrd-profiles-network-nfs branch from ffac73d to e2838d6 Compare June 16, 2025 10:12
@aafeijoo-suse aafeijoo-suse force-pushed the initrd-profiles-network-nfs branch from e2838d6 to af439f2 Compare July 3, 2025 08:36
@DaanDeMeyer
Copy link
Contributor

I am introducing initrd presets in systemd/systemd#38028 btw

@aafeijoo-suse aafeijoo-suse force-pushed the initrd-profiles-network-nfs branch from af439f2 to 3188a7d Compare July 4, 2025 05:25
This package contains some useful system utilities: sysctl, pidof, free, top...
@aafeijoo-suse aafeijoo-suse force-pushed the initrd-profiles-network-nfs branch from 3188a7d to 07c0d1a Compare July 10, 2025 12:31
This profile provides networking in the initrd using systemd-networkd.
nfs-utils-2.8.4 will provide its own nfsroot-generator [1] to allow mounting the
real rootfs via NFSv4, so this initrd profile will enable this feature.

[1] http://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commit;h=ed86ea08dadafbac948c6a45629a6f3282a77233
@aafeijoo-suse aafeijoo-suse force-pushed the initrd-profiles-network-nfs branch from 07c0d1a to ecebb1f Compare July 10, 2025 12:49
@behrmann behrmann merged commit 3fe5c02 into systemd:main Jul 11, 2025
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants