Mailinglist Archive: yast-commit (396 mails)

< Previous Next >
[yast-commit] r65205 - in /trunk/iscsi-server: package/yast2-iscsi-server.changes src/IscsiServer.ycp
Author: fehr
Date: Thu Aug 4 14:13:02 2011
New Revision: 65205

URL: http://svn.opensuse.org/viewcvs/yast?rev=65205&view=rev
Log:
do not remove tgt package, just stop and disable tgtd service,
this way possible tgt config files do not get lost (bnc#706580)

Modified:
trunk/iscsi-server/package/yast2-iscsi-server.changes
trunk/iscsi-server/src/IscsiServer.ycp

Modified: trunk/iscsi-server/package/yast2-iscsi-server.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/iscsi-server/package/yast2-iscsi-server.changes?rev=65205&r1=65204&r2=65205&view=diff
==============================================================================
--- trunk/iscsi-server/package/yast2-iscsi-server.changes (original)
+++ trunk/iscsi-server/package/yast2-iscsi-server.changes Thu Aug 4 14:13:02
2011
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Thu Aug 4 14:11:23 CEST 2011 - fehr@xxxxxxx
+
+- do not remove tgt package, just stop and disable tgtd service,
+ this way possible tgt config files do not get lost (bnc#706580)
+
+-------------------------------------------------------------------
Thu Jun 30 13:37:59 CEST 2011 - fehr@xxxxxxx

- fix typos in translatable texts (bnc#703125)

Modified: trunk/iscsi-server/src/IscsiServer.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/iscsi-server/src/IscsiServer.ycp?rev=65205&r1=65204&r2=65205&view=diff
==============================================================================
--- trunk/iscsi-server/src/IscsiServer.ycp (original)
+++ trunk/iscsi-server/src/IscsiServer.ycp Thu Aug 4 14:13:02 2011
@@ -135,7 +135,9 @@
);

if (confirm){
- if (PackageSystem::PackageInstalled("tgt"))
PackageSystem::DoRemove(["tgt"]);
+ string service = "tgtd";
+ if (Service::Status(service)==0) Service::Stop(service);
+ Service::Disable(service);
PackageSystem::DoInstall(["iscsitarget"]);
if (PackageSystem::PackageInstalled("iscsitarget")) return true;
else return false;

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

< Previous Next >
This Thread
  • No further messages