[Piuparts-commits] [SCM] piuparts git repository branch, develop, updated. 0.49-82-g7e76d1d
Andreas Beckmann
anbe at debian.org
Sat Feb 23 10:48:32 UTC 2013
The following commit has been merged in the develop branch:
commit 1ad710ed86de7b25559685e593335a9a020b6bc6
Author: Andreas Beckmann <anbe at debian.org>
Date: Thu Feb 21 13:28:53 2013 +0100
new bug template: installs_over_existing_symlink
Signed-off-by: Andreas Beckmann <anbe at debian.org>
diff --git a/bug-templates/installs_over_existing_symlink.mail b/bug-templates/installs_over_existing_symlink.mail
new file mode 100644
index 0000000..1751355
--- /dev/null
+++ b/bug-templates/installs_over_existing_symlink.mail
@@ -0,0 +1,44 @@
+To: submit at bugs.debian.org
+Subject: directory vs. symlink conflict:
+
+Package:
+Version:
+Severity: serious
+User: debian-qa at lists.debian.org
+Usertags: piuparts
+
+Hi,
+
+during a test with piuparts I noticed your package installs files over
+an existing symlink shipped or created by another package.
+
+Your package ships:
+
+
+but package CONFLICTOR ships:
+
+
+Installing something over existing symlinks is considered bad practice.
+See e.g. http://lists.debian.org/87ehlevcrf.fsf@windlord.stanford.edu
+
+It may break in subtle ways and dpkg cannot detect this as a problem.
+* Your package might silently overwrite files installed at the symlink
+ destination by other packages.
+* If the package shipping the symlink decides to make the link point
+ somewhere else (or turn it into a real directory), the files owned
+ by your package "will be lost" somewhere in the filesystem.
+* Depending on installation order the problematic path will be created
+ either as a symlink or a directory: the package installed first will
+ "win" and all others have "lost".
+ Note that dpkg intentionally does not replace directories with
+ symlinks and vice versa, see in particular the end of point 4 in
+ http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#s-unpackphase
+ (Note: Adding Pre-Depends is *not* a solution.)
+
+Please move the files shipped in your package to the "real" location.
+
+From the attached log (usually somewhere in the middle...):
+
+
+
+cheers,
diff --git a/debian/changelog b/debian/changelog
index 5428557..f256187 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -57,6 +57,7 @@ piuparts (0.50) UNRELEASED; urgency=low
- Move statefile to slave-directory.
* master: Get rid of the monitor-slave directory.
* New bug template: unhandled_symlink_to_directory_conversion.
+ * New bug template: installs_over_existing_symlink.
-- Andreas Beckmann <debian at abeckmann.de> Tue, 15 Jan 2013 11:51:43 +0100
--
piuparts git repository
More information about the Piuparts-commits
mailing list