Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by Dominic Hargreaves
Fri, 27 Nov 2026 17:10
Bug#1155558: trixie-pu: package anope/2.0.17-1+deb13u2
Author: Dominic Hargreaves
Date: Fri, 27 Nov 2026 17:10
Date: Fri, 27 Nov 2026 17:10
88 lines
4555 bytes
4555 bytes
This is a multi-part MIME message sent by reportbug.
--===============6178334922247076907==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Package: release.debian.org
Severity: normal
Tags: trixie
X-Debbugs-Cc: anope@packages.debian.org
Control: affects -1 + src:anope
User: release.debian.org@packages.debian.org
Usertags: pu
[ Reason ]
Core functionality (sending email for password resets) was broken
since 2.0.7-1 in 2020 (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1036857)
[ Impact ]
Users could not reset passwords.
[ Tests ]
The update has been tested on a production anope installation.
[ Risks ]
Safe change to apparmor profile, only extending permissions.
[ 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 ]
Allow anope to send email via common MTAs shipped with Debian
in its apparmor profile.
[ Other info ]
N/A
--===============6178334922247076907==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="anope_2.0.17-1+deb13u2.patch"
diff -Nru anope-2.0.17/debian/apparmor/usr.sbin.anope anope-2.0.17/debian/apparmor/usr.sbin.anope
--- anope-2.0.17/debian/apparmor/usr.sbin.anope 2026-11-22 15:40:50.000000000 +0000
+++ anope-2.0.17/debian/apparmor/usr.sbin.anope 2026-11-24 10:17:19.000000000 +0000
@@ -31,4 +31,19 @@
/usr/lib{,32,64}/** mr,
/usr/sbin/anope ixr,
+ # Sending mail: anope runs mail:sendmailpath via popen(), i.e.
+ # "/bin/sh -c <sendmailpath>".
+ /{usr/,}bin/{sh,dash,bash} ixr,
+
+ # The MTA's sendmail interface needs the MTA's own config and spool, so
+ # run it under its own profile if it has one, otherwise unconfined.
+ # AppArmor matches the symlink target, so list the common MTAs.
+ /usr/sbin/sendmail PUx, # postfix, nullmailer, sendmail, opensmtpd
+ /usr/sbin/exim4 PUx, # exim4 (/usr/sbin/sendmail -> exim4)
+ /usr/bin/msmtp PUx, # msmtp-mta
+ /usr/sbin/ssmtp PUx, # ssmtp
+ /usr/sbin/dma PUx, # dma
+
+ # Site-specific additions (e.g. a non-default sendmailpath).
+ include if exists <local/usr.sbin.anope>
}
diff -Nru anope-2.0.17/debian/changelog anope-2.0.17/debian/changelog
--- anope-2.0.17/debian/changelog 2026-11-22 15:40:50.000000000 +0000
+++ anope-2.0.17/debian/changelog 2026-11-27 16:45:03.000000000 +0000
@@ -1,3 +1,9 @@
+anope (2.0.17-1+deb13u2) trixie; urgency=medium
+
+ * Fix apparmor profile to permit sending mail (Closes: #1036857)
+
+ -- Dominic Hargreaves <dom@earth.li> Fri, 27 Nov 2026 16:45:03 +0000
+
anope (2.0.17-1+deb13u1) trixie-security; urgency=high
* Fix multiple security issues cherry-picked from 2.0.21 including
--===============6178334922247076907==--
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads