From: David Shea <dshea(a)redhat.com>
The etc portion of systemd-tmpfiles creates a broken /etc/resolv.conf,
which breaks networking, and the rest of the stuff in the there is
already installed to the stage2.
---
share/runtime-postinstall.tmpl | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/share/runtime-postinstall.tmpl b/share/runtime-postinstall.tmpl
index 767291a..7708d98 100644
--- a/share/runtime-postinstall.tmpl
+++ b/share/runtime-postinstall.tmpl
@@ -44,6 +44,12 @@ systemctl mask fedora-configure.service fedora-loadmodules.service \
systemd-tmpfiles-clean.service systemd-tmpfiles-clean.timer \
ldconfig.service
+## Remove the more terrible parts of systemd-tmpfiles.
+## etc.conf is written with the assumption that /etc/ is empty, which is
+## ridiculous, and it also creates a broken /etc/resolv.conf, which breaks
+## networking.
+remove usr/lib/tmpfiles.d/etc.conf
+
## Make logind activate anaconda-shell@.service on switch to empty VT
symlink anaconda-shell@.service lib/systemd/system/autovt@.service
replace "#ReserveVT=6" "ReserveVT=2" etc/systemd/logind.conf
--
To view this commit on github, visit
https://github.com/rhinstaller/lorax/commit/fd2e7910d453277cf323218d881e0...