Article View: linux.debian.bugs.dist
Article #6450Bug#1155558: trixie-pu: package anope/2.0.17-1+deb13u2
From: 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==--
Technical Details
Message-ID:
<O47Cp-ev7i-3@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Dominic Hargreaves <dom@earth.li> Newsgroups: linux.debian.bugs.dist,linux.debian.devel.release Subject: Bug#1155558: trixie-pu: package anope/2.0.17-1+deb13u2 Date: Fri, 27 Nov 2026 18:10:01 +0100 Message-ID: <O47Cp-ev7i-3@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Fri Nov 27 17:03:09 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.451 Reply-To: Dominic Hargreaves <dom@earth.li>, 1155558@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: anope@packages.debian.org, debian-release@lists.debian.org X-Debian-Pr-Message: report 1155558 X-Debian-Pr-Package: release.debian.org X-Debian-Pr-Keywords: trixie Content-Type: multipart/mixed; boundary="===============6178334922247076907==" MIME-Version: 1.0 X-Mailer: reportbug 13.2.0 X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2005427 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 88 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Fri, 27 Nov 2026 17:01:40 +0000 X-Original-Message-ID: <179579890047.864197.11476246525801002397.reportbug@themisto.larted.org.uk>