--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
Dear release team,
Please unblock package util-linux, it simply ships a directory instead
of creating it postinst (and its RC-buggy friend: removing the directory
in postrm, causing this directory to vanish while purging another
architecture's libuuid1 in M-A environment, as explained in #694898).
This directory should be empty anyway, so will be properly removed in
the unlikely event of libuuid1 (priority=required) being totally
uninstalled.
Please find attached the trivial debdiff.
unblock util-linux/2.20.1-5.3
Thanks in advance,
Regards
David
-- System Information:
Debian Release: 7.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (100, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.6-trunk-amd64 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
reverted:
--- util-linux-2.20.1/debian/libuuid1.postrm
+++ util-linux-2.20.1.orig/debian/libuuid1.postrm
@@ -1,10 +0,0 @@
-#!/bin/sh
-set -e
-if [ "$1" = purge ]
-then
- rm -rf /var/lib/libuuid
-fi
-
-#DEBHELPER#
-
-exit 0
diff -u util-linux-2.20.1/debian/changelog util-linux-2.20.1/debian/changelog
--- util-linux-2.20.1/debian/changelog
+++ util-linux-2.20.1/debian/changelog
@@ -1,3 +1,11 @@
+util-linux (2.20.1-5.3) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Ship the /var/lib/libuuid/ directory in the package instead of creating it
+ in postinst. Closes: #694898
+
+ -- David Prévot <taffit@debian.org> Sun, 09 Dec 2012 12:46:41 -0400
+
util-linux (2.20.1-5.2) unstable; urgency=low
* Non-maintainer upload.
diff -u util-linux-2.20.1/debian/libuuid1.postinst util-linux-2.20.1/debian/libuuid1.postinst
--- util-linux-2.20.1/debian/libuuid1.postinst
+++ util-linux-2.20.1/debian/libuuid1.postinst
@@ -31,7 +31,6 @@
useradd -d /var/lib/libuuid -K UID_MIN=$FIRST_SYSTEM_UID -K UID_MAX=$LAST_SYSTEM_UID -g libuuid libuuid
fi
-mkdir -p /var/lib/libuuid
chown libuuid:libuuid /var/lib/libuuid
chmod 2775 /var/lib/libuuid
only in patch2:
unchanged:
--- util-linux-2.20.1.orig/debian/libuuid1.dirs
+++ util-linux-2.20.1/debian/libuuid1.dirs
@@ -0,0 +1 @@
+var/lib/libuuid
--- End Message ---
--- Begin Message ---
On Fri, 2012-12-21 at 12:55 +0100, Cyril Brulebois wrote:
> David Prévot <taffit@debian.org> (18/12/2012):
> > Please unblock package util-linux, it simply ships a directory
> > instead of creating it postinst (and its RC-buggy friend: removing
> > the directory in postrm, causing this directory to vanish while
> > purging another architecture's libuuid1 in M-A environment, as
> > explained in #694898).
>
> thanks. No objection on the d-i side. (Would kill one row of the udeb
> testing summary page, so happy to see that one go into rc1.)
Unblocked; thanks.
Regards,
Adam
--- End Message ---