Hello community, here is the log from the commit of package ypbind for openSUSE:Factory checked in at 2012-11-22 17:40:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ypbind (Old) and /work/SRC/openSUSE:Factory/.ypbind.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ypbind", Maintainer is "ku...@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/ypbind/ypbind.changes 2012-07-14 13:19:00.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ypbind.new/ypbind.changes 2012-11-22 17:40:27.000000000 +0100 @@ -1,0 +2,6 @@ +Fri Oct 12 16:37:43 UTC 2012 - fcro...@suse.com + +- Set NIS domainname if not set already before starting ypbind + (bnc#716746). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ypbind-systemd-pre ++++++ --- /var/tmp/diff_new_pack.iVQVhc/_old 2012-11-22 17:40:29.000000000 +0100 +++ /var/tmp/diff_new_pack.iVQVhc/_new 2012-11-22 17:40:29.000000000 +0100 @@ -6,6 +6,21 @@ # to setup proper domainname before starting ypbind daemon # itself. +mydomain=`domainname` +if [ "$mydomain" = "(none)" -o "x$mydomain" = "x" ]; then + test -f /etc/defaultdomain && { + read DOMAINNAME < /etc/defaultdomain + } + + if [ "x$DOMAINNAME" != 'x' ]; then + echo "$DOMAINNAME\n" + domainname $DOMAINNAME + else + echo "\nError: NIS domain not specified.\n" + exit 1 + fi +fi + ## If we don't have a /etc/yp.conf file, skip starting of ## ypbind and return with "program not configured" ## if you add the -broadcast Option later, comment this out. -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org