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 1849033 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 for network state lost at switch root
dracut-persist-network-state.patch (text/plain), 1.97 KB, created by
Ian Dall
on 2022-01-05 14:04:49 UTC
(
hide
)
Description:
Patch for network state lost at switch root
Filename:
MIME Type:
Creator:
Ian Dall
Created:
2022-01-05 14:04:49 UTC
Size:
1.97 KB
patch
obsolete
>--- ./modules.d/01systemd-resolved/write-resolve.sh.dist 2022-01-03 09:35:58.365023946 +1030 >+++ ./modules.d/01systemd-resolved/write-resolve.sh 2022-01-03 05:04:28.328838375 +1030 >@@ -0,0 +1,4 @@ >+#!/bin/sh >+# we need this after switchroot >+mkdir -m 0755 -p /run/initramfs/state/systemd/resolve >+cp /run/systemd/resolve/resolv.conf /run/initramfs/state/systemd/resolve/resolv.conf >--- ./modules.d/01systemd-resolved/dracut-resolved-wait.service.dist 2022-01-01 10:10:14.000000000 +1030 >+++ ./modules.d/01systemd-resolved/dracut-resolved-wait.service 2022-01-03 10:38:35.098084469 +1030 >@@ -1,1 +1,18 @@ > [Unit] >+Description=Wait for DNS Resolver >+DefaultDependencies=no >+After=systemd-resolved.service >+Before=systemd-networkd-wait-online.service nss-lookup.target shutdown.target sysroot.mount >+Conflicts=shutdown.target >+ConditionPathExists=/dracut-nfs-root.env >+ >+[Install] >+#RequiredBy=systemd-networkd-wait-online.service sysroot.mount >+WantedBy=initrd.target >+ >+[Service] >+Type=oneshot >+EnvironmentFile=/dracut-nfs-root.env >+ExecStartPre=sh -c "[[ -n \"${nfsserver}\" ]]" >+ExecStart=sh -c "for ((i = 50; i; i--)); do host -w \"${nfsserver}\" && break; sleep 0.2; done" >+ >--- ./modules.d/01systemd-networkd/module-setup.sh.dist 2021-05-27 22:04:19.000000000 +0930 >+++ ./modules.d/01systemd-networkd/module-setup.sh 2022-01-03 09:29:32.200753159 +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