getent repeatedly attempts to open DB_CONFIG
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glibc (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
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("/
open("DB_CONFIG", O_RDONLY|
open("/proc/stat", O_RDONLY) = 4
open("/
open("/
open("DB_CONFIG", O_RDONLY|
open("/proc/stat", O_RDONLY) = 4
open("/
open("/
open("DB_CONFIG", O_RDONLY|
open("/proc/stat", O_RDONLY) = 4
open("/
open("/
open("DB_CONFIG", O_RDONLY|
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