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

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



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


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