Package: tmpreaper
Version: 1.6.13+nmu1
Severity: normal
User: debian-ad...@lists.debian.org
Usertags: needed-by-DSA-Team
X-Debbugs-CC: debian-ad...@lists.debian.org

On a Debian server DSA recently got this mail:

/etc/cron.daily/tmpreaper:
error: Failed to lstat() `/tmp/./sortb5dvPX': No such file or directory
error: Failed to lstat() `/tmp/./sortDSOyIw': No such file or directory

There appears to be a race condition in the case of very short-lived
files, first the next directory entry is read, then lstat() is called.
If the file was removed in between then a warning will be issued.

http://sources.debian.net/src/tmpreaper/1.6.13+nmu1/tmpreaper.c/?hl=452#L422

The warning should be disabled when lstat() returns ENOENT.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to