summaryrefslogtreecommitdiffstats
path: root/loader
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2009-07-27 10:38:29 -1000
committerDavid Cantrell <dcantrell@redhat.com>2009-07-28 14:27:45 -1000
commit4f509c27e1a78e3373b5db1b5eee6f52f90623ec (patch)
treec40fcafe7f584d429810a0f8270967f195da4715 /loader
parent730f8c57d0013c255aba6e7108668f9fc80fdb09 (diff)
downloadanaconda-4f509c27e1a78e3373b5db1b5eee6f52f90623ec.tar.gz
anaconda-4f509c27e1a78e3373b5db1b5eee6f52f90623ec.tar.xz
anaconda-4f509c27e1a78e3373b5db1b5eee6f52f90623ec.zip
Skip writeDisabledNetInfo() when loader starts on s390
This causes NetworkManager to hang on s390.
Diffstat (limited to 'loader')
-rw-r--r--loader/loader.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/loader/loader.c b/loader/loader.c
index b48b0a0df..17cb918c5 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -1973,9 +1973,11 @@ int main(int argc, char ** argv) {
}
/* Disable all network interfaces in NetworkManager by default */
+#if !defined(__s390__) && !defined(__s390x__)
if ((i = writeDisabledNetInfo()) != 0) {
logMessage(ERROR, "writeDisabledNetInfo failure: %d", i);
}
+#endif
/* Start NetworkManager now so it's always available to talk to. */
if (iface_start_NetworkManager())