Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nixos/nix image doesn't have pkgs.iana-etc contents (/etc/protocols and /etc/services) #7344

Open
arianvp opened this issue Nov 25, 2022 · 1 comment
Labels

Comments

@arianvp
Copy link
Member

arianvp commented Nov 25, 2022

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 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.

@arianvp arianvp added the bug label Nov 25, 2022
@M1Sports20
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants