public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug nscd/29051] New: nscd: No such file or directory
@ 2022-04-13  2:34 mingli.yu at windriver dot com
  2022-04-14  3:08 ` [Bug nscd/29051] " mingli.yu at windriver dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: mingli.yu at windriver dot com @ 2022-04-13  2:34 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 29051
           Summary: nscd: No such file or directory
           Product: glibc
           Version: 2.35
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: nscd
          Assignee: unassigned at sourceware dot org
          Reporter: mingli.yu at windriver dot com
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

run 32-bit nscd in 64 bit env.
# rpm -ql lib32-nscd
/etc
/etc/nscd.conf
/etc/tmpfiles.d
/etc/tmpfiles.d/nscd.conf
/lib
/lib/systemd
/lib/systemd/system
/lib/systemd/system-preset
/lib/systemd/system-preset/98-lib32-nscd.preset
/lib/systemd/system/nscd.service
/usr
/usr/sbin
/usr/sbin/nscd
/var
/var/db
/var/db/nscd

# cat /lib/systemd/system/nscd.service
# systemd service file for nscd

[Unit]
Description=Name Service Cache Daemon

[Service]
Type=forking
ExecStart=/usr/sbin/nscd
ExecStop=/usr/sbin/nscd --shutdown
ExecReload=/usr/sbin/nscd -i passwd
ExecReload=/usr/sbin/nscd -i group
ExecReload=/usr/sbin/nscd -i hosts
ExecReload=/usr/sbin/nscd -i services
ExecReload=/usr/sbin/nscd -i netgroup
Restart=always
PIDFile=/run/nscd/nscd.pid

[Install]
WantedBy=multi-user.target

We acutally have the file like /etc/nsswitch.conf, but it turns out to check
/nsswitch.conf, more details as below.

# systemctl status nscd
● nscd.service - Name Service Cache Daemon
Loaded: loaded (/lib/systemd/system/nscd.service; enabled; vendor preset:
enabled)
Active: active (running) since Thu 2022-03-17 08:08:29 UTC; 9s ago
Process: 388 ExecStart=/usr/sbin/nscd (code=exited, status=0/SUCCESS)
Main PID: 389 (nscd)
Tasks: 10 (limit: 4915)
Memory: 1.2M
CGroup: /system.slice/nscd.service
└─389 /usr/sbin/nscd

Mar 17 08:08:29 intel-x86-64 nscd[389]: 389 stat failed for file
`/nsswitch.conf'; will try again later: No such file or directory
Mar 17 08:08:29 intel-x86-64 nscd[389]: 389 disabled inotify-based monitoring
for file `/nsswitch.conf': No such file or directory
Mar 17 08:08:29 intel-x86-64 nscd[389]: 389 stat failed for file
`/nsswitch.conf'; will try again later: No such file or directory
Mar 17 08:08:29 intel-x86-64 nscd[389]: 389 disabled inotify-based monitoring
for file `/nsswitch.conf': No such file or directory
Mar 17 08:08:29 intel-x86-64 nscd[389]: 389 stat failed for file
`/nsswitch.conf'; will try again later: No such file or directory
Mar 17 08:08:29 intel-x86-64 systemd[1]: Started Name Service Cache Daemon.
Mar 17 08:08:30 intel-x86-64 nscd[389]: 389 disabled inotify-based monitoring
for file `/nsswitch.conf': No such file or directory
Mar 17 08:08:30 intel-x86-64 nscd[389]: 389 disabled inotify-based monitoring
for file `/nsswitch.conf': No such file or directory
Mar 17 08:08:30 intel-x86-64 nscd[389]: 389 disabled inotify-based monitoring
for file `/nsswitch.conf': No such file or directory
Mar 17 08:08:30 intel-x86-64 nscd[389]: 389 disabled inotify-based monitoring
for file `/nsswitch.conf': No such file or directory

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug nscd/29051] nscd: No such file or directory
  2022-04-13  2:34 [Bug nscd/29051] New: nscd: No such file or directory mingli.yu at windriver dot com
