[Bug nscd/20036] New: nscd periodically complains about missing nss_db files

mail at maciej dot szmigiero.name sourceware-bugzilla@sourceware.org
Mon May 2 21:31:00 GMT 2016


https://sourceware.org/bugzilla/show_bug.cgi?id=20036

            Bug ID: 20036
           Summary: nscd periodically complains about missing nss_db files
           Product: glibc
           Version: 2.23
            Status: NEW
          Severity: minor
          Priority: P2
         Component: nscd
          Assignee: unassigned at sourceware dot org
          Reporter: mail at maciej dot szmigiero.name
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

nscd periodically complains about missing nss_db databases:
May  2 23:21:58 laptop nscd: 26121 checking for monitored file
`/var/db/group.db': No such file or directory
May  2 23:22:05 laptop nscd: 26121 checking for monitored file
`/var/db/passwd.db': No such file or directory
May  2 23:22:13 laptop nscd: 26121 checking for monitored file
`/var/db/group.db': No such file or directory
May  2 23:22:20 laptop nscd: 26121 checking for monitored file
`/var/db/passwd.db': No such file or directory

This happens even if nss_db is not used in /etc/nsswitch.conf for these
categories:
passwd:      compat
shadow:      compat
group:       compat

It looks like this behavior is since commit
cf9313e7d1dd42addd6cf8c9277f0f18a62cdeff ("Enhance nscd's inotify support")
because previously prune_cache() in nscd/cache.c disabled monitoring of
particular file when it got ENOENT from stat64() on it.
So previously these messaged were only logged once instead of periodically as
they are now.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list