Bug#1008911: initscripts: /run often mounted nodev, "/run/rootdev" likely to fail

Mark Hindley mark at hindley.org.uk
Tue Feb 11 15:22:08 GMT 2025


Control: tags -1 moreinfo

Elliott,

Thanks.

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?

Mark



More information about the Debian-init-diversity mailing list