On Thu, Apr 11, 2024, at 3:31 PM, Malo Langer wrote:
> Hey,
> I configured my root directory ('/') to be read-only in the fstab on
> CentOS 7.5 (see dmesg output below). However, the system does not boot
> in read-only mode; I have to switch it to read-only manually.
> Did I miss something?
>
> Please find attached a copy of the 'fstab' contents and the output of
> the 'mount' command
>
> Kind regards
> Attachments:
> * dmesg_75.txt
> * mount_75.txt
> * fstab_75.txt
This is intended:
https://github.com/openbsd/src/blob/4365136d4e2a201819da54e3e3bc8e95c1301f8e/etc/rc#L428
If you plan on bypassing that, you're wading into unsupported land. For
example, you'll have an unpleasant time with a read-only /dev.
Brian Conway
Owner
RCE Software, LLC