On Thu, 13 Jun 2024 22:47:48 +0200 Helmut Grohne <helmut@subdivi.de> wrote: > Package: debootstrap > Version: 1.0.134 > Tags: patch > X-Debbugs-Cc: josch@debian.org > Control: affects -1 + src:genext2fs > > Hi, > > I tried running the genext2fs autopkgtest for the /usr-move bootstrap > upload and it failed rather early here while running debootstrap: > > Cannot install into target '/tmp/...' mounted with noexec or nodev > > I thought Johannes fixed debootstrap to work without mknod via > https://salsa.debian.org/installer-team/debootstrap/-/merge_requests/109 , > so why would it fail on nodev? > > When you're root and on a nodev filesystem, mknod still works. What does > not work is writing to that device. Hence, the bind mounting code does > not come into effect here. That also leads us to a relatively obvious > solution: We can simply try writing to the created devices and perform > the bind mount dance if it does not. > > I've prepared a patch for this. > > Helmut Could you please send a MR on Salsa? Thanks -- Kind regards, Luca Boccassi
Attachment:
signature.asc
Description: This is a digitally signed message part