runit icon indicating copy to clipboard operation
runit copied to clipboard

[svlogd] prevent deletion of the processing file

Open stieg opened this issue 10 months ago • 1 comments

svlogd expects time to be correct, but sometimes this is not the case. If time information is inaccurate, it is possible for svlogd to delete the file it is about to process. When this happens, svlogd will enter an infinite busy loop trying to process a file that no longer exists. This patch prevents that case from happening by excluding processing file from consideration when removing old log files.

stieg avatar Mar 29 '24 01:03 stieg

image

stieg avatar Apr 04 '24 20:04 stieg