[PATCH 1/3] Start rsyslogd from linuxrc.s390 (#601337)

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

 



On s390, we use linuxrc.s390 for our /sbin/init.  Make sure it starts up
rsyslogd like init.c handles on the other platforms.
---
 loader/linuxrc.s390 |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/loader/linuxrc.s390 b/loader/linuxrc.s390
index 34ab57e..50251e8 100644
--- a/loader/linuxrc.s390
+++ b/loader/linuxrc.s390
@@ -328,6 +328,10 @@ function init_main() {
         # make /tmp/ramfs
         mount -t ramfs none /tmp
 
+        # start rsyslogd after mount of /tmp ramfs since it logs to /tmp/syslog
+        echo $"Starting rsyslogd..."
+        rsyslogd -c 4
+
         ifconfig lo 127.0.0.1 netmask 255.0.0.0
         route add -host 127.0.0.1 dev lo
 
-- 
1.7.3.4

_______________________________________________
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