Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1926023 Details for
Bug 2037355
dracut does not make network configuration available after switchroot
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh90 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch to stash network configurtion for use post switchroot.
01systemd-networkd.patch (text/plain), 1.18 KB, created by
Ian Dall
on 2022-11-21 05:47:55 UTC
(
hide
)
Description:
Patch to stash network configurtion for use post switchroot.
Filename:
MIME Type:
Creator:
Ian Dall
Created:
2022-11-21 05:47:55 UTC
Size:
1.18 KB
patch
obsolete
> >Enable post switch-root world to inherit the network state by saving >it under /run/initramfs/state. For this to take effect, post >switchroot and before systemd-networkd starts this data has to be >copied back. > >Without persistent network state, the network might be reconfigured >via dhcp and a) get a new lease and IP address and b) lose any nfs >connections (including root). > >--- modules.d/01systemd-networkd/module-setup.sh.dist 2022-06-20 08:05:26.000000000 +0930 >+++ modules.d/01systemd-networkd/module-setup.sh 2022-11-20 21:19:10.226013840 +1030 >@@ -31,6 +31,8 @@ > # Install the required file(s) and directories for the module in the initramfs. > install() { > >+ inst_hook pre-pivot 85 "$moddir/write-network.sh" >+ > inst_multiple -o \ > "$dbussystem"/org.freedesktop.network1.conf \ > "$dbussystemservices"/org.freedesktop.network1.service \ >--- modules.d/01systemd-networkd/write-network.sh.dist 2022-01-03 09:35:05.521755313 +1030 >+++ modules.d/01systemd-networkd/write-network.sh 2022-01-03 09:33:51.181970608 +1030 >@@ -0,0 +1,4 @@ >+#!/bin/sh >+# we need this after switchroot >+mkdir -m 0755 -p /run/initramfs/state/systemd >+cp -r /run/systemd/netif /run/initramfs/state/systemd
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 2037355
:
1849030
|
1849033
|
1849034
|
1849035
| 1926023