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/25208] the new cache cannot be updated when the daemons are started again


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

--- Comment #2 from whzhe <whzhe51 at 126 dot com> ---
(In reply to Carlos O'Donell from comment #1)
> (In reply to whzhe from comment #0)
> > when i stop the daemons, i add the group test1 and add test to this group.
> > 
> > [root@localhost whzhe]# id test
> > uid=1000(test) gid=1000(test) groups=1000(test),1004(test1)
> > 
> > Now i start up the nscd daemons and also check the id test.
> > 
> > [root@localhost whzhe]# id test
> > uid=1000(test) gid=1000(test) groups=1000(test)
> > 
> > There is no group test1.And i know i can using 'nscd -i group' to delete the
> > cache. 
> > But i think when i restart up the nscd daemons, the nscd daemons need to
> > update the cache and fix this problem.
> 
> They should have. There is code to add the caches and invlidate them at
> startup if their last modified date has changed.
> 
> What version of glibc is this? Which distribution?
> 
> Could you please start nscd with debug level set to 9? And provide the logs.

Glibc version is glibc-2.28-9.And i set the debug-level to 9, the log  follows
Wed 20 Nov 2019 08:33:31 PM EST - 111349: monitoring file /etc/passwd for
database passwd
Wed 20 Nov 2019 08:33:31 PM EST - 111349: monitoring file `/etc/passwd` (1)
Wed 20 Nov 2019 08:33:31 PM EST - 111349: monitoring directory `/etc` (2)
Wed 20 Nov 2019 08:33:31 PM EST - 111349: monitoring file /etc/group for
database group
Wed 20 Nov 2019 08:33:31 PM EST - 111349: monitoring file `/etc/group` (3)
Wed 20 Nov 2019 08:33:31 PM EST - 111349: monitoring directory `/etc` (2)
Wed 20 Nov 2019 08:33:31 PM EST - 111349: monitoring file /etc/hosts for
database hosts
Wed 20 Nov 2019 08:33:31 PM EST - 111349: monitoring file `/etc/hosts` (4)
Wed 20 Nov 2019 08:33:31 PM EST - 111349: monitoring directory `/etc` (2)
Wed 20 Nov 2019 08:33:31 PM EST - 111349: monitoring file /etc/resolv.conf for
database hosts
Wed 20 Nov 2019 08:33:31 PM EST - 111349: monitoring file `/etc/resolv.conf`
(5)
Wed 20 Nov 2019 08:33:31 PM EST - 111349: monitoring directory `/etc` (2)
Wed 20 Nov 2019 08:33:31 PM EST - 111349: monitoring file /etc/services for
database services
Wed 20 Nov 2019 08:33:31 PM EST - 111349: monitoring file `/etc/services` (6)
Wed 20 Nov 2019 08:33:31 PM EST - 111349: monitoring directory `/etc` (2)
Wed 20 Nov 2019 08:33:31 PM EST - 111349: monitoring file /etc/netgroup for
database netgroup
Wed 20 Nov 2019 08:33:31 PM EST - 111349: disabled inotify-based monitoring for
file `/etc/netgroup': No such file or directory
Wed 20 Nov 2019 08:33:31 PM EST - 111349: stat failed for file `/etc/netgroup';
will try again later: No such file or directory
Wed 20 Nov 2019 08:33:31 PM EST - 111349: Access Vector Cache (AVC) started
Wed 20 Nov 2019 08:33:31 PM EST - 111349: handle_request: request received
(Version = 2) from PID 111361
Wed 20 Nov 2019 08:33:31 PM EST - 111349:       GETFDPW
Wed 20 Nov 2019 08:33:31 PM EST - 111349: provide access to FD 7, for passwd
Wed 20 Nov 2019 08:33:31 PM EST - 111349: handle_request: request received
(Version = 2) from PID 111363
Wed 20 Nov 2019 08:33:31 PM EST - 111349:       GETFDPW
Wed 20 Nov 2019 08:33:31 PM EST - 111349: provide access to FD 7, for passwd
Wed 20 Nov 2019 08:33:31 PM EST - 111349: handle_request: request received
(Version = 2) from PID 111365
Wed 20 Nov 2019 08:33:31 PM EST - 111349:       GETFDGR
Wed 20 Nov 2019 08:33:31 PM EST - 111349: provide access to FD 9, for group
Wed 20 Nov 2019 08:33:31 PM EST - 111349: handle_request: request received
(Version = 2) from PID 111374
Wed 20 Nov 2019 08:33:31 PM EST - 111349:       GETFDPW
Wed 20 Nov 2019 08:33:31 PM EST - 111349: provide access to FD 7, for passwd
Wed 20 Nov 2019 08:33:31 PM EST - 111349: handle_request: request received
(Version = 2) from PID 111385
Wed 20 Nov 2019 08:33:31 PM EST - 111349:       GETFDPW
Wed 20 Nov 2019 08:33:31 PM EST - 111349: provide access to FD 7, for passwd
Wed 20 Nov 2019 08:33:31 PM EST - 111349: handle_request: request received
(Version = 2) from PID 111385
Wed 20 Nov 2019 08:33:31 PM EST - 111349:       GETFDGR
Wed 20 Nov 2019 08:33:31 PM EST - 111349: provide access to FD 9, for group
Wed 20 Nov 2019 08:33:34 PM EST - 111349: handle_request: request received
(Version = 2) from PID 111393
Wed 20 Nov 2019 08:33:34 PM EST - 111349:       GETFDPW
Wed 20 Nov 2019 08:33:34 PM EST - 111349: provide access to FD 7, for passwd
Wed 20 Nov 2019 08:33:34 PM EST - 111349: handle_request: request received
(Version = 2) from PID 111399
Wed 20 Nov 2019 08:33:34 PM EST - 111349:       GETFDPW
Wed 20 Nov 2019 08:33:34 PM EST - 111349: provide access to FD 7, for passwd
Wed 20 Nov 2019 08:33:34 PM EST - 111349: handle_request: request received
(Version = 2) from PID 111405
Wed 20 Nov 2019 08:33:34 PM EST - 111349:       GETFDPW
Wed 20 Nov 2019 08:33:34 PM EST - 111349: provide access to FD 7, for passwd
Wed 20 Nov 2019 08:33:34 PM EST - 111349: handle_request: request received
(Version = 2) from PID 111411
Wed 20 Nov 2019 08:33:34 PM EST - 111349:       GETFDPW
Wed 20 Nov 2019 08:33:34 PM EST - 111349: provide access to FD 7, for passwd
Wed 20 Nov 2019 08:33:34 PM EST - 111349: handle_request: request received
(Version = 2) from PID 111422
Wed 20 Nov 2019 08:33:34 PM EST - 111349:       GETFDPW
Wed 20 Nov 2019 08:33:34 PM EST - 111349: provide access to FD 7, for passwd
Wed 20 Nov 2019 08:33:34 PM EST - 111349: handle_request: request received
(Version = 2) from PID 111422
Wed 20 Nov 2019 08:33:34 PM EST - 111349:       GETFDGR
Wed 20 Nov 2019 08:33:34 PM EST - 111349: provide access to FD 9, for group
Wed 20 Nov 2019 08:33:34 PM EST - 111349: handle_request: request received
(Version = 2) from PID 111428
Wed 20 Nov 2019 08:33:34 PM EST - 111349:       GETFDPW
Wed 20 Nov 2019 08:33:34 PM EST - 111349: provide access to FD 7, for passwd
Wed 20 Nov 2019 08:33:34 PM EST - 111349: handle_request: request received
(Version = 2) from PID 111428
Wed 20 Nov 2019 08:33:34 PM EST - 111349:       GETFDGR
Wed 20 Nov 2019 08:33:34 PM EST - 111349: provide access to FD 9, for group
Wed 20 Nov 2019 08:33:36 PM EST - 111349: provide access to FD 7, for passwd
Wed 20 Nov 2019 08:33:36 PM EST - 111349: handle_request: request received
(Version = 2) from PID 111455
Wed 20 Nov 2019 08:33:36 PM EST - 111349:       GETFDPW
Wed 20 Nov 2019 08:33:36 PM EST - 111349: provide access to FD 7, for passwd
Wed 20 Nov 2019 08:33:36 PM EST - 111349: handle_request: request received
(Version = 2) from PID 111458
Wed 20 Nov 2019 08:33:36 PM EST - 111349:       GETFDPW
Wed 20 Nov 2019 08:33:36 PM EST - 111349: provide access to FD 7, for passwd
Wed 20 Nov 2019 08:33:36 PM EST - 111349: handle_request: request received
(Version = 2) from PID 111461
Wed 20 Nov 2019 08:33:36 PM EST - 111349:       GETFDPW
Wed 20 Nov 2019 08:33:36 PM EST - 111349: provide access to FD 7, for passwd
Wed 20 Nov 2019 08:33:36 PM EST - 111349: handle_request: request received
(Version = 2) from PID 111464
Wed 20 Nov 2019 08:33:36 PM EST - 111349:       GETFDPW
Wed 20 Nov 2019 08:33:36 PM EST - 111349: provide access to FD 7, for passwd
Wed 20 Nov 2019 08:33:36 PM EST - 111349: handle_request: request received
(Version = 2) from PID 111467
Wed 20 Nov 2019 08:33:36 PM EST - 111349:       GETFDPW
Wed 20 Nov 2019 08:33:36 PM EST - 111349: provide access to FD 7, for passwd
Wed 20 Nov 2019 08:33:37 PM EST - 111349: handle_request: request received
(Version = 2) from PID 111471
Wed 20 Nov 2019 08:33:37 PM EST - 111349:       GETFDPW
Wed 20 Nov 2019 08:33:37 PM EST - 111349: provide access to FD 7, for passwd
Wed 20 Nov 2019 08:33:37 PM EST - 111349: handle_request: request received
(Version = 2) from PID 111477
Wed 20 Nov 2019 08:33:37 PM EST - 111349:       GETFDPW
Wed 20 Nov 2019 08:33:37 PM EST - 111349: provide access to FD 7, for passwd
Wed 20 Nov 2019 08:33:37 PM EST - 111349: handle_request: request received
(Version = 2) from PID 111491
Wed 20 Nov 2019 08:33:37 PM EST - 111349:       GETFDPW
Wed 20 Nov 2019 08:33:37 PM EST - 111349: provide access to FD 7, for passwd
Wed 20 Nov 2019 08:33:37 PM EST - 111349: handle_request: request received
(Version = 2) from PID 111497
Wed 20 Nov 2019 08:33:37 PM EST - 111349:       GETFDPW
Wed 20 Nov 2019 08:33:37 PM EST - 111349: provide access to FD 7, for passwd
Wed 20 Nov 2019 08:33:37 PM EST - 111349: handle_request: request received
(Version = 2) from PID 111508
Wed 20 Nov 2019 08:33:37 PM EST - 111349:       GETFDPW
Wed 20 Nov 2019 08:33:37 PM EST - 111349: provide access to FD 7, for passwd
Wed 20 Nov 2019 08:33:37 PM EST - 111349: handle_request: request received
(Version = 2) from PID 111508
Wed 20 Nov 2019 08:33:37 PM EST - 111349:       GETFDGR
Wed 20 Nov 2019 08:33:37 PM EST - 111349: provide access to FD 9, for group
Wed 20 Nov 2019 08:33:40 PM EST - 111349: handle_request: request received
(Version = 2) from PID 111524
Wed 20 Nov 2019 08:33:40 PM EST - 111349:       GETFDPW
Wed 20 Nov 2019 08:33:40 PM EST - 111349: provide access to FD 7, for passwd
Wed 20 Nov 2019 08:33:40 PM EST - 111349: handle_request: request received
(Version = 2) from PID 111530
Wed 20 Nov 2019 08:33:40 PM EST - 111349:       GETFDPW
Wed 20 Nov 2019 08:33:40 PM EST - 111349: provide access to FD 7, for passwd
Wed 20 Nov 2019 08:33:40 PM EST - 111349: handle_request: request received
(Version = 2) from PID 111533
Wed 20 Nov 2019 08:33:40 PM EST - 111349:       GETFDPW
Wed 20 Nov 2019 08:33:40 PM EST - 111349: provide access to FD 7, for passwd
Wed 20 Nov 2019 08:33:40 PM EST - 111349: handle_request: request received
(Version = 2) from PID 111540
Wed 20 Nov 2019 08:33:40 PM EST - 111349:       GETFDPW
Wed 20 Nov 2019 08:33:40 PM EST - 111349: provide access to FD 7, for passwd
Wed 20 Nov 2019 08:33:40 PM EST - 111349: handle_request: request received
(Version = 2) from PID 111546
Wed 20 Nov 2019 08:33:40 PM EST - 111349:       GETFDPW
Wed 20 Nov 2019 08:33:40 PM EST - 111349: provide access to FD 7, for passwd
Wed 20 Nov 2019 08:33:40 PM EST - 111349: handle_request: request received
(Version = 2) from PID 111557
Wed 20 Nov 2019 08:33:40 PM EST - 111349:       GETFDPW
Wed 20 Nov 2019 08:33:40 PM EST - 111349: provide access to FD 7, for passwd
Wed 20 Nov 2019 08:33:40 PM EST - 111349: handle_request: request received
(Version = 2) from PID 111557
Wed 20 Nov 2019 08:33:40 PM EST - 111349:       GETFDGR
Wed 20 Nov 2019 08:33:40 PM EST - 111349: provide access to FD 9, for group
Wed 20 Nov 2019 08:33:41 PM EST - 111349: handle_request: request received
(Version = 2) from PID 111572
Wed 20 Nov 2019 08:33:41 PM EST - 111349:       GETFDPW
Wed 20 Nov 2019 08:33:41 PM EST - 111349: provide access to FD 7, for passwd
Wed 20 Nov 2019 08:33:42 PM EST - 111349: handle_request: request received
(Version = 2) from PID 111593
Wed 20 Nov 2019 08:33:42 PM EST - 111349:       GETFDPW
Wed 20 Nov 2019 08:33:42 PM EST - 111349: provide access to FD 7, for passwd

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

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