Package: sympa
Version: 6.1.11~dfsg-5
Severity: minor
Tags: patch

Hi,

Thanks for fixing #630384, the situation improved a lot. Unfortunately,
the find operation can still take a while, and it’s pretty disturbing to
get an upgrade stuck for 15 minutes without any relevant message.

May I again advise to do such sanity check in a monthly cronjob instead,
or at least display a warning on upgrade, trivial untested patch
attached for the latter.

Regards

David
From 0139b2f52319baa6888092b420a1c806b74a97fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Pr=C3=A9vot?= <[email protected]>
Date: Thu, 23 May 2013 23:26:03 -0400
Subject: [PATCH] Display a warning on upgrade

---
 debian/sympa.postinst |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/sympa.postinst b/debian/sympa.postinst
index bd31eb1..2d40c4d 100644
--- a/debian/sympa.postinst
+++ b/debian/sympa.postinst
@@ -299,6 +299,9 @@ if [ ! -d /var/spool/sympa/wwsarchive ]; then
 	sed -i -e "s;\([^#]*\)/var/spool/sympa/wwsarchive;\1/var/lib/sympa/wwsarchive;" "$wwconf"
 fi
 
+echo 'Ensuring that permissions and ownerships are right'
+echo 'This operation can take a while'
+
 # Ensure permissions and ownerships are right
 chown sympa:sympa "$conf" "$wwconf" /etc/sympa/topics.conf
 chmod 0640 "$conf" "$wwconf"
-- 
1.7.10.4

Attachment: signature.asc
Description: Digital signature

Reply via email to