Re: syslog + i18n



> Jonathan Sergent / sergent@io.com
> 
> In message <199812160344.WAA11892@rwf.lms.mit.edu>, "Sergey I. Panov" writes:
>  ] PS: I played with logview -- it works, but it get confused over bug in
>  ] syslog which only shows up on system with localization. logview does
>  ] not tolerate things like 4UZ and dEK instead of Dec:
>  ] ...
>  ] Dec 13 04:28:23 sipan dhcpcd[167]: got in BOUND state 
>  ] 4UZ 13 04:44:49 sipan PAM_pwdb[9276]: (su) session opened for ...
>  ] ...
>  ] dEK 13 11:53:04 sipan PAM_pwdb[9574]: (su) session opened for ...
>  ] ...
>  ] Dec 13 14:08:34 sipan kernel: Swansea University Computer ...
>  ] ...
>  ] 
>  ] I think I have workaround that works for me, but should not someone
>  ] fix syslog instead?
>  ] 
> 
> syslog messages should never get internationalized before being sent to
> syslog, and syslogd should be running in the C locale and doing the
> date stamps accordingly.  Whichever program is doing this is wrong.

Yes, that what I mean. I did not figure out yet what program is to be
blamed for that. That happens every time user with non-"C" locale
is using "su", even if his attempt to become root is rejected. I think
somebody just internationalized syslog! Then fix is just to undo that.

 Sergey



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