severity 770628 critical
thanks

On Thu, Feb 12, 2015 at 12:33 PM, Debian Bug Tracking System
<ow...@bugs.debian.org> wrote:
>> # The previous severity bumps had no justification. Even if providing a 
>> working init-script would be valuable, the package in Wheezy (and before) 
>> didn't, so even if the severity is bumped again to RC, I’d advocate the RT 
>> to tag it jessie-ignore.
>> severity 770628 normal

Unfortunately, this does look like an RC bug as the issue with the
statoverride entry for the debian-deluged user will leave dpkg in a
broken state (makes unrelated software on the system (or the whole
system) break).

dpkg: unrecoverable fatal error, aborting:
 unknown user 'debian-deluged' in statoverride file
E: Sub-process /usr/bin/dpkg returned an error code (2)

I'm a bit embarrassed I let this in and didn't already fix it. I'll be
asking the release team to approve the attached patch.

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 7e0a74dfefadc2f37435200ffe99b3c574ea9e30 Mon Sep 17 00:00:00 2001
From: Andrew Starr-Bochicchio <a.star...@gmail.com>
Date: Sat, 14 Feb 2015 17:22:18 -0500
Subject: [PATCH] Fix permissions on /var/lib/deluged/config/ and properly 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..ae8c025 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/ and properly
+    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

Reply via email to