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

Re: d-i: almost success



Erik Andersen wrote:
> > - /etc/nsswitch.conf (should be unnecessary according to the libc info
> >   page)
> 
> If you look in the stock nsswitch.conf you will see
>     hosts:          files dns
>     networks:       files
> 
> It will use /lib/libnss_files* to read things like /etc/hosts
> (I'm not sure which nss lib glibc uses to read resolv.conf)

Right and I mentioned I put libnss_dns in and it wasn't enough.

> You will also want a minimalist /etc/protocols, since there is a good chance
> that somebody will do a getprotobyname() and choke...  Other apps may be doing
> things like getservbyname, which requires /etc/services (which can be majorly
> trimmed btw).  Probably worth a look.   I find dropping a copy of strace onto a
> work-in-progress embedded system very insightful.  strace apps that are
> misbehaving and you can usually see where it chokes...

Ok, I'll see what I can see.

-- 
see shy jo



Reply to: