Hello community,
here is the log from the commit of package yast2-ldap-client
checked in at Thu Nov 6 22:36:45 CET 2008.
--------
--- yast2-ldap-client/yast2-ldap-client.changes 2008-11-05 13:08:19.000000000 +0100
+++ /mounts/work_src_done/STABLE/yast2-ldap-client/yast2-ldap-client.changes 2008-11-06 16:30:13.589557000 +0100
@@ -1,0 +2,7 @@
+Thu Nov 6 16:21:31 CET 2008 - jsuchome@suse.cz
+
+- note services that should be restarted after installation
+ (bnc#395402)
+- 2.17.16
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
yast2-ldap-client-2.17.15.tar.bz2
New:
----
yast2-ldap-client-2.17.16.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-ldap-client.spec ++++++
--- /var/tmp/diff_new_pack.En1928/_old 2008-11-06 22:36:38.000000000 +0100
+++ /var/tmp/diff_new_pack.En1928/_new 2008-11-06 22:36:38.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-ldap-client (Version 2.17.15)
+# spec file for package yast2-ldap-client (Version 2.17.16)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -19,12 +19,12 @@
Name: yast2-ldap-client
-Version: 2.17.15
+Version: 2.17.16
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-ldap-client-2.17.15.tar.bz2
+Source0: yast2-ldap-client-2.17.16.tar.bz2
Prefix: /usr
BuildRequires: doxygen perl-XML-Writer update-desktop-files yast2 yast2-devtools yast2-network yast2-pam yast2-testsuite
PreReq: %fillup_prereq
@@ -54,7 +54,7 @@
Jiri Suchomel
%prep
-%setup -n yast2-ldap-client-2.17.15
+%setup -n yast2-ldap-client-2.17.16
%build
%{prefix}/bin/y2tool y2autoconf
@@ -94,6 +94,10 @@
%doc %{prefix}/share/doc/packages/yast2-ldap-client
/var/adm/fillup-templates/sysconfig.ldap
%changelog
+* Thu Nov 06 2008 jsuchome@suse.cz
+- note services that should be restarted after installation
+ (bnc#395402)
+- 2.17.16
* Wed Nov 05 2008 jsuchome@suse.cz
- button labels adapted to current style guide (bnc#440526)
- 2.17.15
++++++ yast2-ldap-client-2.17.15.tar.bz2 -> yast2-ldap-client-2.17.16.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ldap-client-2.17.15/src/Ldap.ycp new/yast2-ldap-client-2.17.16/src/Ldap.ycp
--- old/yast2-ldap-client-2.17.15/src/Ldap.ycp 2008-11-04 13:33:11.000000000 +0100
+++ new/yast2-ldap-client-2.17.16/src/Ldap.ycp 2008-11-06 16:19:31.000000000 +0100
@@ -15,6 +15,7 @@
import "Arch";
import "Autologin";
+ import "Directory";
import "FileUtils";
import "DNS";
import "Hostname";
@@ -2487,6 +2488,7 @@
{
SCR::Execute (.target.bash, "/usr/sbin/nscd -i passwd");
SCR::Execute (.target.bash, "/usr/sbin/nscd -i group");
+ Service::RunInitScript ("nscd", "try-restart");
}
if (Package::Installed ("zmd") && Service::Status("novell-zmd")== 0)
@@ -2513,6 +2515,23 @@
Service::Start ("autofs");
}
}
+ // after finish of 2nd stage, restart running services (bnc#395402)
+ if (start && Stage::cont ())
+ {
+ list<string> services = [];
+ foreach (string service, ["dbus", "haldaemon" ], {
+ if (Service::Status (service) == 0)
+ services = add (services, service);
+ });
+ if (size (services) > 0)
+ {
+ y2milestone ("services %1 will be restarted", services);
+ SCR::Write (.target.string,
+ Directory::vardir + "/restart_services",
+ mergestring (services, "\n") + "\n"
+ );
+ }
+ }
}
// -------------------- write settings to LDAP
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ldap-client-2.17.15/src/wizards.ycp new/yast2-ldap-client-2.17.16/src/wizards.ycp
--- old/yast2-ldap-client-2.17.15/src/wizards.ycp 2008-11-05 13:07:46.000000000 +0100
+++ new/yast2-ldap-client-2.17.16/src/wizards.ycp 2008-11-05 13:09:37.000000000 +0100
@@ -14,6 +14,7 @@
import "Sequencer";
import "Wizard";
import "Label";
+import "Stage";
include "ldap/ui.ycp";
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ldap-client-2.17.15/VERSION new/yast2-ldap-client-2.17.16/VERSION
--- old/yast2-ldap-client-2.17.15/VERSION 2008-11-05 13:07:36.000000000 +0100
+++ new/yast2-ldap-client-2.17.16/VERSION 2008-11-06 16:23:26.000000000 +0100
@@ -1 +1 @@
-2.17.15
+2.17.16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org