I tracked it down to what's probably a typo in /etc/init.d/ypbind: There is a test done like this in checkconfig() if [ -s "$YP_DOMAIN" ] && return 0 This is looking for the file denoted by $YP_DOMAIN rather than checking for the existence of the variable. I changed it to if [ -n "$YP_DOMAIN" ] && return 0 i.e. if the length of string defined by $YP_DOMAIN is non-zero then we're fine. Works ok with the change. The ebuild version is ypbind-1.11
Thanks for the fix lars. Committed to portage.