Start rsyslogd also in linuxrc.s390 as in init.c
On 06/01/2010 08:33 AM, Ales Kozumplik wrote:
> On 06/01/2010 02:02 AM, Steffen Maier wrote:
>> + # start rsyslogd after mount of /tmp ramfs since it logs to
>> + echo $"Starting rsyslogd..."
>> + rsyslogd -c 4
> This should also look whether there is a "syslog=" command line argument
> and write the forwarding directive into /etc/rsyslog.conf so the remote
> logging works, much like startSyslog() in init.c does.
Yes, you are right. However, linuxrc.s390 already contains a lot of
duplicated code of init.c (since it is a replacement of the latter on
s390) and we try to keep duplications at a minimum. The long term goal
is to even reduce duplications in linuxrc and move the init specific
parts back to init.c and then call the remaining s390 specific parts of
linuxrc from init.c. Until then, this patch synchronizes master and
rhel6-branch (the other patch bringing in rsyslogd on rhel6 for s390).
Basically s390 will still be behind with regard to syslog= but at least
it will have /tmp/syslog which all other platforms already have for
quite a while now. So it is a step forward, just not the entire way at once.
Linux on System z Development
IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Martin Jetter
Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294
Anaconda-devel-list mailing list