Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70839 - samba-3.0.8 doesnt install /lib/libnss_wins.so
Summary: samba-3.0.8 doesnt install /lib/libnss_wins.so
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-11 12:21 UTC by Basil Burn
Modified: 2004-11-12 01:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Basil Burn 2004-11-11 12:21:11 UTC
I found out that netbios name resolution doesn work after emerge of samba 3.0.8.

# ping virge
ping: unknown host virge

even though my /etc/nsswitch.conf hasnt changed,

# grep wins /etc/nsswitch.conf
hosts:       files wins dns

a quick check by way of,

#  ls /lib/ | grep libnss
libnss_compat-2.3.4.so
libnss_compat.so.2
libnss_dns-2.3.4.so
libnss_dns.so.2
libnss_files-2.3.4.so
libnss_files.so.2
libnss_hesiod-2.3.4.so
libnss_hesiod.so.2
libnss_nis-2.3.4.so
libnss_nis.so.2
libnss_nisplus-2.3.4.so
libnss_nisplus.so.2

A package search only finds a broken link,

# equery files samba | grep libnss
/lib/libnss_wins.so.2 -> libnss_wins.so

A quick check via -

# ebuild /path/to/samba-3.0.8.ebuild install

doesnt show the file in the image/lib directory


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.9 i686)
=================================================================
System uname: 2.6.9 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -funroll-loops -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -funroll-loops -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks fixpackages sandbox sfperms"
GENTOO_MIRRORS="ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo/
http://mirror.cpsc.ucalgary.ca/mirror/gentoo.org"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa avi berkdb bitmap-fonts cdr cjk crypt cups encode esd f77 fam flac
foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imagemagick imlib java jpeg ldap
libg++ libwww mad mikmod mmx mozilla mpeg mysql ncurses nls nptl oggvorbis
opengl oss pam pdflib perl png python quicktime readline samba sdl slang spell
sse ssl tcpd tiff truetype x86 xml xml2 xmms xv zlib"
Comment 1 Tuan Van (RETIRED) gentoo-dev 2004-11-11 14:11:20 UTC
may be it comes with "winbind" USE flag? My box is too slow to test.
Comment 2 Basil Burn 2004-11-11 16:06:14 UTC
That seems to work. I recompiled with the winbind use flag and the file is now there.

Isn't wins resolution supposed to be independent of winbind even though they may be related? If my memory serves me right, it precedes winbind.
Comment 3 Michael Glauche (RETIRED) gentoo-dev 2004-11-12 01:14:24 UTC
the winbind use flag was introduced not so long time ago, so this would explain the change of usage.

As it's working, i'm closing the bug, feel free to re-open if you have any more problems.