• Bug#1109085: unblock: bsd-mailx/8.1.2-0.20220412cvs-1.1 (pre-approval)

    From Andrew Bower@21:1/5 to All on Fri Jul 11 07:50:02 2025
    XPost: linux.debian.devel.release

    --sk4xtibb34mX8H37
    Content-Type: text/plain; charset=us-ascii
    Content-Disposition: inline

    Package: release.debian.org
    Severity: normal
    X-Debbugs-Cc: [email protected]
    Control: affects -1 + src:bsd-mailx
    User: [email protected]
    Usertags: unblock

    Please unblock package bsd-mailx

    [ Reason ]
    Allow through to trixie a simple fix to missing behaviour in bsd-mailx (let the TMPDIR override the hard-coded selection of /tmp) that has 'severe' impact on other packages such as chkroot run by logcheck needing to send security alerts with a read-only /tmp (#1108377).

    [ Impact ]
    This fixes RC bug #1108377 so if this fix is not unblocked, bsd-mailx will be removed from trixie and the 20 packages listing it as their first default MUA will become RC-buggy.

    Alternatively, if this bug is waived for trixie, then other system services that have been hardened with an unusable /tmp, like chkrootkit when launched by logcheck under systemd, will fail to send potentially critical e-mails to the administrator when bsd-mailx is the default /usr/bin/mail.

    [ Tests ]
    I ran manual checks that the mail command performed or failed to perform as expected with different or no values for TMPDIR with or without the patch.

    The member of the pkg-security team who handled the bug report when it landed on 'chkrootkit' reproduced the submitter's failing case and verified that this fix to bsd-mailx solves the originally-reported problem.

    [ Risks ]
    By inspection, this is a very low risk two-line change.

    There could be unintended consequences if another tool or test relied upon the broken original behaviour. This seems sufficiently unlikely that we are better off handling this if it happens than accepting the impact above.

    [ 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 testing

    [ Other info ]
    This package is currently awaiting sponsorship so this is initially a pre-approval request; I will retitle accordingly if this package gets uploaded before any unblock is granted.

    - Relevant bug report #1108377 (originally against chkrootkit, moved to
    bsd-mailx): https://bugs.debian.org/1108377
    - Request for sponsorship for fixed package: https://bugs.debian.org/1109081

    unblock bsd-mailx/8.1.2-0.20220412cvs-1.1


    --sk4xtibb34mX8H37
    Content-Type: text/plain; charset=us-ascii
    Content-Disposition: attachment;
    filename="bsd-mailx_8.1.2-0.20220412cvs-1.1.debdiff" Content-Transfer-Encoding: quoted-printable

    diff -Nru bsd-mailx-8.1.2-0.20220412cvs/debian/changelog bsd-mailx-8.1.2-0.20220412cvs/debian/changelog
    --- bsd-mailx-8.1.2-0.20220412cvs/debian/changelog 2022-04-14 20:52:05.000000000 +0100
    +++ bsd-mailx-8.1.2-0.20220412cvs/debian/changelog 2025-07-09 23:03:16.000000000 +0100
    @@ -1,3 +1,11 @@
    +bsd-mailx (8.1.2-0.20220412cvs-1.1) unstable; urgency=medium
    +
    + * Non-maintainer upload.
    + * Patch to honour TMPDIR. (Closes: #1108377)
    + Thanks: Richard Lewis, Holger Levsen.
    +
    + -- Andrew Bower <[email protected]> Wed, 09 Jul 2025 23:03:16 +0100
    +
    bsd-mailx (8.1.2-0.20220412cvs-1) unstable; urgency=low

    [ Debian Janitor ]
    diff -Nru bsd-mailx-8.1.2-0.20220412cvs/debian/patches/36-Honour-TMPDIR.patch bsd-mailx-8.1.2-0.20220412cvs/debian/patches/36-Honour-TMPDIR.patch
    --- bsd-mailx-8.1.2-0.20220412cvs/debian/patches/36-Honour-TMPDIR.patch 1970-01-01 01:00:00.000000000 +0100
    +++ bsd-mailx-8.1.2-0.20220412cvs/debian/patches/36-Honour-TMPDIR.patch 2025-07-09 23:03:16.000000000 +0100
    @@ -0,0 +1,26 @@
    +From: Andrew Bower <[email protected]>
    +Date: Wed, 9 Jul 2025 22:28:37 +0100
    +Bug-Debian: https://
  • From Andrew Bower@21:1/5 to Andrew Bower on Sat Jul 12 02:30:01 2025
    XPost: linux.debian.devel.release

    Hi Release Team,

    On Fri, Jul 11, 2025 at 06:44:29AM +0100, Andrew Bower wrote:
    [ Other info ]
    This package is currently awaiting sponsorship so this is initially a pre-approval request; I will retitle accordingly if this package gets uploaded
    before any unblock is granted.

    To keep you up to date: this fix now has a prospective sponsor who would
    like the pre-approval request to be granted before uploading to unstable
    so this request will remain as a pre-approval.

    Thanks!

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)