@ 2022-04-14  3:08 ` mingli.yu at windriver dot com
  2022-06-13 11:03 ` schwab@linux-m68k.org
  2022-06-14  1:59 ` mingli.yu at windriver dot com
  2 siblings, 0 replies; 4+ messages in thread
From: mingli.yu at windriver dot com @ 2022-04-14  3:08 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #1 from Mingli <mingli.yu at windriver dot com> ---
BTW, it works with glibc 2.34. The issue comes out after upgrade glibc to 2.35
# rpm -qa | grep nscd
lib32-nscd-2.34-r0.corei7_32

# rpm -ql lib32-nscd
/etc
/etc/nscd.conf
/etc/tmpfiles.d
/etc/tmpfiles.d/nscd.conf
/lib
/lib/systemd
/lib/systemd/system
/lib/systemd/system-preset
/lib/systemd/system-preset/98-lib32-nscd.preset
/lib/systemd/system/nscd.service
/usr
/usr/sbin
/usr/sbin/nscd
/var
/var/db
/var/db/nscd


# cat /lib/systemd/system/nscd.service
# systemd service file for nscd

[Unit]
Description=Name Service Cache Daemon

[Service]
Type=forking
ExecStart=/usr/sbin/nscd
ExecStop=/usr/sbin/nscd --shutdown
ExecReload=/usr/sbin/nscd -i passwd
ExecReload=/usr/sbin/nscd -i group
ExecReload=/usr/sbin/nscd -i hosts
ExecReload=/usr/sbin/nscd -i services
ExecReload=/usr/sbin/nscd -i netgroup
Restart=always
PIDFile=/run/nscd/nscd.pid

[Install]
WantedBy=multi-user.target
root@intel-x86-64:~# systemctl status nscd
* nscd.service - Name Service Cache Daemon
     Loaded: loaded (/lib/systemd/system/nscd.service; enabled; vendor preset:
enabled)
     Active: active (running) since Thu 2022-04-14 03:06:05 UTC; 2min 25s ago
    Process: 181 ExecStart=/usr/sbin/nscd (code=exited, status=0/SUCCESS)
   Main PID: 183 (nscd)
      Tasks: 10 (limit: 3584)
     Memory: 900.0K
     CGroup: /system.slice/nscd.service
             `-183 /usr/sbin/nscd

Apr 14 03:06:18 intel-x86-64 nscd[183]: 183 monitoring directory `/etc` (2)
Apr 14 03:06:18 intel-x86-64 nscd[183]: 183 monitoring file `/etc/passwd` (1)
Apr 14 03:06:18 intel-x86-64 nscd[183]: 183 monitoring directory `/etc` (2)
Apr 14 03:06:18 intel-x86-64 nscd[183]: 183 monitoring file
`/etc/nsswitch.conf` (6)
Apr 14 03:06:18 intel-x86-64 nscd[183]: 183 monitoring directory `/etc` (2)
Apr 14 03:06:18 intel-x86-64 nscd[183]: 183 monitoring file `/etc/group` (3)
Apr 14 03:06:18 intel-x86-64 nscd[183]: 183 monitoring directory `/etc` (2)
Apr 14 03:06:22 intel-x86-64 nscd[183]: 183 monitored file `/etc/resolv.conf`
changed (mtime)
Apr 14 03:06:22 intel-x86-64 nscd[183]: 183 monitoring file `/etc/resolv.conf`
(7)
Apr 14 03:06:22 intel-x86-64 nscd[183]: 183 monitoring directory `/etc` (2)

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug nscd/29051] nscd: No such file or directory
  2022-04-13  2:34 [Bug nscd/29051] New: nscd: No such file or directory mingli.yu at windriver dot com
  2022-04-14  3:08 ` [Bug nscd/29051] " mingli.yu at windriver dot com
@ 2022-06-13 11:03 ` schwab@linux-m68k.org
  2022-06-14  1:59 ` mingli.yu at windriver dot com
  2 siblings, 0 replies; 4+ messages in thread
From: schwab@linux-m68k.org @ 2022-06-13 11:03 UTC (permalink / raw)
  To: glibc-bugs

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

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |MOVED

--- Comment #2 from Andreas Schwab <schwab@linux-m68k.org> ---
Please report that to the provider of lib32-nscd.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug nscd/29051] nscd: No such file or directory
  2022-04-13  2:34 [Bug nscd/29051] New: nscd: No such file or directory mingli.yu at windriver dot com
  2022-04-14  3:08 ` [Bug nscd/29051] " mingli.yu at windriver dot com
  2022-06-13 11:03 ` schwab@linux-m68k.org
@ 2022-06-14  1:59 ` mingli.yu at windriver dot com
  2 siblings, 0 replies; 4+ messages in thread
From: mingli.yu at windriver dot com @ 2022-06-14  1:59 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #3 from Mingli <mingli.yu at windriver dot com> ---
(In reply to Andreas Schwab from comment #2)
> Please report that to the provider of lib32-nscd.

We build the lib32-nscd ourselves from the latest source
git://sourceware.org/git/glibc.git.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-06-14  1:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-13  2:34 [Bug nscd/29051] New: nscd: No such file or directory mingli.yu at windriver dot com
2022-04-14  3:08 ` [Bug nscd/29051] " mingli.yu at windriver dot com
2022-06-13 11:03 ` schwab@linux-m68k.org
2022-06-14  1:59 ` mingli.yu at windriver dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).