[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#865225: stretch-pu: package request-tracker4/4.4.1-3+deb9u2



Package: release.debian.org
Severity: normal
Tags: stretch
User: release.debian.org@packages.debian.org
Usertags: pu

I didn't manage to get the fix for #862426 sorted out for stretch
in time and this will cause annoying breakage for new installs.

It's possible that I will follow up with a fix for #848041 too, but
it's not clear what that is yet.

Debdiff attached.

Thanks,
Dominic.
diff --git a/debian/changelog b/debian/changelog
index a984a89..431eb9c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+request-tracker4 (4.4.1-3+deb9u2) UNRELEASED; urgency=medium
+
+  * Handle configuration permissions correctly following
+    RT_SiteConfig.d changes (Closes: #862426)
+
+ -- Dominic Hargreaves <dom@earth.li>  Tue, 20 Jun 2017 00:22:12 +0100
+
 request-tracker4 (4.4.1-3+deb9u1) stretch-security; urgency=high
 
   * Fix multiple security issues:
diff --git a/debian/postinst b/debian/postinst
index ab05f40..a6f9a56 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -100,8 +100,10 @@ run_dbconfig () {
 maybe_handle_permissions () {
     if [ "$HANDLE_PERMISSIONS" = "true" ]
     then
-        chown root:www-data /etc/request-tracker4/RT_SiteConfig.pm
-        chmod 640           /etc/request-tracker4/RT_SiteConfig.pm
+        for f in /etc/request-tracker4/RT_SiteConfig.d/50-debconf.pm \
+                 /etc/request-tracker4/RT_SiteConfig.d/51-dbconfig-common.pm; do
+            [ -f "$f" ] && chown root:www-data $f && chmod 640 $f
+        done
     fi
 }
 

Reply to: