[scsi-target-utils/f16] fix hang with newer systemd (bug #797913)

Pádraig Brady pbrady at fedoraproject.org
Fri Mar 2 02:18:38 UTC 2012


commit 768f6dc6d71756ad1bf8853062b551ffc5613284
Author: Derek Higgins <derekh at redhat.com>
Date:   Tue Feb 28 16:50:01 2012 +0000

    fix hang with newer systemd (bug #797913)
    
    systemd will hang for 5 minutes waiting for
    this nonexistent pid file and then fail.
    
    Conflicts:
    
    	scsi-target-utils.spec

 scsi-target-utils.spec |    5 ++++-
 tgtd.init              |    2 --
 2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/scsi-target-utils.spec b/scsi-target-utils.spec
index 21ba93a..22c7b14 100644
--- a/scsi-target-utils.spec
+++ b/scsi-target-utils.spec
@@ -1,6 +1,6 @@
 Name:           scsi-target-utils
 Version:        1.0.18
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        The SCSI target daemon and utility programs
 
 Group:          System Environment/Daemons
@@ -100,6 +100,9 @@ fi
 
 
 %changelog
+* Tue Feb 28 2012 Derek Higgins <derekh at redhat.com> - 1.0.18-5
+- Avoid a hang when starting the service with updated systemd
+
 * Mon Dec 19 2011 Andy Grover <agrover at redhat.com> - 1.0.18-4
 - Refresh fix-segfault-on-exit patch to set iser_send_nop to 0
   if rdma libs are not present
diff --git a/tgtd.init b/tgtd.init
index 2a56775..1b89fa3 100755
--- a/tgtd.init
+++ b/tgtd.init
@@ -11,8 +11,6 @@
 ### END INIT INFO
 #
 #
-# pidfile: /var/run/tgtd.pid
-#
 # Source function library.
 . /etc/init.d/functions
 


More information about the scm-commits mailing list