Package: release.debian.org
Severity: normal
Tags: trixie
X-Debbugs-Cc: [email protected]
Control: affects -1 + src:ejabberd
User: [email protected]
Usertags: pu

[ Reason ]
Due to #1110149, installing ejabberd 24.12-3 on a host with apparmor installed
causes apparmor to fail starting up completely.
The proposed update removes the problematic conffile correctly.

[ Impact ]
Without this update, users have to fix or delete the file
/etc/apparmor.d/usr.sbin.ejabberdctl
manually.

[ Tests ]
I have verified the package on my own ejabberd server running Trixie.
Futhermore the same change has already transitioned from unstable to testing in
ejabberd 24.12-4.

[ Risks ]
The packaging change is trivial, the only risk I can think of is removal
of a manually fixed /etc/apparmor.d/usr.sbin.ejabberdctl, which I doubt
anyone has accomplished.

[ Checklist ]
  [x] *all* changes are documented in the d/changelog
  [x] I reviewed all changes and I approve them
  [x] attach debdiff against the package in (old)stable
  [x] the issue is verified as fixed in unstable

[ Changes ]
Add file 'debian/ejabberd.maintscript' with 'rm_conffile 
/etc/apparmor.d/usr.sbin.ejabberdctl'.

[ Other info ]
All my attempts with versioned removals in debian/ejabberd.maintscript
have failed, only the unversioned removal proved successful in my tests.
diff -Nru ejabberd-24.12/debian/changelog ejabberd-24.12/debian/changelog
--- ejabberd-24.12/debian/changelog     2025-03-30 15:24:44.000000000 +0200
+++ ejabberd-24.12/debian/changelog     2025-12-27 23:45:41.000000000 +0100
@@ -1,3 +1,10 @@
+ejabberd (24.12-3+deb13u1) trixie; urgency=medium
+
+  * Correctly remove no longer shipped conffile (apparmor profile)
+    (Closes: #1110149)
+
+ -- Philipp Huebner <[email protected]>  Sat, 27 Dec 2025 23:45:41 +0100
+
 ejabberd (24.12-3) unstable; urgency=medium
 
   [ Carles Pina i Estany ]
diff -Nru ejabberd-24.12/debian/ejabberd.maintscript 
ejabberd-24.12/debian/ejabberd.maintscript
--- ejabberd-24.12/debian/ejabberd.maintscript  1970-01-01 01:00:00.000000000 
+0100
+++ ejabberd-24.12/debian/ejabberd.maintscript  2025-12-27 23:45:41.000000000 
+0100
@@ -0,0 +1 @@
+rm_conffile /etc/apparmor.d/usr.sbin.ejabberdctl

Reply via email to