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


Groups > linux.debian.kernel > #90946

Bug#1125948: dracut: fails to detect 3cpio

Path csiph.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Benjamin Drung <bdrung@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1125948: dracut: fails to detect 3cpio
Date Sat, 24 Jan 2026 15:20:01 +0100
Message-ID <MgMEx-cZWh-1@gated-at.bofh.it> (permalink)
References <MeWeZ-bHrV-1@gated-at.bofh.it> <Mgwgp-cLt3-5@gated-at.bofh.it> <MeWeZ-bHrV-1@gated-at.bofh.it> <MgLS9-cZoF-9@gated-at.bofh.it> <MeWeZ-bHrV-1@gated-at.bofh.it> <MgLS9-cZoF-9@gated-at.bofh.it>
X-Original-To Santiago Vila <sanvila@debian.org>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Sat Jan 24 14:19:08 2026
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -1.699
Reply-To Benjamin Drung <bdrung@debian.org>, 1125948@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc debian-kernel@lists.debian.org
X-Debian-Pr-Message followup 1125948
X-Debian-Pr-Package dracut
X-Debian-Pr-Keywords forky sid
X-Debian-Pr-Source dracut
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding quoted-printable
User-Agent Evolution 3.56.2-4
MIME-Version 1.0
X-Debian-User bdrung
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1949524
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 47
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc Paul Gevers <elbrus@debian.org>, 1125948@bugs.debian.org
X-Original-Date Sat, 24 Jan 2026 15:17:44 +0100
X-Original-Message-ID <8b70a97f9126cdea3e741f346481937ec4847c89.camel@debian.org>
X-Original-References <f084ee04-7ce4-4ad0-a5ca-a02c79d93b4a@debian.org> <fc5849de91c633dda6ee44594437b99207e60794.camel@debian.org> <f084ee04-7ce4-4ad0-a5ca-a02c79d93b4a@debian.org> <aXTHjSSPE7K5C7SG@nuc> <f084ee04-7ce4-4ad0-a5ca-a02c79d93b4a@debian.org> <aXTHjSSPE7K5C7SG@nuc>
Xref csiph.com linux.debian.bugs.dist:1279623 linux.debian.kernel:90946

Cross-posted to 2 groups.

Show key headers only | View raw


On Sat, 2026-01-24 at 14:22 +0100, Santiago Vila wrote:
> retitle 1125948 dracut: fails to detect 3cpio
> thanks
> 
> On Fri, Jan 23, 2026 at 09:39:07PM +0100, Benjamin Drung wrote:
> > [...]
> > 
> > Is the 3cpio --help call failing? If so, why?
> 
> Thanks a lot for this detailed explanation about how all this is (was)
> supposed to work.
> 
> I'm doing a retitle to better reflect what we know about this failure.
> (Based on your explanations, if the autodetection worked as designed
> then there would be nothing wrong in calling "3cpio" as "3cpio").
> 
> 
> This looks like some kind of race condition to me, similar to this one
> which happened some time ago in the "sumo" package. This is the
> message where Niels diagnosed the problem and solved the mystery:
> 
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082135#19
> 
> With the sumo package in mind, I looked at the dracut script
> to see if there was any occurrence of "&", and found that
> there is a "parallel mode".
> 
> Can you tell if this parallel mode is the default, and if not, what
> other reasons for a race condition can be?

I am not aware of any "parallel mode" here. The postinst calls dracut
just with >&2 to redirect stdout to stderr.

> I would be willing to build linux-signed-amd64 a lot of times using a
> modified dracut package with whatever debug changes we could add to
> see what's going on (even if they are simple "echo foo"), so I'm
> open for suggestions about those potential changes.

Thanks. Could you try to run a test with this patch applied to dracut:
https://github.com/dracut-ng/dracut-ng/pull/2109/changes

Plus add an "exit 1" after those 3 dinfo/dwarning calls to let dracut
fail, because I expect dracut to take the happy path.

-- 
Benjamin Drung
Debian & Ubuntu Developer

Back to linux.debian.kernel | Previous | Next — Previous in thread | Next 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