Bug 19566

Summary: nscd needs to watch for file deletions using inotify
Product: glibc Reporter: Florian Weimer <fweimer>
Component: nscdAssignee: Not yet assigned to anyone <unassigned>
Status: NEW ---    
Severity: normal CC: drepper.fsp
Priority: P2 Flags: fweimer: security-
Version: 2.24   
Target Milestone: ---   
See Also: https://sourceware.org/bugzilla/show_bug.cgi?id=14906
Host: Target:
Build: Last reconfirmed:
Bug Depends on: 984    
Bug Blocks:    

Description Florian Weimer 2016-02-04 15:06:30 UTC
Bug 14906 does not completely address the issue because no inotify event is generated for a file if it is deleted and its use count does not reach zero because there are remaining hard links to it.

We probably should adjust TRACED_DIR_MASK to include IN_DELETE.
Comment 1 Florian Weimer 2017-11-08 10:09:59 UTC
The fix for bug 984 should paper over this issue.