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


Groups > linux.debian.kernel > #90953

Bug#1125948: dracut: fails to detect 3cpio

From Santiago Vila <sanvila@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1125948: dracut: fails to detect 3cpio
Date 2026-01-24 19:30 +0100
Message-ID <MgQyt-d2uV-13@gated-at.bofh.it> (permalink)
References (4 earlier) <MgMEx-cZWh-1@gated-at.bofh.it> <MgOQ1-d1if-5@gated-at.bofh.it> <MgP9n-d1r8-5@gated-at.bofh.it> <MeWeZ-bHrV-1@gated-at.bofh.it> <MgP9n-d1r8-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


On Sat, Jan 24, 2026 at 05:48:53PM +0100, Benjamin Drung wrote:

Note: My simple "cat" change did not solve the problem.

> > But I can't see any special thing in the logs (are they redirected somewhere?)
> 
> Does this really fail? help_output=$(3cpio --help) will always read the
> full output and therefore 3cpio should not fail with broken pipe. So I
> would expect this patch to be a workaround as side effect.

You are right.

The failure rate was extremely low, maybe I mixed some build logs from
the previous run.

Now I've tested it again and the failure rate is effectively zero.

> Thanks. That confirms my suspicion. grep terminates and 3cpio cannot
> write to the pipe any more. Instead of happily quitting, it throws an
> error message and exits with code 1. I'll fix 3cpio to handle the broken
> pipe case better.

Great. If you do that please retitle #1126301 to something more
suitable (I believed 3cpio was innocent but after knowing that Rust
treats pipes differently I agree that the bug make sense).

Thanks.

Back to linux.debian.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Bug#1125948: dracut: Missing dependency on cpio (?) Benjamin Drung <bdrung@debian.org> - 2026-01-23 21:50 +0100
  Bug#1125948: dracut: fails to detect 3cpio Santiago Vila <sanvila@debian.org> - 2026-01-24 14:30 +0100
    Bug#1125948: dracut: fails to detect 3cpio Benjamin Drung <bdrung@debian.org> - 2026-01-24 15:20 +0100
      Bug#1125948: dracut: fails to detect 3cpio Santiago Vila <sanvila@debian.org> - 2026-01-24 17:40 +0100
        Bug#1125948: dracut: fails to detect 3cpio Santiago Vila <sanvila@debian.org> - 2026-01-24 19:30 +0100

csiph-web