[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#589716: marked as done (tgtd target will not start unless it's configured with "allow-in-use yes")



Your message dated Mon, 06 Sep 2010 08:32:21 +0000
with message-id <E1OsX7l-0001gL-4H@franck.debian.org>
and subject line Bug#589716: fixed in tgt 1:1.0.4-2
has caused the Debian Bug report #589716,
regarding tgtd target will not start unless it's configured with "allow-in-use yes"
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
589716: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=589716
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: tgt
Version: 1:1.0.4-1
Severity: important

"tgt-admin will not start a target unless we specify the "allow-in-use
yes" directive in the target declaration. It complains that the device
is in use, although I am positive it is not. Specifying "allow-in-use
yes" is not recommended, and doing so is not really satisfactory."

This appears to have been caused by a faulty system call which appears
to be corrected by the below patch.

Thanks,

Chris

--- tgt-1.0.4/scripts/tgt-admin 2010-04-29 01:16:34.000000000 -0500
+++ tgt-1.0.4/scripts/tgt-admin 2010-07-20 04:32:55.603760363 -0500
@@ -1166,7 +1166,7 @@
        # Check if userspace uses this device
        my $lsof_check = check_exe("lsof");
        if ($lsof_check ne 1) {
-               system("lsof $backing_store &>/dev/null");
+               system("lsof $backing_store > /dev/null 2>&1");
                my $exit_value  = $? >> 8;
                if ($exit_value eq 0) {
                        execute("# Device $backing_store is used (already tgtd target?).");





--- End Message ---
--- Begin Message ---
Source: tgt
Source-Version: 1:1.0.4-2

We believe that the bug you reported is fixed in the latest version of
tgt, which is due to be installed in the Debian FTP archive:

tgt_1.0.4-2.debian.tar.gz
  to main/t/tgt/tgt_1.0.4-2.debian.tar.gz
tgt_1.0.4-2.dsc
  to main/t/tgt/tgt_1.0.4-2.dsc
tgt_1.0.4-2_i386.deb
  to main/t/tgt/tgt_1.0.4-2_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 589716@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ben Hutchings <ben@decadent.org.uk> (supplier of updated tgt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 05 Sep 2010 22:13:52 +0100
Source: tgt
Binary: tgt
Architecture: i386 source
Version: 1:1.0.4-2
Distribution: unstable
Urgency: low
Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
Changed-By: Ben Hutchings <ben@decadent.org.uk>
Closes: 589716
Description: 
 tgt        - Linux SCSI target user-space tools
Changes: 
 tgt (1:1.0.4-2) unstable; urgency=low
 .
   * Fix bashism in tgt-admin, thanks to Chris Cheney (Closes: #589716)
Checksums-Sha1: 
 2a8d8c70bbaf9ec491144e07678e9c6c4a15ac63 1735 tgt_1.0.4-2.dsc
 52c98d2f42a84655b039974cfbef01483ce9a8f2 3963 tgt_1.0.4-2.debian.tar.gz
 d91ea26959e3920b4bcab4c9e8f95b2ba458887b 200004 tgt_1.0.4-2_i386.deb
Checksums-Sha256: 
 8a6320464a0d04eeb474881db980073edec1323fc433826f385dfd594a1bdff0 1735 tgt_1.0.4-2.dsc
 2d5256746e4013bdd6e286387a3bbcba9ba61fb80b2c2f304f32d44712f4c4c9 3963 tgt_1.0.4-2.debian.tar.gz
 aa8e895cb32961250b2e34a9ca4531b6914f9af4e2d6178a6a5db32e6351bb89 200004 tgt_1.0.4-2_i386.deb
Files: 
 5ae12ccb4204c35666f179439bea9ce3 1735 net optional tgt_1.0.4-2.dsc
 463a19bb0002399ec5fac0e2c8cd4fb8 3963 net optional tgt_1.0.4-2.debian.tar.gz
 3f781054861cad76e46712000b93e268 200004 net optional tgt_1.0.4-2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIVAwUBTIQMaue/yOyVhhEJAQoCyQ/9HMTLWrgZvc2E42HTRUzQhAChOxzUUJ3u
VlJ+X0MunBZsyHEJRCMcgO9nwoo1M6YsNN6zYhcPMnZNPg531z5jSjzG5nzz1eAX
W4AZr2OBRtFO7lOR43aWXQAKNrS73XBl3COKozyZB+z531FG1i/i764z4xyah++l
EiV5drmFv7N4t7lThzt2oIV4pcMmC64mNdh5jCxwFQ3sXAKdlOo2FwWNyDfZ6wC9
HpiNXOvEZXnEFbM7WlWbULpk3c/uleFhnkBCWy1cjzKrygSwgNG325MtdIaTPJoC
pbx2i1bRN3zxg4y6Ray9obgfB69FVSaN0G2FvpJVJGKhFZ6MGgp+aoTKHDoZAsEv
YkZR8TJ/bEjtbWQ/YnQU+dKXjBP/qnrBZqJ4S8+2jeN2ZaMgQ5PSqFDA2AHcq5uf
YRYA0BGqk+Lhi45XCJuLD6yj9+1N3WMHcVCl28mMHlofXD3xYSLvDUSw4Gl92TvP
SXf7iENbDXnYFn4F1UmB+xMIf1FhwYwzEjlXefKgGA7dQkU7Tb7vMsPO/c1QdBjb
ugW2L1UvKXN4Yeom1NKS5gsEelzFcVhfDzk7/GQCR9nTNsRVZIvtgvquN5r2pVfN
bQ5Q8SbeoyTQfA0ojra0w5pLwZAVtxLupjAeaFMcgnNLXZAeR5VTLhnD3bRrDSxA
/+iAPPP7CUk=
=al5F
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: