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


Groups > linux.debian.bugs.dist > #1200826

Bug#1073169: debootstrap: support working on a nodev filesystem (e.g. /tmp)

From Luca Boccassi <bluca@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.maint.boot
Subject Bug#1073169: debootstrap: support working on a nodev filesystem (e.g. /tmp)
Date 2024-06-13 23:20 +0200
Message-ID <IP01r-2JSu-3@gated-at.bofh.it> (permalink)
References <IOZI5-2Jws-3@gated-at.bofh.it> <IOZI5-2Jws-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


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

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

Back to linux.debian.bugs.dist | Previous | NextPrevious in thread | Find similar


Thread

Bug#1073169: debootstrap: support working on a nodev filesystem (e.g. /tmp) Helmut Grohne <helmut@subdivi.de> - 2024-06-13 23:00 +0200
  Bug#1073169: debootstrap: support working on a nodev filesystem (e.g. /tmp) Luca Boccassi <bluca@debian.org> - 2024-06-13 23:20 +0200

csiph-web