Bug#396633: libc6: gethostbyname ignores "order bind,hosts" line in /etc/host.conf

2009-11-23 Thread Aurelien Jarno
reassign 396633 manpages
retitle 396633 manpages: host.conf(5): order option deprecated
thanks

On Wed, Nov 01, 2006 at 10:15:06PM +0100, alex wrote:
> Package: libc6
> Version: 2.3.2.ds1-22sarge4
> Severity: important
> 
> 
> gethostbyname seems to ignore the "order" line in my /etc/host.conf.
> 

The "order" keyword in /etc/host.conf is not supported anymore for quite
some time, as it has been replaced by /etc/nsswitch.conf which allow a
more fine configuration.

The manpage should be updated to reflect that.

-- 
Aurelien Jarno  GPG: 1024D/F1BCDB73
aurel...@aurel32.net http://www.aurel32.net



-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#396633: libc6: gethostbyname ignores "order bind,hosts" line in /etc/host.conf

2006-11-01 Thread alex
Package: libc6
Version: 2.3.2.ds1-22sarge4
Severity: important


gethostbyname seems to ignore the "order" line in my /etc/host.conf.

I got my machine name both in DNS and /etc/hosts.
My hosts file reads:
127.0.0.1  localhost
192.168.1.1mybox.mynet.prv
 I got a few more lines with the preconfigured standard IPV6 addresses that I 
dont think matter in here.

The DNS is also configured to link mybox.mynet.prv to an external address, lets 
say its 1.2.3.4

My host.conf file says:
order bind,hosts
multi on

The spected result is that when I use gethostbyname with mybox.mynet.prv
I should get 1.2.3.4 as a resply, but Im getting 192.168.1.1

If i remove the 192.168.1.1 line from /etc/hosts then I get the spected
result when using gethostbyname (1.2.3.4)



-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.18.1
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages libc6 depends on:
ii  libdb1-compat 2.1.3-7The Berkeley database routines [gl

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Processed: Re: Bug#396633: libc6: gethostbyname ignores "order bind,hosts" line in /etc/host.conf

2009-11-23 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> reassign 396633 manpages
Bug #396633 [libc6] libc6: gethostbyname ignores "order bind,hosts" line in 
/etc/host.conf
Bug reassigned from package 'libc6' to 'manpages'.
Bug No longer marked as found in versions glibc/2.3.2.ds1-22sarge4.
> retitle 396633 manpages: host.conf(5): order option deprecated
Bug #396633 [manpages] libc6: gethostbyname ignores "order bind,hosts" line in 
/etc/host.conf
Changed Bug title to 'manpages: host.conf(5): order option deprecated' from 
'libc6: gethostbyname ignores "order bind,hosts" line in /etc/host.conf'
> thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org