On Tue, Oct 25, 2011 at 12:52:42AM +0200, Christian Engelmayer wrote:
> 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
Sounds like this bug report belongs on LKML or the bug tracker for
these filesystems...
Rich
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox