Hello community,

here is the log from the commit of package tgt for openSUSE:Factory checked in 
at 2015-06-30 10:16:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tgt (Old)
 and      /work/SRC/openSUSE:Factory/.tgt.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tgt"

Changes:
--------
--- /work/SRC/openSUSE:Factory/tgt/tgt.changes  2014-09-06 12:18:10.000000000 
+0200
+++ /work/SRC/openSUSE:Factory/.tgt.new/tgt.changes     2015-06-30 
10:16:48.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Jun 26 06:14:44 UTC 2015 - bwiedem...@suse.com
+
+- fix tgtd start by giving tgtd time to open the socket (bnc#934642)
+  and use bash to run multiple programs in ExecStartPost
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ tgt.spec ++++++
--- /var/tmp/diff_new_pack.9GcDck/_old  2015-06-30 10:16:48.000000000 +0200
+++ /var/tmp/diff_new_pack.9GcDck/_new  2015-06-30 10:16:48.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package tgt
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -70,7 +70,7 @@
 
 %install
 %{__make} DESTDIR=%{buildroot} docdir=%_docdir/%{name} install
-install -vD -m 755 %{S:1} %{buildroot}/%{_unitdir}/%{name}d.service
+install -vD -m 644 %{S:1} %{buildroot}/%{_unitdir}/%{name}d.service
 install -vD %{S:3} %{buildroot}/etc/sysconfig/SuSEfirewall2.d/services/tgt
 ln -sf service %{buildroot}/usr/sbin/rc%{name}
 

++++++ tgtd.service ++++++
--- /var/tmp/diff_new_pack.9GcDck/_old  2015-06-30 10:16:48.000000000 +0200
+++ /var/tmp/diff_new_pack.9GcDck/_new  2015-06-30 10:16:48.000000000 +0200
@@ -6,7 +6,7 @@
 Type=forking
 User=root
 ExecStart=/usr/sbin/tgtd
-ExecStartPost=/usr/sbin/tgtadm --op update --mode sys --name State -v offline 
; /usr/sbin/tgt-admin -e -c /etc/tgt/targets.conf ; /usr/sbin/tgtadm --op 
update --mode sys --name State -v ready
+ExecStartPost=/bin/bash -c "sleep 0.5 ; /usr/sbin/tgtadm --op update --mode 
sys --name State -v offline ; /usr/sbin/tgt-admin -e -c /etc/tgt/targets.conf ; 
/usr/sbin/tgtadm --op update --mode sys --name State -v ready"
 ExecStopPre=/usr/sbin/tgt-admin --update ALL -c /dev/null
 ExecStop=-/usr/sbin/tgtadm --op delete --mode system 
 


Reply via email to