Mailinglist Archive: yast-commit (535 mails)

< Previous Next >
[yast-commit] r41476 - in /trunk/nis-client: VERSION package/yast2-nis-client.changes src/Nis.ycp testsuite/tests/readwrite.out
  • From: jsuchome@xxxxxxxxxxxxxxxx
  • Date: Fri, 19 Oct 2007 09:18:19 -0000
  • Message-id: <20071019091819.AF69126686@xxxxxxxxxxxxxxxx>
Author: jsuchome
Date: Fri Oct 19 11:18:19 2007
New Revision: 41476

URL: http://svn.opensuse.org/viewcvs/yast?rev=41476&view=rev
Log:
- clear nscd cache instead of restarting nscd (#333305)
- 2.16.0 


Modified:
    trunk/nis-client/VERSION
    trunk/nis-client/package/yast2-nis-client.changes
    trunk/nis-client/src/Nis.ycp
    trunk/nis-client/testsuite/tests/readwrite.out

Modified: trunk/nis-client/VERSION
URL: http://svn.opensuse.org/viewcvs/yast/trunk/nis-client/VERSION?rev=41476&r1=41475&r2=41476&view=diff
==============================================================================
--- trunk/nis-client/VERSION (original)
+++ trunk/nis-client/VERSION Fri Oct 19 11:18:19 2007
@@ -1 +1 @@
-2.15.3
+2.16.0

Modified: trunk/nis-client/package/yast2-nis-client.changes
URL: http://svn.opensuse.org/viewcvs/yast/trunk/nis-client/package/yast2-nis-client.changes?rev=41476&r1=41475&r2=41476&view=diff
==============================================================================
--- trunk/nis-client/package/yast2-nis-client.changes (original)
+++ trunk/nis-client/package/yast2-nis-client.changes Fri Oct 19 11:18:19 2007
@@ -1,4 +1,10 @@
 -------------------------------------------------------------------
+Fri Oct 19 11:00:23 CEST 2007 - jsuchome@xxxxxxx
+
+- clear nscd cache instead of restarting nscd (#333305)
+- 2.16.0 
+
+-------------------------------------------------------------------
 Mon Aug 27 16:29:32 CEST 2007 - jsuchome@xxxxxxx
 
 - install nfs-client together with autofs (#304309)

Modified: trunk/nis-client/src/Nis.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/nis-client/src/Nis.ycp?rev=41476&r1=41475&r2=41476&view=diff
==============================================================================
--- trunk/nis-client/src/Nis.ycp (original)
+++ trunk/nis-client/src/Nis.ycp Fri Oct 19 11:18:19 2007
@@ -1034,9 +1034,11 @@
                SCR::Execute (.target.bash, "/sbin/SuSEconfig --module kdm3");
        }
 
-       // if the name service cache daemon is running, restart it
-       if (Service::Status("nscd") == 0) {
-           Service::Restart("nscd");
+       // remove nscd cache
+       if (Package::Installed ("nscd") && modified)
+       {
+           SCR::Execute (.target.bash, "/usr/sbin/nscd -i passwd");
+           SCR::Execute (.target.bash, "/usr/sbin/nscd -i group");
        }
 
        if (_autofs_allowed && touched)

Modified: trunk/nis-client/testsuite/tests/readwrite.out
URL: http://svn.opensuse.org/viewcvs/yast/trunk/nis-client/testsuite/tests/readwrite.out?rev=41476&r1=41475&r2=41476&view=diff
==============================================================================
--- trunk/nis-client/testsuite/tests/readwrite.out (original)
+++ trunk/nis-client/testsuite/tests/readwrite.out Fri Oct 19 11:18:19 2007
@@ -93,10 +93,6 @@
 Execute        .target.bash "/etc/init.d/portmap status" $["TERM":"raw"] 0
 Execute        .target.bash_output "/etc/init.d/ypbind start" $["TERM":"raw"] $["exit":0, "stderr":"", "stdout":"mydomain\n"]
 Execute        .target.bash "/usr/bin/ypwhich >/dev/null" 0
-Read   .init.scripts.exists "nscd" true
-Execute        .target.bash "/etc/init.d/nscd status" $["TERM":"raw"] 0
-Read   .init.scripts.exists "nscd" true
-Execute        .target.bash "/etc/init.d/nscd restart" $["TERM":"raw"] 0
 Read   .init.scripts.exists "SuSEfirewall2_init" true
 Execute        .target.bash "/etc/init.d/SuSEfirewall2_init status" $["TERM":"raw"] 0
 Return true
@@ -184,10 +180,6 @@
 Execute        .target.bash "/etc/init.d/portmap status" $["TERM":"raw"] 0
 Execute        .target.bash_output "/etc/init.d/ypbind start" $["TERM":"raw"] $["exit":0, "stderr":"", "stdout":"mydomain\n"]
 Execute        .target.bash "/usr/bin/ypwhich >/dev/null" 0
-Read   .init.scripts.exists "nscd" true
-Execute        .target.bash "/etc/init.d/nscd status" $["TERM":"raw"] 0
-Read   .init.scripts.exists "nscd" true
-Execute        .target.bash "/etc/init.d/nscd restart" $["TERM":"raw"] 0
 Read   .init.scripts.exists "autofs" true
 Execute        .target.bash "/etc/init.d/autofs stop" $["TERM":"raw"] 0
 Read   .init.scripts.exists "autofs" true

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages