Re: Assorted arm-buster problems - network configuration
On Friday 05 July 2019 08:41:47 Greg Wooledge wrote:
> On Fri, Jul 05, 2019 at 06:35:53AM -0400, Gene Heskett wrote:
> > yup, and if the repos were open... They are not as I've previously
> > posted. I can report that apt --purge does not, I still see
> > an /etc/nsswitch.conf, even though ts been purged.
>
> ... what.
>
> Gene, /etc/nsswitch.conf is NOT part of any Debian package. It's part
> of the core installation. It is absolutely fundamental to the
> operation of basically every single piece of the operating system
> above the boot loader, the kernel, the ld.so shared library loader,
> and libc.
IOW, the image I have in my pocket probably don't work until I locate a
copy and put it back in. But just for grins, check the buster its
running: yes, its still there and I think intact:
gene@shop:~$ cat /etc/nsswitch.conf
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed,
try:
# `info libc "Name Service Switch"' for information about this file.
passwd: compat
group: compat
shadow: compat
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
But that begs another question Greg. If it hasn't anything to do with
avahi-daemon, whyinhell did purging avahi-daemon take the libnsswitch
package with it?
> If you remove /etc/nsswitch.conf, you won't be able to look up user
> names, or service port names, or host names, or basically *any* kind
> of names of anything at all. (Or, at best, you'll get some sort of
> default behavior compiled into the C library routines, if any.)
>
> wooledg:~$ dpkg -S /etc/nsswitch.conf
> dpkg-query: no path found matching pattern /etc/nsswitch.conf
>
> Since nsswitch.conf isn't part of a package, there is absolutely no
> reason you should think that purging ANY package would remove it. And
> there is absolutely no reason you should *want* to remove it.
The only reason I removed it, was to complete the libnsswitch removal
that removing avahi-daemon took out. Somehow I am missing an actual
dependency of one on the other. Call me puzzled.
Thanks Greg.
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
- Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>
Reply to: