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

[master] Start rsyslogd also in linuxrc.s390 as in init.c



Some tools such as NetworkManager only send messages to syslog
but not to any terminal. In order to be able to debug issues
with such tools, bring s390 in line with the current init.c which uses
rsyslogd since 0fde437ad02a7cfb170472bad0ddf3b3faf4e7b0.

There have been at least the following bugs asking for the content
of /tmp/syslog on s390: 541873, 578428, 597206, 591533.
---
 loader/linuxrc.s390 |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/loader/linuxrc.s390 b/loader/linuxrc.s390
index 99e5192..b6b13c3 100644
--- a/loader/linuxrc.s390
+++ b/loader/linuxrc.s390
@@ -331,6 +331,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.0.4



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