gethostbyname(3) doesn't appear to work under NetBSD-5.2 and NetBSD-6.1.x when hostnames appear only in /etc/hosts

2014-06-19 Thread Brian Buhrow
hello. It appears that gethostbyname(3) in NetBSD-5.2 and 6.1.x is broken if the name you're trying to fetch is listed in /etc/hosts and nowhere else. The problem appears to be with this change: RCS file: /cvsroot/src/lib/libc/net/gethnamaddr.c revision 1.73.18.3 date: 2013-12-23

Re: lua in kernel!

2014-06-19 Thread Lourival Vieira Neto
Hi Mayuresh, while i was drawn to netbsd because of the upcoming lua support in the kernel and userland, I'm happy to read this =). i am quite lost about the probable use cases for real-world scenarios. We have proposed some use cases, such as packet filtering, device drivers, network

Re: gethostbyname(3) doesn't appear to work under NetBSD-5.2 and NetBSD-6.1.x when hostnames appear only in /etc/hosts

2014-06-19 Thread J. Lewis Muir
On 6/19/14, 3:37 AM, Brian Buhrow wrote: Has anyone else run into this behavior? Hi, Brian. I do not have that problem on my system: === $ uname -a NetBSD violin.my.domain 6.1.4 NetBSD 6.1.4 (GENERIC) amd64 $ grep piano /etc/hosts 192.168.98.1piano.my.domain piano $ getent hosts piano

Re: gethostbyname(3) doesn't appear to work under NetBSD-5.2 and NetBSD-6.1.x when hostnames appear only in /etc/hosts

2014-06-19 Thread Martin Husemann
On Thu, Jun 19, 2014 at 01:58:27PM -0500, J. Lewis Muir wrote: I do not have that problem on my system: I can reproduce it both on netbsd-6 as well as on -current when using names that are not in DNS. Martin

Re: gethostbyname(3) doesn't appear to work under NetBSD-5.2 and NetBSD-6.1.x when hostnames appear only in /etc/hosts

2014-06-19 Thread Martin Husemann
On Thu, Jun 19, 2014 at 09:18:01PM +0200, Martin Husemann wrote: On Thu, Jun 19, 2014 at 01:58:27PM -0500, J. Lewis Muir wrote: I do not have that problem on my system: I can reproduce it both on netbsd-6 as well as on -current when using names that are not in DNS. Actually I can *ONLY*

Re: gethostbyname(3) doesn't appear to work under NetBSD-5.2 and NetBSD-6.1.x when hostnames appear only in /etc/hosts

2014-06-19 Thread J. Lewis Muir
On 6/19/14, 2:19 PM, Martin Husemann wrote: On Thu, Jun 19, 2014 at 09:18:01PM +0200, Martin Husemann wrote: On Thu, Jun 19, 2014 at 01:58:27PM -0500, J. Lewis Muir wrote: I do not have that problem on my system: I can reproduce it both on netbsd-6 as well as on -current when using names

Re: gethostbyname(3) doesn't appear to work under NetBSD-5.2 and NetBSD-6.1.x when hostnames appear only in /etc/hosts

2014-06-19 Thread Eric Schnoebelen
Brian Buhrow writes: - hello. It appears that gethostbyname(3) in NetBSD-5.2 and 6.1.x is - broken if the name you're trying to fetch is listed in /etc/hosts and - nowhere else. The problem appears to be with this change: I'm unable to reproduce on 6.1_STABLE amd64. One thing you've

Re: gethostbyname(3) doesn't appear to work under NetBSD-5.2 and NetBSD-6.1.x when hostnames appear only in /etc/hosts

2014-06-19 Thread Brian Buhrow
On Jun 19, 9:19pm, Martin Husemann wrote: } Subject: Re: gethostbyname(3) doesn't appear to work under NetBSD-5.2 and } On Thu, Jun 19, 2014 at 09:18:01PM +0200, Martin Husemann wrote: } On Thu, Jun 19, 2014 at 01:58:27PM -0500, J. Lewis Muir wrote: } I do not have that problem on my system:

Re: gethostbyname(3) doesn't appear to work under NetBSD-5.2 and NetBSD-6.1.x when hostnames appear only in /etc/hosts

2014-06-19 Thread Brian Buhrow
On Jun 19, 10:07pm, Martin Husemann wrote: } Subject: Re: gethostbyname(3) doesn't appear to work under NetBSD-5.2 and } On Thu, Jun 19, 2014 at 01:00:51PM -0700, Brian Buhrow wrote: } Hello. If you turn off dns resolution for the hosts database in } nsswitch.conf, can you reproduce it for

GPT questions - gpt reliability, wedge naming, and filesystem scaling.

2014-06-19 Thread Gerard Lally
As an experiment I installed NetBSD 6 in a virtual machine to try and figure out GPT partitions and wedges. The experiment went well, and I learned for the first time how to install NetBSD by dropping to a shell from sysinst and running setup from the shell. As always Pierre-Philipp Braun was a

Re: GPT questions - gpt reliability, wedge naming, and filesystem scaling.

2014-06-19 Thread Robert Elz
Date:Fri, 20 Jun 2014 01:20:03 +0100 From:Gerard Lally lists+netbsd.us...@netmail.ie Message-ID: 20140620012000.2c49.280fc...@netmail.ie | | 1) Is it safe to use GPT on NetBSD? Yes, though it is a little tricky to get boot from gpt to work properly (you might have