* Re: nscd fails to start with musl
2023-04-19 8:41 [ISSUE] nscd fails to start with musl gabrielhdt
@ 2023-04-20 3:27 ` nekopsykose
2023-04-20 3:28 ` nekopsykose
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: nekopsykose @ 2023-04-20 3:27 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 310 bytes --]
New comment by nekopsykose on void-packages repository
https://github.com/void-linux/void-packages/issues/43522#issuecomment-1515661131
Comment:
the `/etc/nsswitch.conf` needs to have things it can actually load- the `files` entry tries to load libnss_`files`, and so it fails. nobody implemented that afaik
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: nscd fails to start with musl
2023-04-19 8:41 [ISSUE] nscd fails to start with musl gabrielhdt
2023-04-20 3:27 ` nekopsykose
@ 2023-04-20 3:28 ` nekopsykose
2023-04-20 5:53 ` gabrielhdt
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: nekopsykose @ 2023-04-20 3:28 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 295 bytes --]
New comment by nekopsykose on void-packages repository
https://github.com/void-linux/void-packages/issues/43522#issuecomment-1515661737
Comment:
(i don't know what 'is' implemented and allowed in nsswitch.conf, nor 3rdparty modules, aside from https://cwrap.org/nss_wrapper.html for instance)
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: nscd fails to start with musl
2023-04-19 8:41 [ISSUE] nscd fails to start with musl gabrielhdt
2023-04-20 3:27 ` nekopsykose
2023-04-20 3:28 ` nekopsykose
@ 2023-04-20 5:53 ` gabrielhdt
2023-04-20 5:54 ` gabrielhdt
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: gabrielhdt @ 2023-04-20 5:53 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 641 bytes --]
New comment by gabrielhdt on void-packages repository
https://github.com/void-linux/void-packages/issues/43522#issuecomment-1515752924
Comment:
If I understand correctly, this issue would be fixed by implementing `libnss_files` on top of musl, which may be a lot of work.
While we wait for such an implementation, can we do something to warn users that the `files` module isn't available? IMO we can either
- ping the developers of https://github.com/pikhq/musl-nscd and ask them whether they want to do something about that, or
- write some documentation in the Void package, although the issues doesn't seem to be specific to Void?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: nscd fails to start with musl
2023-04-19 8:41 [ISSUE] nscd fails to start with musl gabrielhdt
` (2 preceding siblings ...)
2023-04-20 5:53 ` gabrielhdt
@ 2023-04-20 5:54 ` gabrielhdt
2023-04-20 7:42 ` nekopsykose
2024-03-04 14:29 ` klarasm
5 siblings, 0 replies; 7+ messages in thread
From: gabrielhdt @ 2023-04-20 5:54 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 705 bytes --]
New comment by gabrielhdt on void-packages repository
https://github.com/void-linux/void-packages/issues/43522#issuecomment-1515752924
Comment:
If I understand correctly, this issue would be fixed by implementing `libnss_files` on top of musl, which may be a lot of work.
While we wait for such an implementation, can we do something to warn users that the `files` module isn't available? IMO we can either
- ping the developers of https://github.com/pikhq/musl-nscd and ask them whether they want to do something about that (knowing that the last commit on the repository is 2 years old), or
- write some documentation in the Void package, although the issues doesn't seem to be specific to Void?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: nscd fails to start with musl
2023-04-19 8:41 [ISSUE] nscd fails to start with musl gabrielhdt
` (3 preceding siblings ...)
2023-04-20 5:54 ` gabrielhdt
@ 2023-04-20 7:42 ` nekopsykose
2024-03-04 14:29 ` klarasm
5 siblings, 0 replies; 7+ messages in thread
From: nekopsykose @ 2023-04-20 7:42 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 176 bytes --]
New comment by nekopsykose on void-packages repository
https://github.com/void-linux/void-packages/issues/43522#issuecomment-1515869495
Comment:
it's not specific to void no
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: nscd fails to start with musl
2023-04-19 8:41 [ISSUE] nscd fails to start with musl gabrielhdt
` (4 preceding siblings ...)
2023-04-20 7:42 ` nekopsykose
@ 2024-03-04 14:29 ` klarasm
5 siblings, 0 replies; 7+ messages in thread
From: klarasm @ 2024-03-04 14:29 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 405 bytes --]
New comment by klarasm on void-packages repository
https://github.com/void-linux/void-packages/issues/43522#issuecomment-1976706303
Comment:
I'm trying to make nss-pam-ldapd build the nss module for musl in #49070. I found that just removing the files module from nsswitch.conf works. It seems musl always queries the local files first anyway, and if it does not find anything queries the nscd service.
^ permalink raw reply [flat|nested] 7+ messages in thread