• Bug#1067776: openrc: move files to /usr (DEP17) and revert unnecessary

    From Helmut Grohne@21:1/5 to All on Tue Mar 26 17:00:01 2024
    Package: openrc,libeinfo1,libeinfo1t64,librc1t64
    Version: 0.53-1.1
    Severity: serious
    Tags: patch
    User: helmutg@debian.org
    Usertags: dep17p1 dep17m2
    Control: affects -1 librc1

    Hi,

    I am sending you a patch for moving files to /usr for DEP17, because
    doing so requires mitigations due to time64 having renamed libraries. In particular, I verified that libeinfo did not actually break ABI.
    Therefore, I am proposing to revert the time64 transition for libeinfo.
    As a consequence of the reversion, we need fewer /usr-move mitigations.
    We still need the mitigation for librc though. I have set the severity
    of this bug to serious to prevent libeinfo1t64 from migrating to trixie.
    It should either be reverted before migration or it should not be
    reverted. If you disagree with the reversion, please lower the severity
    of this bug and I'll send a patch that extends the mitigation to
    libeinfo. That said, fewer library renames make upgrades less painful.

    I've tested the patch using piuparts and with a manual test case
    precisely triggering the DEP17 P1 file loss scenario:

    mmdebstrap trixie /dev/null --variant=apt --include librc-dev --customize-hook='echo "deb http://deb.debian.org/debian sid main" > "$1/etc/apt/sources.list.d/sid.list"' --chrooted-customize-hook="apt-get update" --customize-hook="upload librc1t64_0.53-1.
    2_amd64.deb /l.deb" --customize-hook="upload librc-dev_0.53-1.2_amd64.deb /d.deb" --chrooted-customize-hook="dpkg --auto-deconfigure --unpack /l.deb /d.deb; apt-get -y install /l.deb /d.deb" --chrooted-customize-hook="dpkg --verify"

    Do note that this patch must not be backported to bookworm-backports or earlier. If you intend to backport, you must revert both this patch and
    the time64 transition for your backport.

    I recommend uploading this sooner rather than later, because the
    reversion helps people who have not yet upgraded libeinfo to unstable.

    Helmut

    diff -Nru openrc-0.53/debian/changelog openrc-0.53/debian/changelog
    --- openrc-0.53/debian/changelog 2024-02-29 13:48:11.000000000 +0100
    +++ openrc-0.53/debian/changelog 2024-03-26 15:56:35.000000000 +0100
    @@ -1,3 +1,11 @@
    +openrc (0.53-1.2) UNRELEASED; urgency=medium
    +
    + * Non-maintainer upload.
    + * Revert unnecessary time64 transition for libeinfo
    + * Move files to /usr and mitigate file loss (DEP17) (Closes: #-1).
    +
    + -- Helmut Grohne <helmut@subdivi.de> Tue, 26 Mar 2024 15:56:35 +0100
    +
    openrc (0.53-1.1) unstable; urgency=medium

    * Non-maintainer upload.
    diff -Nru openrc-0.53/debian/control openrc-0.53/debian/control
    --- openrc-0.53/debian/control 2024-02-29 13:48:11.000000000 +0100
    +++ openrc-0.53/debian/control 2024-03-26 15:56:35.000000000 +0100
    @@ -47,7 +47,7 @@
    Package: librc1t64
    Provides: ${t64:Provides}
    Replaces: librc1
    -Breaks: librc1 (<< ${source:Version})
    +Conflicts: librc1 (<< ${source:Version})
    Architecture: any
    Section: libs
    Depends: ${misc:Depends},
    @@ -84,10 +84,10 @@
    .
    This package provides development files fo
  • From Debian Bug Tracking System@21:1/5 to All on Thu Mar 28 16:10:01 2024
    This is a multi-part message in MIME format...

    Your message dated Thu, 28 Mar 2024 15:00:12 +0000
    with message-id <E1rprEi-00Bjgd-MI@fasolo.debian.org>
    and subject line Bug#1067776: fixed in openrc 0.53-2
    has caused the Debian Bug report #1067776,
    regarding openrc: move files to /usr (DEP17) and revert unnecessary time64 transition
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    1067776: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1067776
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 26 Mar 2024 15:46:16 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-12.0 required=4.0 tests=BAYES_00,
    BODY_INCLUDES_PACKAGE,HAS_PACKAGE,SPF_HELO_NONE,SPF_NONE autolearn=ham
    autolearn_force=no version=3.4.6-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 53; hammy, 150; neutral, 322; spammy,
    0. spammytokens: hammytokens:0.000-+--UD:init.d, 0.000-+--initd,
    0.000-+--init.d, 0.000-+--trixie, 0.000-+--grohne
    Return-path: <helmut@subdivi.de>
    Received: from isilmar-4.linta.de ([136.243.71.142]:51258)
    by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
    (Exim 4.94.2)
    (envelope-from <helmut@subdivi.de>)
    id 1rp90B-009oMc-QT
    for submit@bugs.de