Your message dated Thu, 07 Jan 2016 22:20:07 +0000
with message-id <[email protected]>
and subject line Bug#767926: fixed in xfsdump 3.1.6+nmu1
has caused the Debian Bug report #767926,
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.)


-- 
767926: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=767926
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: xfsdump
Version: 3.1.4
Severity: normal
Tags: patch
User: [email protected]
Usertags: usrmerge

The package installs a symbolic link and 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.

For more information about everything-in-usr please read
http://anonscm.debian.org/cgit/users/md/usrmerge.git/tree/debian/README.Debian

-- 
ciao,
Marco
diff -urNp xfsdump-3.1.4/debian/xfsdump.postinst xfsdump-3.1.4+nmu1/debian/xfsdump.postinst
--- xfsdump-3.1.4/debian/xfsdump.postinst	1970-01-01 01:00:00.000000000 +0100
+++ xfsdump-3.1.4+nmu1/debian/xfsdump.postinst	2014-11-02 15:54:11.088658085 +0100
@@ -0,0 +1,12 @@
+#!/bin/sh
+set -e
+
+if [ "$1" = 'configure' ]; then
+  for file in xfsdump xfsrestore; do
+    if [ ! -e /usr/sbin/$file ]; then
+      ln -s /sbin/$file /usr/sbin/$file
+    fi
+  done
+fi
+
+#DEBHELPER#
diff -urNp xfsdump-3.1.4/debian/xfsdump.postrm xfsdump-3.1.4+nmu1/debian/xfsdump.postrm
--- xfsdump-3.1.4/debian/xfsdump.postrm	1970-01-01 01:00:00.000000000 +0100
+++ xfsdump-3.1.4+nmu1/debian/xfsdump.postrm	2014-11-02 15:54:39.929162438 +0100
@@ -0,0 +1,12 @@
+#!/bin/sh
+set -e
+
+if [ "$1" = 'remove' ]; then
+  for file in xfsdump xfsrestore; do
+    if [ -L /usr/sbin/$file ]; then
+      rm /usr/sbin/$file
+    fi
+  done
+fi
+
+#DEBHELPER#
diff -urNp xfsdump-3.1.4/dump/Makefile xfsdump-3.1.4+nmu1/dump/Makefile
--- xfsdump-3.1.4/dump/Makefile	2012-09-18 07:26:37.000000000 +0200
+++ xfsdump-3.1.4+nmu1/dump/Makefile	2014-11-02 15:52:55.167330354 +0100
@@ -100,7 +100,6 @@ install: default
 	$(INSTALL) -m 755 -d $(PKG_ROOT_SBIN_DIR)
 	$(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_ROOT_SBIN_DIR)
 	$(INSTALL) -m 755 -d $(PKG_SBIN_DIR)
-	$(INSTALL) -S $(PKG_ROOT_SBIN_DIR)/$(LTCOMMAND) $(PKG_SBIN_DIR)/$(LTCOMMAND)
 install-dev:
 
 .dep: $(COMMINCL) $(COMMON) $(INVINCL) $(INVCOMMON)
diff -urNp xfsdump-3.1.4/restore/Makefile xfsdump-3.1.4+nmu1/restore/Makefile
--- xfsdump-3.1.4/restore/Makefile	2012-09-18 07:26:37.000000000 +0200
+++ xfsdump-3.1.4+nmu1/restore/Makefile	2014-11-02 15:52:19.930714103 +0100
@@ -110,7 +110,6 @@ install: default
 	$(INSTALL) -m 755 -d $(PKG_ROOT_SBIN_DIR)
 	$(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_ROOT_SBIN_DIR)
 	$(INSTALL) -m 755 -d $(PKG_SBIN_DIR)
-	$(INSTALL) -S $(PKG_ROOT_SBIN_DIR)/$(LTCOMMAND) $(PKG_SBIN_DIR)/$(LTCOMMAND)
 install-dev:
 
 .dep: $(COMMINCL) $(COMMON) $(INVINCL) $(INVCOMMON)

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: xfsdump
Source-Version: 3.1.6+nmu1

