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)
Wed, Nov 20, 4:26 PM
Unknown Object (File)
Oct 3 2024, 6:24 AM
Unknown Object (File)
Oct 1 2024, 3:15 PM
Unknown Object (File)
Oct 1 2024, 8:24 AM
Unknown Object (File)
Sep 29 2024, 11:25 PM
Unknown Object (File)
Sep 28 2024, 12:03 AM
Unknown Object (File)
Sep 8 2024, 8:48 PM
Unknown Object (File)
Sep 7 2024, 9:44 PM

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

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.