/etc/services and /etc/protocols are missing; which means certain binaries we're running in CI aren't working anymore after we moved from nixos/nix:2.3.11 to nixos/nix:latest
Steps To Reproduce
run docker image and run a service that depends on glibc and does a name lookup. It fails.
Expected behavior
/etc/protocol and /etc/services is populated so that glibc can do proper name lookups
nix-env --version output
Additional context
This worked in the alpine based build. Sounds like a regression when we moved to a nix-based build.
I am also seeing this problem and don't know a work around. I tried adding the nixpkgs.iana-etc and it doesn't seem to do anything, include adding the files.
Describe the bug
/etc/services
and/etc/protocols
are missing; which means certain binaries we're running in CI aren't working anymore after we moved fromnixos/nix:2.3.11
tonixos/nix:latest
Steps To Reproduce
run docker image and run a service that depends on glibc and does a name lookup. It fails.
Expected behavior
/etc/protocol
and/etc/services
is populated so thatglibc
can do proper name lookupsnix-env --version
outputAdditional context
This worked in the alpine based build. Sounds like a regression when we moved to a nix-based build.