musl-nscd icon indicating copy to clipboard operation
musl-nscd copied to clipboard

nsswitch: add support for the automount database

Open compnerd opened this issue 2 years ago • 5 comments

automount is a valid database for the name switch service. This allows processing the database entry in the configuration. The service now starts up rather than erroring out as it is unable to process the configuration.

compnerd avatar Nov 17 '21 16:11 compnerd

I agree that discarding unknown databases seems reasonable (and potentially even for the ones that we know about but do not support, i.e. everything but passwd and group). But, that would be a much larger change and this does enable additional files to be processed. A subsequent change to do that seems reasonable.

compnerd avatar Nov 17 '21 20:11 compnerd

@ericonr ping?

compnerd avatar Nov 29 '21 18:11 compnerd

@ericonr ping?

compnerd avatar Feb 16 '22 18:02 compnerd

Please squash the commits into a single one and mention in the commit message that this should instead implement something to ignore unknown entries, instead of trying to parse them.

ericonr avatar Feb 18 '22 03:02 ericonr

Sure; done! Sorry about the delay for the request.

compnerd avatar Feb 24 '22 21:02 compnerd