void-linux / void-linux/void-packages

nscd fails to start with musl

Open
#43,522 7 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug needs-testing
Dominant language
Shell
Stars
3.4k
Forks
2.8k
Avg merge
2d 5h
Merged PRs (30d)
299

Description

Is this a new report?

Yes

System Info

Void 6.1.21_1 x86_64-musl GenuineIntel notuptodate rrnFFF

Package(s) Affected

musl-nscd-1.1.1_1

Does a report exist for this bug with the project's home (upstream) and/or another distro?

This seems related https://gitlab.alpinelinux.org/alpine/aports/-/issues/11485

Expected behaviour

Once musl-nscd is installed, I would expect nscd to run successfully.

$ nscd # with root privileges
$ echo $?
0
Actual behaviour
$ nscd # with root privileges
nscd: libnss_files.so: Error loading shared library libnss_files.so: No such file or directory
$ echo $?
1
Steps to reproduce
$ xbps-install musl-nscd
$ nscd

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with xbps-install musl-nscd followed by nscd, using the Void 6.1.21_1 x86_64-musl environment described. Read the related Alpine issue for context and inspect the musl-nscd package configuration. Done means nscd starts successfully and exits with status 0 without the missing libnss_files.so error.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.