Two sysklogd patches

Alexander E. Patrakov see at the.sig
Sat May 8 21:53:09 PDT 2004


Please find two sysklogd patches attached to this message.

One of them fixes the signal handling logic, and is of interest to
anyone. Without it, the following command fails:

/etc/rc.d/init.d/sysklogd restart

Probably this should go into all LFS branches, including b5_1. However,
I don't feel that I am the right person to make changes in branches that
are in the package freeze state, therefore I ask someone else to do this
update in all branches.

The original Debian patch includes more fixes, but I don't understand 
these. Please look at them and decide if we want them.

Another one fixes an i18n problem. Without that patch, sysklogd
considers that bytes with codes 0x00-0x1f and 0x7f-0x9f don't correspond
to printable characters, and escapes them in the log. However, they are
letters in some character sets, and are absolutely necessary for logging
Russian text in UTF-8. Yes, I know that we don't support UTF-8, but the 
problem also manifests itself in CP866, which is formally supported by 
LFS, but not actually used with Linux. And e.g. Gnome likes to log 
translated messages.

In short: users of iso-8859-* and koi* are not affected.

I think that this patch should go into HEAD and b6_0. But I have a
difficulty formulating the text for including an optional patch into LFS
book. Maybe we don't even want to make it optional, since it doesn't
hurt native English speakers, and another logger (syslog-ng) passes all
characters through. I will pick the best wording from your replies, and 
commit it into HEAD and b6_0.

An alternative to this patch is to include syslog-ng into the book
instead of sysklogd.

-- 
Alexander E. Patrakov
To get my address: echo '0!42!+/6 at 5-3.535.25' | tr [!-:] [a-z] | tr n .

-------------- next part --------------
A non-text attachment was scrubbed...
Name: sysklogd-1.4.1-sigterm.patch
Type: text/x-patch
Size: 761 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/patches/attachments/20040509/16cb8316/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sysklogd-1.4.1-8bit.patch
Type: text/x-patch
Size: 911 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/patches/attachments/20040509/16cb8316/attachment-0001.bin>


More information about the patches mailing list