Public bug reported:

Binary package hint: libc6


Hi,

I was doing some testing of db files as sources of information for maps
(as in using 'db' in nsswitch.conf).

Checking to see how getent was getting the information, I straced and
saw:

open("/var/lib/misc/passwd.db", O_RDONLY|O_LARGEFILE) = 4
open("DB_CONFIG", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/proc/stat", O_RDONLY)            = 4
open("/var/lib/misc/passwd.db", O_RDONLY|O_LARGEFILE) = 4
open("/var/lib/misc/passwd.db", O_RDONLY|O_LARGEFILE) = 4
open("DB_CONFIG", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/proc/stat", O_RDONLY)            = 4
open("/var/lib/misc/passwd.db", O_RDONLY|O_LARGEFILE) = 4
open("/var/lib/misc/passwd.db", O_RDONLY|O_LARGEFILE) = 4
open("DB_CONFIG", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/proc/stat", O_RDONLY)            = 4
open("/var/lib/misc/passwd.db", O_RDONLY|O_LARGEFILE) = 4
open("/var/lib/misc/passwd.db", O_RDONLY|O_LARGEFILE) = 4
open("DB_CONFIG", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/proc/stat", O_RDONLY)            = 4

I will not comment on the multiple openings of the DB file -- but it
does seem odd that 'DB_CONFIG' is repeatedly being open (or attempted to
be being opened).

Is that a configuration variable that has leaked out?

Thanks,
Anand

** Affects: glibc (Ubuntu)
     Importance: Undecided
         Status: New

-- 
getent repeatedly attempts to open DB_CONFIG
https://bugs.launchpad.net/bugs/320953
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to