Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1188999 > unrolled thread

Bug#1065415: grub2: Work around possible failure in cpio_test

Started byChristoph Biedl <debian.axhn@manchmal.in-ulm.de>
First post2024-03-04 08:40 +0100
Last post2024-03-04 08:40 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.debian.bugs.dist


Contents

  Bug#1065415: grub2: Work around possible failure in cpio_test Christoph Biedl <debian.axhn@manchmal.in-ulm.de> - 2024-03-04 08:40 +0100

#1188999 — Bug#1065415: grub2: Work around possible failure in cpio_test

FromChristoph Biedl <debian.axhn@manchmal.in-ulm.de>
Date2024-03-04 08:40 +0100
SubjectBug#1065415: grub2: Work around possible failure in cpio_test
Message-ID<Ieb5v-ejtn-3@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Source: grub2
Version: 2.12-1
Severity: normal
Tags: patch

Dear Maintainer,

Hello,

while rebuilding grub, I encountered two issues from the test suite.
Perhaps I've already reported them but cannot find any traces of that.


One is, things go downhill in util/grub-shell if an environment
variable "debug" is set, but it seems this was fixed in newer versions
of grub (no longer found with 2.12-1, currently in testing).


Still open however: There is a limitation in cpio, it cannot deal with
an user ID above 2^21-1. If the build is done using a bigger ID, it
will just fail:

    FAIL: cpio_test
    ===============
    (...)
    cpio: ./: value uid 3123456 out of allowed range 0..2097151
    cpio: sdir/: value uid 3123456 out of allowed range 0..2097151
    cpio: sdir/2.img: value uid 3123456 out of allowed range 0..2097151
    (...)

Fix, as attached: Probe for that situation, and exit gracefully.

Another solution might be using fakeroot then.

Kind regards,

    Christoph

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

[toc] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web