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

Re: [logrotate] File handling questions.

On Sat, May 08, 1999 at 12:58:32AM -0700, Joey Hess wrote:
> > Tell me if I'm wrong... but if the `logrotate' process runs out of
> > time, a process switch happens, (or just happens at the same time, on
> > an SMP box), then `syslogd' runs and writes to the file, right after
> > the copy, but before the truncate, won't there be data loss?
> Yes, it's a race.

Apparently it's not, msg on -devel.

Joseph Carter <knghtbrd@debian.org>            Debian GNU/Linux developer
PGP: E8D68481E3A8BB77 8EE22996C9445FBE            The Source Comes First!
<apt> it has been said that redhat is the thing Marc Ewing wears on
      his head.

Attachment: pgpUFt5kK_pTR.pgp
Description: PGP signature

Reply to: