Bug 19566 - nscd needs to watch for file deletions using inotify
Summary: nscd needs to watch for file deletions using inotify
Status: NEW
Alias: None
Product: glibc
Classification: Unclassified
Component: nscd (show other bugs)
Version: 2.24
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on: 984
Blocks:
  Show dependency treegraph
 
Reported: 2016-02-04 15:06 UTC by Florian Weimer
Modified: 2017-11-08 10:09 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:
fweimer: security-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.