On Wed, 18 May 2016 22:52:26 +1000 Dave <d...@flex.com.au> said:

>  In the year 2016, of the month of May, on the 18th day, Carsten Haitzler
> wrote:
> > On Wed, 18 May 2016 08:54:35 +1000 Dave <d...@flex.com.au> said:
> > 
> > >  In the year 2016, of the month of May, on the 17th day, R. W. Reese
> > > wrote:
> > > > Thanks, this is interesting. My resolv.conf is a symlink pointing 
> > > > /var/run/connman/resolv.conf. I know /var/run is for PIDs and other 
> > > > current system information, but the connman folder does not even appear 
> > > > there, so there is effectively no resolv.conf.
> > > > 
> > > > Are my two-year old OS installs misconfigured, even though they seem to 
> > > > be functioning properly? Should I be fixing this -- and how?
> > > 
> > >  Out of curiosity, what does your /etc/nsswitch.conf file look like?  I'm
> > > specifically after the hosts line.  If your boxes are resolving dns names
> > > without a valid resolv.conf file, there's got to be some other process in
> > > place to achieve that resolution.  It should be configured in that conf
> > > file.
> > > 
> > 
> > nsswitch is configuring an a module to load that is actually doing this.
> > this basically  means you end up having to go back to using libs to do name
> > resolution.
>  
>  OK.  There's a proper explanation in there, somewhere, I'm sure.  Perhaps if
> the english wasn't so messed up ...

sorry typing whilst in meeting with friggin touchpad accidentally moving my
cursor around on my laptop kbd.

:)

i straced telnet and it fails to load resolv.conf - loads nsswitch.conf and
then loads some nssswitch module .so and then seemingly decides how to do dns
lookups.

we pretty much need to dump dns.c and move to old-school gethostbyname ... but
do it in a thread and marshall back to mainloop instead. its far less pain
(well gethostbyname_r ...)

>  I'm guessing you're trying to say that the libnss_dns library will fall back
> to some default config if it fails to find a resolv.conf file?  That's pretty
> interesting if that's the case.  Should probably browse the glibc source code 
> to see what's going on.  Maybe another day; I'm tired, and it's been a long
> day for me.
> 
>  dave.k
> 
> 
> ------------------------------------------------------------------------------
> Mobile security can be enabling, not merely restricting. Employees who
> bring their own devices (BYOD) to work are irked by the imposition of MDM
> restrictions. Mobile Device Manager Plus allows you to control only the
> apps on BYO-devices by containerizing them, leaving personal data untouched!
> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
> _______________________________________________
> enlightenment-users mailing list
> enlightenment-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-users
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    ras...@rasterman.com


------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to