Your message dated Thu, 11 Feb 2016 12:21:42 +0000
with message-id <[email protected]>
and subject line Bug#810276: fixed in open-iscsi 2.0.873+git0.3b4b4500-13
has caused the Debian Bug report #810276,
regarding files with the same name installed in / and /usr
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 [email protected]
immediately.)


-- 
810276: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810276
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: open-iscsi
Version: 2.0.873+git0.3b4b4500-12
Severity: normal
Tags: patch
Usertags: usrmerge
Tags: patch

The package installs a symbolic link to a file with the same name in
both /sbin/ and /usr/sbin/, so it makes impossible to convert a system
to the everything-in-usr directories scheme.

The attached patch solves this problem by creating the link in postinst
and only if it is needed.

If you do not believe that these symlinks are actually in use by modern
software then please consider just removing them.

For more information about merged /usr please read
https://wiki.debian.org/UsrMerge .

-- 
ciao,
Marco
diff -urpN a/debian/changelog b/debian/changelog
--- a/debian/changelog	2015-10-21 11:49:30.000000000 +0200
+++ b/debian/changelog	2016-01-07 22:31:26.000000000 +0100
@@ -1,3 +1,11 @@
+open-iscsi (2.0.873+git0.3b4b4500-12.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Create in postinst the /sbin/iscsi* compatibility symlinks.
+    This is needed to support merged /usr systems. (Closes: #)
+
+ -- Marco d'Itri <[email protected]>  Thu, 07 Jan 2016 22:29:19 +0100
+
 open-iscsi (2.0.873+git0.3b4b4500-12) unstable; urgency=low
 
   [ Christian Perrier ]
diff -urpN a/debian/open-iscsi.links b/debian/open-iscsi.links
--- a/debian/open-iscsi.links	2015-10-21 11:49:30.000000000 +0200
+++ b/debian/open-iscsi.links	2016-01-07 22:29:14.000000000 +0100
@@ -1,5 +1 @@
 sbin/iscsiadm usr/bin/iscsiadm
-sbin/iscsid usr/sbin/iscsid
-sbin/iscsistart usr/sbin/iscsistart
-sbin/iscsi_discovery usr/sbin/iscsi_discovery
-sbin/iscsi-iname usr/sbin/iscsi-iname
diff -urpN a/debian/open-iscsi.postinst b/debian/open-iscsi.postinst
--- a/debian/open-iscsi.postinst	2015-10-21 11:49:30.000000000 +0200
+++ b/debian/open-iscsi.postinst	2016-01-07 22:35:25.000000000 +0100
@@ -61,6 +61,13 @@ case "$1" in
 	    fi
 	fi
 
+	# Compatibility symlinks
+	for file in iscsid iscsi_discovery iscsi-iname iscsistart; do
+		if [ ! -e /usr/sbin/$file ]; then
+			ln -s /sbin/$file /usr/sbin/$file
+		fi
+	done
+
 	# Obsolete: only open-iscsi 1.0, never even shipped with any
 	# stable Debian release. But postinst up to Jessie still
 	# created this directory, so keep this until at least Stretch.
diff -urpN a/debian/open-iscsi.postrm b/debian/open-iscsi.postrm
--- a/debian/open-iscsi.postrm	2015-10-21 11:49:30.000000000 +0200
+++ b/debian/open-iscsi.postrm	2016-01-07 22:37:24.000000000 +0100
@@ -10,7 +10,15 @@ case "$1" in
         fi
     ;;
 
-    remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+    remove)
+	for file in iscsid iscsi_discovery iscsi-iname iscsistart; do
+		if [ -L /usr/sbin/$file ]; then
+			rm /usr/sbin/$file
+		fi
+	done
+    ;;
+
+    upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
     ;;
 
     *)

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: open-iscsi
Source-Version: 2.0.873+git0.3b4b4500-13

We believe that the bug you reported is fixed in the latest version of
open-iscsi, which is due to be installed in the Debian FTP archive.

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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christian Seiler <[email protected]> (supplier of updated open-iscsi 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 [email protected])


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

Format: 1.8
Date: Thu, 11 Feb 2016 16:35:07 +0530
Source: open-iscsi
Binary: open-iscsi open-iscsi-udeb
Architecture: source amd64
Version: 2.0.873+git0.3b4b4500-13
Distribution: unstable
Urgency: medium
Maintainer: Debian iSCSI Maintainers 
<[email protected]>
Changed-By: Christian Seiler <[email protected]>
Description:
 open-iscsi - iSCSI initiator tools
 open-iscsi-udeb - Configure iSCSI (udeb)
