• Bug#1107194: [s390x] trixie's lsinitramfs fails on initramfs build on b

    From Ben Hutchings@1:229/2 to Paul Gevers on Tue Jun 3 01:10:01 2025
    XPost: linux.debian.bugs.dist
    From: ben@decadent.org.uk

    Control: tag -1 moreinfo

    On Mon, 2025-06-02 at 22:23 +0200, Paul Gevers wrote:
    Package: initramfs-tools-core
    Version: 0.147
    Severity: normal
    File: /usr/bin/lsinitramfs
    X-Debbugs-Cc: debian-s390@lists.debian.org
    User: debian-s390@lists.debian.org
    Usertags: s390x

    Hi,

    Two days ago, I upgraded the s390x ci.debian.net host from bookworm to trixie. The system was already running the kernel from backports, so
    the upgrade was mostly of the userland. That upgrade hasn't been a
    nice experience, because the system failed to boot afterwards. I was
    able to boot the previous kernel eventually, but while trying to
    figure out if the initramfs was somehow missing pieces I tried to run lsinitramfs on both the old (current) and new (failing) initramfs, but
    that failed on the old one:
    $ lsinitramfs /boot/initrd.img.old
    cpio: premature end of archive
    [...]

    Are you quite sure this is actually the old, working, initramfs? (What
    is that a xymlink to?)

    The current version of initramfs-tools (0.148.1) has a rewritten
    unmkinitramfs and an autopkgtest script for it. But the implementation
    in 0.147 also passes all test cases except those where all component
    archives are uncompressed, which is not something initramfs-tools ever generated.

    Does the new implementation of unmkinitramfs work any better on the
    working initramfs image?

    If not, can you upload the image somewhere for me to inspect?

    Ben.

    --
    Ben Hutchings
    The two most common things in the universe are hydrogen and stupidity.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAmg+JqwACgkQ57/I7JWG EQmVQRAApyTR0E8LGpZDOO6fvBkzKpcfPUwmSAiHpctjBvM45qBKXOnuDqva3x6i WJ7ZP3oz9FbxwIX9PXVf3Tp6DpXYOZMvBigy4HB12cSaiC9akgE+jmEQqv7HzsjW 28mjA52vhTVXsVFsOxYDsrtXTg6BR9wjJNilDIMiGy4TZr3pkFPVHCWiTKdWxE49 Xqxe5/7jpxuOIQ2DFoxB7T1cwdUopL4Eg2fBfT2RvdV1S4lV0GCAzS+JuNQIj0vS vkRgdMjBnEJWyf0bM/b0ZU7qk7i8pJd/VhcQzh/E+lbSUeP3kvjXqXFrfD7omE5u luLPr6agrhTxK3jfsOKeqYVhw3BAOGu8qvFcCOSHHJsvJ3HtfP82eklqkkuHNFxX OsSNR5MG+gx4+AS65o2OveoEMQ44+SoFiIdvu9E07bp0J9ULbBBsHdSVf5H7Qc2y l9nd+aOc/b8QgtR1PtRQBbAcPAROF850LzXraDQOO9NBtmfhbGy3FaptobeHvYpk T6N/cePDcUfjYRSjqAqpXOv7R+PvMmXhkQFueSEMR9uRphbBnNF4TbXVRG6dnDZT si8bsLkM3A/vs75UQWH1JT7Ei90pAjOZBc0jfEsldlPusrsr7VeR+/jxiQrAHzwQ WqNXLHP4azQ/AGs+m1DhdcW+OhE9elRAdwTVbWwPvOMsEIIVc2A=
    =AC7R
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you ha
  • From Ben Hutchings@1:229/2 to elbrus@debian.org on Mon Jun 9 17:30:01 2025
    XPost: linux.debian.bugs.dist
    From: ben@decadent.org.uk

    On Tue, 3 Jun 2025 18:44:21 +0200 Paul Gevers <elbrus@debian.org> wrote:
    Control: merge -1 1015954

    On 03-06-2025 08:03, Paul Gevers wrote:
    I could have sworn that I checked this, but is seems that
    lsinitramfs
    doesn't work on the symlink, but does work on the actual file.
    Interesting for initrd.img (the new one) it doesn't matter if I
    point at
    the symlink or the file.


    Seems like this is a duplicate of bug 1015954, which even has a patch
    and maybe is moot with the new version in stable.

    Right. Thanks for working that out.

    Ben.

    --
    Ben Hutchings
    It is a miracle that curiosity survives formal education.
    - Albert Einstein

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAmhG+1sACgkQ57/I7JWG EQkCdQ//b5oB0F5X60FiKNJoiFbw8ldY114tRNcHybY5QAL0NFdGPjzoWIn/xD8l U1Fb3G9cs70j41yRibsOKMYunlhaO6RUcwzEMeZ2z/LXIRzB08IejDBeIOsFHKot lDwygCJ7npK+bF4ElQNBkIJ3vCx0P36m52Zqs99scwVy5l4ZGsnVqIe4rOQMzDrk SE1eJPVJtP0cXHCrx6JMjf3scj/yn52zKZo+RZd1Y7+U0DzqWl6feGlnT75J4KUK WEjNuq3gk13vjCuSb1AerJ9UtPZfxVgmTrqnzo5tPXPKggZeuR3Oif3WHWgL0xAa jSeT0ariBX7SuOFZBxNlhPYl54O/G+or9soXN5ckbsCBiW5ZshXRisKovIePUxm9 pnTupzrnRKYQwtBsG+9Ope/6z3DpPC0E7geopI1w3sEBV+wIPwkjs+rNVOmgsi3C qVXjxKL42bROm/nXuqemg9NVy0w6BaqP3SmuyXO8Jl8kYnBoWuPMRFaDyKGQLSms XuOEIPbRq8OF3RuQ70nZxXCgoTSvmvL2JNbxMvo0DzJId499GzLWF2ryOvCYQMSk 5gHETxg8sXzhfmEwBKCSgmUU+9nq5mloeUcAsG8M/Z1i7ALJlMSQhTLB5oB38IiB 2PezGMV0UE3Xdrl+f7lLNpnFtxWvb+LbB7IFsK9u+1VuSRAfvRU=
    =0IM4
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32