GithubHelp home page GithubHelp logo

Comments (7)

andyshinn avatar andyshinn commented on June 1, 2024

Do we know where /etc/nsswitch.conf usually comes from? It is possible it is just missed from the generated glibc package or builder. I'll check soon to see if this is the case.

from alpine-pkg-glibc.

frol avatar frol commented on June 1, 2024

It seems to be a base OS layout:

filesystem package owns the file in Arch Linux

$ yaourt -Qo /etc/nsswitch.conf
/etc/nsswitch.conf is owned by filesystem 2015.09-1

No package is associated with the file in Debian and Ubuntu:

$ dpkg -S /etc/nsswitch.conf
dpkg-query: no path found matching pattern /etc/nsswitch.conf

from alpine-pkg-glibc.

frol avatar frol commented on June 1, 2024

Wierd, but /etc/nsswitch.conf is created as a symlink:

/ # ls -la /etc/nsswitch.conf
lrwxrwxrwx    1 root     root            35 Feb 12 05:35 /etc/nsswitch.conf -> /home/builder/package/nsswitch.conf

from alpine-pkg-glibc.

andyshinn avatar andyshinn commented on June 1, 2024

Huh... I'm pretty sure I just did a cp -a... I'll look at it again in a couple days.

from alpine-pkg-glibc.

frol avatar frol commented on June 1, 2024

cp -a will copy a symlink if it is a symlink, but in this case, we want to have just a regular file. Could you please remove -a flag?

from alpine-pkg-glibc.

andyshinn avatar andyshinn commented on June 1, 2024

Give the latest unreleased tag a try.

from alpine-pkg-glibc.

frol avatar frol commented on June 1, 2024

It works!

from alpine-pkg-glibc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.