sgerrand / alpine-pkg-glibc

A glibc compatibility layer package for Alpine Linux
2.06k stars 280 forks source link

Remove `nsswitch.conf` #195

Closed sgerrand closed 1 year ago

sgerrand commented 1 year ago

💁 The nsswitch.conf file is now present in the alpine-baselayout-data package as of https://git.alpinelinux.org/aports/commit/?h=3.16-stable&id=348653a9ba0701e8e968b3344e72313a9ef334e4. The contents of the 2 files are broadly similar enough, i.e. that the precedence is for file based DNS entries over the network so that should be good enough for general usage by glibc based apps.

Fixes #185

chadlwilson commented 1 year ago

Worth noting that there appears to be no nsswitch.conf in alpine-baselayout-data on Alpine 3.15 and 3.14 so this might break some people still installing on these older (still supported) Alpines.

https://pkgs.alpinelinux.org/contents?file=nsswitch.conf&path=&name=&branch=v3.15 (EOL ~6 months) https://pkgs.alpinelinux.org/contents?file=nsswitch.conf&path=&name=&branch=v3.14 (EOL ~2 weeks)

sgerrand commented 1 year ago

Thanks for highlighting that, it'll be helpful for anyone in that situation who may be searching for help. Unfortunately there's not much I can do about that. Maintaining complete backwards compatibility is not a goal of this package.