[PATCH] runtime-cleanup: Strip PrivateNetwork= from systemd units

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Unfortunately, this triggers a bug in udev that causes udev_settle()
to hang, which makes all kickstart installations hang for a long time.

https://www.redhat.com/archives/anaconda-devel-list/2014-April/msg00010.html
---
share/runtime-cleanup.tmpl | 2 ++
1 file changed, 2 insertions(+)



>From 28cbc75d177d4e11e5f682236a8170879670edad Mon Sep 17 00:00:00 2001
From: Colin Walters <walters@xxxxxxxxxx>
Date: Sun, 13 Apr 2014 14:06:02 -0700
Subject: [PATCH] runtime-cleanup: Strip PrivateNetwork= from systemd units

Unfortunately, this triggers a bug in udev that causes udev_settle()
to hang, which makes all kickstart installations hang for a long time.

https://www.redhat.com/archives/anaconda-devel-list/2014-April/msg00010.html
---
 share/runtime-cleanup.tmpl | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/share/runtime-cleanup.tmpl b/share/runtime-cleanup.tmpl
index 7f2bb2c..e573a38 100644
--- a/share/runtime-cleanup.tmpl
+++ b/share/runtime-cleanup.tmpl
@@ -339,3 +339,5 @@ runcmd find ${root} -name "*.pyc" -type f -exec ln -sf /dev/null {} \;
 ## NOTE: Excluding /etc/mtab which links to /proc/self/mounts for systemd
 runcmd chroot ${root} find -L /etc /usr -xdev -type l -and \! -name "mtab" \
                 -printf "removing broken symbolic link %p -> %l\n" -delete
+
+runcmd find ${root}/usr/lib/systemd/system -name '*.service' -exec sed -i '/PrivateNetwork=/d' {} \;
-- 
1.8.3.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux