Skip to content

Add ro to FSTabOptions for IoT raw disk - #1346

Merged
achilleas-k merged 1 commit into
osbuild:mainfrom
djach7:iot-add-ro-fstab
Mar 24, 2025
Merged

achilleas-k merged 1 commit into
osbuild:mainfrom
djach7:iot-add-ro-fstab

Conversation

@djach7

@djach7 djach7 commented Mar 21, 2025

Copy link
Copy Markdown
Contributor

Adds ro to FSTabOptions for Fedora IoT raw disk images.

Fixes fedora-iot/iot-distro#81

Adds `ro` to FSTabOptions for Fedora IoT raw disk images.

Fixes fedora-iot/iot-distro#81
@djach7
djach7 requested a review from a team as a code owner March 21, 2025 17:41
@djach7
djach7 requested review from achilleas-k, mvo5 and supakeen March 21, 2025 17:41
@supakeen

supakeen commented Mar 21, 2025 •

Copy link
Copy Markdown
Member

Should this be done unconditionally, e.g. will things still work in Fedora 40, or 41, when / is marked ro? Otherwise OK.


As an aside, we also have the option to not write /etc/fstab at all which I think is the eventual goal or is that only the bootc-case? cc @achilleas-k

@djach7

djach7 commented Mar 21, 2025

Copy link
Copy Markdown
Contributor Author

Looking into this, I think enabling it just conditionally might make more sense

@achilleas-k

Copy link
Copy Markdown
Member

As an aside, we also have the option to not write /etc/fstab at all which I think is the eventual goal or is that only the bootc-case? cc @achilleas-k

The bootc disk images are now all fstab-less, yes. I don't think there are plans to drop the file from RHEL images any time soon. On the Fedora side, we'll only make any changes if the official images (and default Fedora setup) change. So, for IoT images, I wouldn't drop it unless someone from the IoT team tells me to.

@achilleas-k
achilleas-k enabled auto-merge March 24, 2025 11:04
@achilleas-k
achilleas-k added this pull request to the merge queue Mar 24, 2025
Merged via the queue into osbuild:main with commit 4b529b3 Mar 24, 2025
mvo5 added a commit to mvo5/images that referenced this pull request Mar 26, 2025
Followup for osbuild#1346
where we only added `ro` to the x86_64 partition table.

This commit also adds the same change to the `aarch64` partition
table.
github-merge-queue Bot pushed a commit that referenced this pull request Mar 26, 2025
Followup for #1346
where we only added `ro` to the x86_64 partition table.

This commit also adds the same change to the `aarch64` partition
table.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

systemd-remount-fs.service fails on f42 disk images with composefs enabled

4 participants