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

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


commit bdd5570b5f7077bd0c4a7c032b08741857f9d625
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.

 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 32aead9..8937e0b 100644
--- a/scsi-target-utils.spec
+++ b/scsi-target-utils.spec
@@ -4,7 +4,7 @@
 
 Name:           scsi-target-utils
 Version:        1.0.24
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        The SCSI target daemon and utility programs
 
 Group:          System Environment/Daemons
@@ -120,6 +120,9 @@ fi
 
 
 %changelog
+* Tue Feb 28 2012 Derek Higgins <derekh at redhat.com> - 1.0.24-2
+- Avoid a hang when starting the service with updated systemd
+
 * Wed Feb 1 2012 Andy Grover <agrover at redhat.com> - 1.0.24-1
 - New upstream release
 
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