This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug nscd/10181] New: nscd discards entries even with unlimited reload count


(Upstreamed from https://bugzilla.redhat.com/show_bug.cgi?id=488597)

Description of problem:
With the configuration below nscd seems to remove user info after a period of
time (noticed both after 5 minutes and after 15 hours). I did something like
this to test (using LDAP as info source):

service ldap start  [succeeds]
service nscd start  [succeeds]
id testuser         [succeeds]
ls -l ~testuser     [succeeds]
service ldap stop   [succeeds]
id testuser         [succeeds]
ls -l ~testuser     [succeeds]
<wait, retry, wait, ...>
id testuser         [fails]
ls -l ~testuser     [fails]

It seems that the time after which entries get removed is more or less random
making it hard to identify any clear occurances causing this.

This is important to allow laptops to work when not connected to the home
network.



 server-user  nscd
 debug-level  0
 reload-count  unlimited
 paranoia  no

 enable-cache  passwd  yes
 positive-time-to-live passwd  600
 negative-time-to-live passwd  20
 suggested-size  passwd  211
 check-files  passwd  yes
 persistent  passwd  yes
 shared   passwd  yes
 max-db-size  passwd  33554432
 auto-propagate  passwd  yes

 enable-cache  group  yes
 positive-time-to-live group  600
 negative-time-to-live group  60
 suggested-size  group  211
 check-files  group  yes
 persistent  group  yes
 shared   group  yes
 max-db-size  group  33554432
 auto-propagate  group  yes  


I was able to reproduce this easily on Fedora 10 with all updates as of
2009-03-10 installed, including:

root@localhost:~# rpm -q nscd
nscd-2.9-3.i386

I will attach from Fedora 10 test /etc/nscd.conf, /var/log/nscd.log, and steps
done in a terminal.

-- 
           Summary: nscd discards entries even with unlimited reload count
           Product: glibc
           Version: 2.10
            Status: NEW
          Severity: normal
          Priority: P2
         Component: nscd
        AssignedTo: drepper at redhat dot com
        ReportedBy: dqarras at yahoo dot com
                CC: glibc-bugs at sources dot redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=10181

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]