Bug#1008911: initscripts: /run often mounted nodev, "/run/rootdev" likely to fail
Elliott Mitchell
ehem+debian at m5p.com
Tue Feb 11 16:21:48 GMT 2025
On Tue, Feb 11, 2025 at 03:22:08PM +0000, Mark Hindley wrote:
>
> On Sun, Apr 03, 2022 at 04:23:49PM -0700, Elliott Mitchell wrote:
> > Package: initscripts
> > Version: 3.02-1
> >
> > Often /run is mounted with the "nodev" option, at which point doing a
> > `mknod` "/run/rootdev", then trying to `fsck` that doesn't work as a
> > fallback. Perhaps "/dev/fsckfallbackdev"?
>
> In the abstract this might be true. But this is used in checkroot.sh which is
> run *before* /run is mounted. And /run/rootdev is already a last-chance fallback
> after root from /etc/fstab and /dev/root have been tried and failed.
>
> So I don't see a problem here. Or am I misunderstanding you or missing
> something?
Is it worth having a last-chance fallback which is guaranteed to fail?
IF the scripts get to that point, will there be more than a .01% chance
of the `mknod` being successful? The odds of that portion leading to a
successful recovery seem too low, perhaps things might would be more
reliable to fail sooner?
--
(\___(\___(\______ --=> 8-) EHM <=-- ______/)___/)___/)
\BS ( | ehem+sigmsg at m5p.com PGP 87145445 | ) /
\_CS\ | _____ -O #include <stddisclaimer.h> O- _____ | / _/
8A19\___\_|_/58D2 7E3D DDF4 7BA6 <-PGP-> 41D1 B375 37D0 8714\_|_/___/5445
More information about the Debian-init-diversity
mailing list