Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1200822
| From | Helmut Grohne <helmut@subdivi.de> |
|---|---|
| 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:00 +0200 |
| Message-ID | <IOZI5-2Jws-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Cross-posted to 2 groups.
[Multipart message — attachments visible in raw view] - view raw
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
Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar
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