After upgrading to =sys-apps/baselayout-1.9.4-r5 from =sys-apps/baselayout-1.9.4-r3 the ypbind service doesn't start. The problem is only with starting the service through the init script. The service function OK when started using command start-stop-daemon --start --quiet --exec /usr/sbin/ypbind Reproducible: Always Steps to Reproduce: 1. emerge =sys-apps/baselayout-1.9.4-r5 2. /etc/init.d/ypbind restart Actual Results: * Setting NIS domainname to nisdomain... [ ok ] * ERROR: Problem starting needed services. * "ypbind" was not started.
I discovered that the problem is caused by nonexistant and/or empty file /etc/dnsdomainname checked by init script domainame. It just got relevant for the newer release of the baselayout package. Adding appropriate entry into the file fixed the problem.