tag 731524 pending
thanks
Hello,
Bug #731524 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:
http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=ab56d08
---
commit ab56d08abe274182c0cab03425610ae61a074eff
Author: Guillem Jover <[email protected]>
Date: Fri Dec 6 21:33:41 2013 +0100
dpkg: Keep the diversions and statoverride database files open
The database files must be kept open during an entire dpkg run, because
we need to check if the files have changed, and rely on the inode number,
which could get eagerly reused by the filesystem if these files get
replaced multiple times in maintainer scripts.
Add a code comment explaining the rationale, so that this does not happen
again in the future.
This partially reverts commit 579b90b61b24a538cf1709d7ceda0b38fec631b3.
Closes: #731524
diff --git a/debian/changelog b/debian/changelog
index 2b17307..0a33276 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,10 @@
dpkg (1.17.4) UNRELEASED; urgency=low
- *
+ * Keep the diversions and statoverride database files open during dpkg
+ runs, to avoid eager inode number reuse by the filesystem if these files
+ get replaced multiple times in maintainer scripts, as we rely on the
+ inode numbers being different when checking if the databases need to
+ be reloaded. Regression introduced in 1.17.2. Closes: #731524
-- Guillem Jover <[email protected]> Thu, 05 Dec 2013 11:08:49 +0100
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]