Package: release.debian.org Severity: normal User: release.debian....@packages.debian.org Usertags: unblock
Bug #770628 against deluged leaves the init script unusable, and more importantly leaves dpkg in a broken state when purging the package. I'd like to request pre-approval for the unblock request. + * Fix permissions on /var/lib/deluged/config/ in + deluged.postinst and properly remove all + dpkg-statoverrides in deluged.postrm (Closes: #770628). Proposed patch attached. Thanks! -- Andrew Starr-Bochicchio Ubuntu Developer <https://launchpad.net/~andrewsomething> Debian Developer <http://qa.debian.org/developer.php?login=asb> PGP/GPG Key ID: D53FDCB1
From 8541e8f2f4aa15296376b6d514b7acd774a1ed98 Mon Sep 17 00:00:00 2001 From: Andrew Starr-Bochicchio <a.star...@gmail.com> Date: Sat, 14 Feb 2015 17:35:08 -0500 Subject: [PATCH] Fix permissions on /var/lib/deluged/config/ in deluged.postinst and properly remove all dpkg-statoverrides in deluged.postrm (Closes: #770628). --- debian/changelog | 8 ++++++++ debian/deluged.postinst | 1 + debian/deluged.postrm | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 53df139..db06d73 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +deluge (1.3.10-3) UNRELEASED; urgency=medium + + * Fix permissions on /var/lib/deluged/config/ in + deluged.postinst and properly remove all + dpkg-statoverrides in deluged.postrm (Closes: #770628). + + -- Andrew Starr-Bochicchio <a...@debian.org> Sat, 14 Feb 2015 17:20:08 -0500 + deluge (1.3.10-2) unstable; urgency=high * debian/patches/disable_SSLv3_rpcserver.patch: diff --git a/debian/deluged.postinst b/debian/deluged.postinst index 8d4a061..cb6c9cf 100644 --- a/debian/deluged.postinst +++ b/debian/deluged.postinst @@ -18,6 +18,7 @@ case "$1" in add_override debian-deluged adm 2750 /var/log/deluged add_override debian-deluged debian-deluged 0750 /var/lib/deluged + add_override debian-deluged debian-deluged 0750 /var/lib/deluged/config ;; esac diff --git a/debian/deluged.postrm b/debian/deluged.postrm index ee3a561..7f28e49 100644 --- a/debian/deluged.postrm +++ b/debian/deluged.postrm @@ -16,7 +16,7 @@ case "$1" in rm -f /var/log/deluged/* rm -rf /var/lib/deluged/config/* - remove_overrides /var/log/deluged /var/lib/deluged/config + remove_overrides /var/log/deluged /var/lib/deluged /var/lib/deluged/config deluser --system --quiet debian-deluged >/dev/null || true delgroup --system --quiet debian-deluged >/dev/null || true -- 2.1.0