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

[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(+)



>From 28cbc75d177d4e11e5f682236a8170879670edad Mon Sep 17 00:00:00 2001
From: Colin Walters <walters verbum org>
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


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