After upgrading ypbind from 1.17.2 to 1.17.2-r1 and replacing the /etc/init.d/ypbind script with the one suggested by etc-update ypbind aborted at system start with "domainname not found". I am using dhcp and had configured /etc/conf.d/net properly (dhcpcd="-Y", do not overwrite yp.conf). ypbind worked befor that update. Reproducible: Always Steps to Reproduce: 1. emerge =net-nds/ypbind-1.17.2 2. etc-update 3. replace /etc/init.d/ypbind with that etc-update suggests 4. emerge =net-nds/ypbind-1.17.2-r1 5. etc-update 6. replace /etc/init.d/ypbind with that etc-update suggests 7. reboot Actual Results: ypbind did not start on booting up the system. Output: "domainname not found". Expected Results: ypbind should have connected to the nis-server. How to solve the bug: Use the attaced ypbind init-script or insert ypdomainname "$YP_DOMAIN" into the init-script /etc/init.d/ypbind. emerge info: Portage 2.0.50-r11 (default-x86-1.4, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.7-gentoo-r6) ================================================================= System uname: 2.6.7-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz Gentoo Base System version 1.4.16 distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref/usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="X aalib acpi alsa apm arts avi berkdb bitmap-fonts bonobo cdr crypt cups dga doc dvd encode esd foomaticdb gdbm ggi gif gnome gpm gtk gtk2 gtkhtml imlib java jpeg kde ldap libg++ libwww mad mikmod motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba scanner sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype usb wmf x86 xml2 xmms xprint xv zlib"
Created attachment 40161 [details] Fixed init-script After replacing /etc/init.d/ypbind with the attached file, my system worked properly again.
the 'domainname' startup script is used to setup the domainname. Please do: $ echo <domainname> > /etc/nisdomainname && /etc/init.d/domainname restart && /etc/init.d/ypbind start
Thank you for your comment. Now I see how it was supposed to be. It works now!