[yast-commit] r46894 - in /trunk/nis-server: VERSION package/yast2-nis-server.changes src/NisServer.ycp
Author: jsuchome Date: Mon Apr 21 12:16:11 2008 New Revision: 46894 URL: http://svn.opensuse.org/viewcvs/yast?rev=46894&view=rev Log: - check if /var/yp/Makefile exists before reading it (bnc#381369) - 2.16.4 Modified: trunk/nis-server/VERSION trunk/nis-server/package/yast2-nis-server.changes trunk/nis-server/src/NisServer.ycp Modified: trunk/nis-server/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/nis-server/VERSION?rev=46894&r1=46893&r2=46894&view=diff ============================================================================== --- trunk/nis-server/VERSION (original) +++ trunk/nis-server/VERSION Mon Apr 21 12:16:11 2008 @@ -1 +1 @@ -2.16.3 +2.16.4 Modified: trunk/nis-server/package/yast2-nis-server.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/nis-server/package/yast2-nis-server.changes?rev=46894&r1=46893&r2=46894&view=diff ============================================================================== --- trunk/nis-server/package/yast2-nis-server.changes (original) +++ trunk/nis-server/package/yast2-nis-server.changes Mon Apr 21 12:16:11 2008 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Mon Apr 21 12:01:33 CEST 2008 - jsuchome@suse.cz + +- check if /var/yp/Makefile exists before reading it (bnc#381369) +- 2.16.4 + +------------------------------------------------------------------- Mon Mar 17 12:43:32 CET 2008 - jsrain@suse.cz - added 'StartupNotify=true' to the desktop file (bnc #304964) Modified: trunk/nis-server/src/NisServer.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/nis-server/src/NisServer.ycp?rev=46894&r1=46893&r2=46894&view=diff ============================================================================== --- trunk/nis-server/src/NisServer.ycp (original) +++ trunk/nis-server/src/NisServer.ycp Mon Apr 21 12:16:11 2008 @@ -346,6 +346,8 @@ } define void YPMakefileVars () { + if (!FileUtils::Exists ("/var/yp/Makefile")) return; + maps = (list<string>) SCRGet (.var.yp.makefile.maps, ["passwd", "group", "rpc", "services", "netid"]); minuid = SCRGetInt (.var.yp.makefile.MINUID, 100); mingid = SCRGetInt (.var.yp.makefile.MINGID, 100); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
jsuchome@svn.opensuse.org