We believe that the bug you reported is fixed in the latest version of
xfsdump, 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.
Marco d'Itri <[email protected]> (supplier of updated xfsdump 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: SHA1

Format: 1.8
Date: Thu, 07 Jan 2016 22:44:28 +0100
Source: xfsdump
Binary: xfsdump
Architecture: source i386
Version: 3.1.6+nmu1
Distribution: unstable
Urgency: medium
Maintainer: Nathan Scott <[email protected]>
Changed-By: Marco d'Itri <[email protected]>
Description:
 xfsdump    - Administrative utilities for the XFS filesystem
Closes: 767926
Changes:
 xfsdump (3.1.6+nmu1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Create in postinst the xfsdump and xfsrestore compatibility symlinks.
     This is needed to support merged /usr systems (closes: #767926)
Checksums-Sha1:
 0396902ad23cd3b2fd883f8a2ad75af134abc9de 1431 xfsdump_3.1.6+nmu1.dsc
 d855739fc7058a4c00d1a3859438102a64ef03c9 865763 xfsdump_3.1.6+nmu1.tar.gz
 a8bfa88bc734b947b5e93b01404191bc5c67e450 497450 
xfsdump-dbgsym_3.1.6+nmu1_i386.deb
 b150feb15846210f0e57ae6aa4ccb2b9bd83f9c2 266812 xfsdump_3.1.6+nmu1_i386.deb
Checksums-Sha256:
 49fab36dea039989f7113c06bf55952acf81052bf93f791d9ceda31b1850c693 1431 
xfsdump_3.1.6+nmu1.dsc
 baf4984d18fea40e3c3df4b95ae0e5c75607cbc98a7515d087fb6461ee37e9e7 865763 
xfsdump_3.1.6+nmu1.tar.gz
 f4aed2f80c38dbf261ab69adc7b8455957e8f8b1f32b7c2cef777a56711b67f4 497450 
xfsdump-dbgsym_3.1.6+nmu1_i386.deb
 1979313c754736cab80d5334cca3c462290795536359bce0de59fecf7443ce75 266812 
xfsdump_3.1.6+nmu1_i386.deb
Files:
 181dabd93d88b136ad4d67e4f1511638 1431 admin optional xfsdump_3.1.6+nmu1.dsc
 21bc0a3fd93bdac9530fca93baf9daed 865763 admin optional 
xfsdump_3.1.6+nmu1.tar.gz
 737c08af5b6b79dd7617ac0ef43ca4d6 497450 debug extra 
xfsdump-dbgsym_3.1.6+nmu1_i386.deb
 c24660d9add1775a4ccb85e746ec5322 266812 admin optional 
xfsdump_3.1.6+nmu1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQGcBAEBAgAGBQJWjt7hAAoJECv1pcEixPekPWML/jITuKeHS9fIAMxy3LqevVAl
wrOmYqRXwBh2Mbf8dlVA81BDMBIzx6Z608K5PkIF6DDuARxNWc0AYAK9Y5Vd/LmR
mpUbjUB5HC1jcjqVdPry3JIUs1cyEMBXlMPGy2nr8OQbSvDhIoi/Ga/cm0CzJw3G
FkvRVMmVL1KxNbV1HJ0tuJJJEmSMOEdWpFZm1Qkgs5zsoS/81YZos9TSrZuUp3wC
RHVX1q6m6H3Wag4KGZyFwGB3VIn3zV2UBRwNOfPivYzfJiaxUfaonNdnIk4O4Hj7
6z8EijmtR9TiSDaF2OGk/w7qeJ0ZPS4U92mXLvjAfl+2iBreHciQ0CThpsXIuUtn
6dlfyqBOjNVxQercMGddeeZH0MWxyP9Wrt1kkmFcwdvZFoxuYhejOVhsIvIXL9mA
4WuuWMiBRuDiCSfTBBjCHQoclrLAJyePFmyCZ6NzZ4V1m2+j/Bt4gcVmvf154lSJ
OZXVoPDS6zU7XwyKRWelECReZdK/sXSuCoZL1wg26A==
=XVVl
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to