<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/sysklogd, branch 1_20_1</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=1_20_1</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=1_20_1'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2011-10-28T16:12:42+00:00</updated>
<entry>
<title>syslogd: work around rename() not renaming hardlinks to themselves</title>
<updated>2011-10-28T16:12:42+00:00</updated>
<author>
<name>Christian Engelmayer</name>
<email>christian.engelmayer@frequentis.com</email>
</author>
<published>2011-10-28T16:12:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=8de2e42201bb1b9054861d2f7645885a3b69642a'/>
<id>urn:sha1:8de2e42201bb1b9054861d2f7645885a3b69642a</id>
<content type='text'>
Function log_locally() within the syslogd can potentially lock up when
restarting the daemon after a power loss in case the unplanned shutdown hit the
rename operation during logfile rotation.

While POSIX requires the rename operation to be atomic, many file systems such
as JFFS2 implement the rename operation in 2 steps by linking the new name
followed by unlinking the original name. In case of a power loss during the
rename the system can end up with /var/log/messages and /var/log/messages.0
being 2 hard links to the same file.

When the syslog daemon restarts in such a situation it will rediscover the need
to rotate the log files, however, POSIX also requires that rename does nothing
and reports success in case oldpath and newpath are existing hard links to the
same file. Looping through reopen: by (O_CREAT | O_APPEND), the daemon
eternally reopens the same file without succeeding to rotate.

Signed-off-by: Christian Engelmayer &lt;christian.engelmayer@frequentis.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>syslogd: fix missing newline problen in memory log buffer. Closes 4159</title>
<updated>2011-09-16T11:28:52+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2011-09-16T11:28:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=514cbfc593aaccda22b376e5cc84d3387db2025a'/>
<id>urn:sha1:514cbfc593aaccda22b376e5cc84d3387db2025a</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>*: remove "Options:" string from help texts</title>
<updated>2011-06-05T01:58:28+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2011-06-05T01:58:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=66426760beef7e87c4735f433d123daf911b5b4a'/>
<id>urn:sha1:66426760beef7e87c4735f433d123daf911b5b4a</id>
<content type='text'>
function                                             old     new   delta
packed_usage                                       28706   28623     -83

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>syslogd,klogd: better help text</title>
<updated>2011-05-25T09:58:56+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2011-05-25T09:58:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=aeab42e3f4802d67fd5fe03feb0fd4a18903326f'/>
<id>urn:sha1:aeab42e3f4802d67fd5fe03feb0fd4a18903326f</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>small fixes atop syslog config patch</title>
<updated>2011-04-16T18:15:14+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2011-04-16T18:15:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=0288b27ad870adc437c370c262b7b41990ae0118'/>
<id>urn:sha1:0288b27ad870adc437c370c262b7b41990ae0118</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>syslogd: small fix to config patch</title>
<updated>2011-04-16T17:36:15+00:00</updated>
<author>
<name>Sergey Naumov</name>
<email>sknaumov@gmail.com</email>
</author>
<published>2011-04-16T17:36:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=e9c8bed4d3b157097e89ee2611ca731e37ce8d7d'/>
<id>urn:sha1:e9c8bed4d3b157097e89ee2611ca731e37ce8d7d</id>
<content type='text'>
Signed-off-by: Sergey Naumov &lt;sknaumov@gmail.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>move remaining help text from include/usage.src.h</title>
<updated>2011-04-11T01:29:49+00:00</updated>
<author>
<name>Pere Orga</name>
<email>gotrunks@gmail.com</email>
</author>
<published>2011-04-11T01:29:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=5bc8c005a8e15c43285bc595a8d404de67a482ac'/>
<id>urn:sha1:5bc8c005a8e15c43285bc595a8d404de67a482ac</id>
<content type='text'>
Signed-off-by: Pere Orga &lt;gotrunks@gmail.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>syslogd: optional support for /etc/syslog.conf</title>
<updated>2011-04-10T05:34:27+00:00</updated>
<author>
<name>Sergey Naumov</name>
<email>sknaumov@gmail.com</email>
</author>
<published>2011-04-10T05:34:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=73ef15cf3894716c1393ed21dee6e6bb2cdbc90f'/>
<id>urn:sha1:73ef15cf3894716c1393ed21dee6e6bb2cdbc90f</id>
<content type='text'>
function                                             old     new   delta
syslogd_main                                        1241    1870    +629
timestamp_and_log                                    301     540    +239
find_by_name                                           -      37     +37
find_by_val                                            -      22     +22
init_data                                             64      68      +4
log_locally                                          603     413    -190
------------------------------------------------------------------------------
(add/remove: 2/0 grow/shrink: 3/1 up/down: 931/-190)          Total: 741 bytes

Signed-off-by: Sergey Naumov &lt;sknaumov@gmail.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>klogd: fix the problem of delayed handling of ^C and SIGTERM</title>
<updated>2011-03-07T09:57:26+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2011-03-07T09:57:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=8b6b472f4edd701ac3b25d4a0c89ab506e09e0bb'/>
<id>urn:sha1:8b6b472f4edd701ac3b25d4a0c89ab506e09e0bb</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>Replace "depends on PLATFORM_LINUX" with "select PLATFORM_LINUX"</title>
<updated>2011-02-26T21:24:08+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2011-02-26T21:24:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=e3b1a1fd28558f7a1b3c0ec33313bedb675be8a1'/>
<id>urn:sha1:e3b1a1fd28558f7a1b3c0ec33313bedb675be8a1</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
</feed>