Closes: 804162 804591 809320 810276 810696 810702
Changes:
 open-iscsi (2.0.873+git0.3b4b4500-13) unstable; urgency=medium
 .
   [ Christian Seiler ]
   * [d95ccde] initramfs: fix initramfs creation bug
     (too many symbolic links)
   * [f6246a8] Use triggers instead of update-initramfs
   * [16283ac] Unconditionally add iSCSI to initramfs images
   * [5cf584f] Support RFC 4173 root=iscsi:... format (Closes: #804162)
   * [b12b4b9] Make sure initiatorname.iscsi isn't an obsolete conffile.
   * [06ce1d3] Don't consider iscsiadm exit code 15 to be an error
     (Partial-Fix-For: #809320)
   * [481cedd] Support network autoconfiguration if iscsi_auto is used
     (Closes: #804591)
   * [3b3fa00] Record network device that was configured for iSCSI
   * [508fcba] Handle the default route for iscsi_auto
   * [64b0f31] Fix handling of multiple kept sessions on shutdown
     (Closes: #809320)
   * [df7259e] Fix FTBR on armhf (reproducible builds)
 .
   [ Marco d'Itri ]
   * [d32c7c6] Create in postinst the /sbin/iscsi* compatibility symlinks.
     (Closes: #810276)
 .
   [ Martin Pitt ]
   * [db49787] Migrate from /var/run /run and from /var/lock to /run/lock.
     (Closes: #810696)
   * [1bca41d] Generate initiator name on install, not first boot.
     (Closes: #810702) (LP: #1057635)
Checksums-Sha1:
 b927fa6bb78620b312b4dc0a7c0bdbdc2db442d8 2326 
open-iscsi_2.0.873+git0.3b4b4500-13.dsc
 7966c2d934314f998f4187ea936da8838c651451 46028 
open-iscsi_2.0.873+git0.3b4b4500-13.debian.tar.xz
 c6887d751aa1a2822098e5e1c2b8e9a37490a636 1808052 
open-iscsi-dbgsym_2.0.873+git0.3b4b4500-13_amd64.deb
 f561cffbbad5f1f80aa9706189e50d1288a22d3a 319398 
open-iscsi-udeb_2.0.873+git0.3b4b4500-13_amd64.udeb
 ba057fbb95aed380e65a40c465a46ccd1ee771ff 338008 
open-iscsi_2.0.873+git0.3b4b4500-13_amd64.deb
Checksums-Sha256:
 5af1af9861bd4b66edd1ebae7981f055c0296b509d4792d8120eb4cf83057610 2326 
open-iscsi_2.0.873+git0.3b4b4500-13.dsc
 0036d85968fc0da56098097b7b12dc840ec842c249a1f98b622b06cdf2782ed0 46028 
open-iscsi_2.0.873+git0.3b4b4500-13.debian.tar.xz
 e358f847bc4b326644137e76dc82a6a26d6d5316fa2d903319ccc6d072276070 1808052 
open-iscsi-dbgsym_2.0.873+git0.3b4b4500-13_amd64.deb
 27c5c464e0e298ecb769d6df050e375d28ad6c2bb93a8b99b2a4cf592e6b98a2 319398 
open-iscsi-udeb_2.0.873+git0.3b4b4500-13_amd64.udeb
 9c49016e8ed123cf19f0133c72e201890b72332944b944d7722975d1ed61b03e 338008 
open-iscsi_2.0.873+git0.3b4b4500-13_amd64.deb
Files:
 d5184db0d104c72879f10a26d610a688 2326 net optional 
open-iscsi_2.0.873+git0.3b4b4500-13.dsc
 a69ca2199452cfa503e8760670faf173 46028 net optional 
open-iscsi_2.0.873+git0.3b4b4500-13.debian.tar.xz
 11667b840e65d3fe0e334d8f17b20061 1808052 debug extra 
open-iscsi-dbgsym_2.0.873+git0.3b4b4500-13_amd64.deb
 5e7fea5a05ef6a65b20708b7477a73ea 319398 debian-installer optional 
open-iscsi-udeb_2.0.873+git0.3b4b4500-13_amd64.udeb
 b3bb4f2d134d35be32f9529c9a04cedd 338008 net optional 
open-iscsi_2.0.873+git0.3b4b4500-13_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJWvHoFAAoJEKY6WKPy4XVpzUcP/jucnI77CgDs75PNn2G4zotn
cL4Xl4BLM9GEAhtx6GU/K0gHBfp1ISFa++st1AjrF5aTnp7GyACU5TrdNeZe7C4B
DXH5FmpWkeng2ArXg752FR0RFsfWUATW4k9YIrD5XcOTeUnPnelCX5Htvw9qc9Ex
8brRGNp9GEOnV9DVJpWUOk5E51gfig9+uNPGfl8oxnehl1epOylJ+66vN3LBfSx6
LakAS1ruQsa4MtYKxVqt+Y+zW/b+CYcvRvv5R0G3mPW3KsZqTWTm4ucoifBiYg1A
ky9yeG02EahN1uRcUsiN5/Rn4NOIxDCujJKTf8j253pJ2Wlhu3idc22xXnfZm3xJ
lUSpKdUlETQsGYhGCHLJvtJ7KFNQdn+kf4XwznskpyMWs0AAFUJKHsAShINuwU7+
4m17pjy5z++fmu7etDcOIb5EGUzNwJiZlMjuiD9bbd4/pGcckXb2OR1zBAFd+Et5
eVhmdZcE00Fxi/67gNgM+IKo+iL41cNNUl56tWERZKYeb3zHSOA3KI9++ik4S6Bi
EZYBxceVSRU0BmTYzXe+dm1d5DIgFO41K+FFh7z6xxLFuhKLsSshxLrm0E5cZT0E
YzM7fABVrP/ItijNmY8pwuaTvfT5589AaShBmW0BWm+/l1eI2Cqr2HWHs5YYeFw2
Bjp0ewTrBMwfwKltJJ0r
=yPIS
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to