Page MenuHomeFreeBSD

Eliminate unnecessary sleep(10) in newsyslog when -R and -s are specified
ClosedPublic

Authored by dab on Jun 4 2016, 2:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 5 2024, 2:04 PM
Unknown Object (File)
Dec 28 2023, 6:33 PM
Unknown Object (File)
Dec 23 2023, 6:10 AM
Unknown Object (File)
Dec 5 2023, 11:39 PM
Unknown Object (File)
Nov 22 2023, 6:14 PM
Unknown Object (File)
Nov 1 2023, 3:13 PM
Unknown Object (File)
Sep 1 2023, 7:55 AM
Unknown Object (File)
Aug 9 2023, 12:06 AM

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dab retitled this revision from to Eliminate unnecessary sleep(10) in newsyslog when -R and -s are specified.
dab updated this object.
dab edited the test plan for this revision. (Show Details)
dab set the repository for this revision to rS FreeBSD src repository - subversion.

No changes to actual diff; just trying to get context (pardon my unfamiliarity with phabricator).

One could argue that simply testing for !nosignal is enough here (line 336). If the daemon(s) is(are) not being signaled then what good does the sleep "to allow daemon(s) to close log file(s)" do since the daemon(s) is(are) not being informed of the rotation? However, I started with the conservative approach.

This comment was removed by dab.
This revision was automatically updated to reflect the committed changes.