[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: repeat of previous question that has gone unansweredseveraltimes.



On Tue 09 May 2023 at 16:49:22 -0400, gene heskett wrote:

> On 5/9/23 07:12, Greg Wooledge wrote:
> > On Tue, May 09, 2023 at 04:06:14AM -0400, gene heskett wrote:
> > > I think you have said resolv.conf Search directive doesn't work but
> > > nsswitch.conf was mentioned and there is a diff between this machine and one
> > > of the arms. So what do I put in nsswitch.conf to make cups search the hosts
> > > file first?
> > 
> > The bare minimum would be:
> > 
> > hosts:      files dns
> > 
> > Mine contains this:
> > 
> > hosts:          files mdns4_minimal [NOTFOUND=return] dns
> and my bpi54 is:
> hosts:          files mymachines dns myhostname

bpi54 has two printers attached by USB. It also hosts four print queues that work
from bpi54 and bpi51. You have a printing system that should continue working
until trixie comes along. Then it will fall apart.

So why this descent into GNU Name Service Switch (NSS) functionality when you are
satisfied with the printing situation?

Greg Wooledge's nsswitch.conf line is what would be expected on a machine having
avahi-demon.service. You do not have avahi-daemon and libnss-mdns installed. That
is fine. A descision has been made to create queues with vendor drivers on bpi54
manually.

Your nsswitch.conf line implies libnss-mymacines and libnss-mymhostname are used.
They have man pages to help you decide what parts they play on bpi54.

What do you have on bpi51?

-- 
Brian.


Reply to: