Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(rootfs-block): remove support for [no]readonlyroot and fastboot #2264

Closed
wants to merge 1 commit into from

Conversation

LaszloGombos
Copy link
Collaborator

@LaszloGombos LaszloGombos commented Mar 5, 2023

This PR removes a command line option for a core dracut module.

"readonlyroot" and "noreadonlyroot" command line option are no longer supported (not sure if they actually ever fully worked).

Use "ro" or "rw" instead.

I am open to keep these arguments and document them instead of removing them, but since there is a much more prevalent command line alternative, I do not think these are used."

Original commit from 2010: 3871942

Fixes #1948 (partially)

@github-actions github-actions bot added modules Issue tracker for all modules rootfs-block Issues related to the rootfs-block module labels Mar 5, 2023
@LaszloGombos LaszloGombos added enhancement Issue adding new functionality bug Our bugs and removed enhancement Issue adding new functionality labels Mar 5, 2023
@LaszloGombos LaszloGombos changed the title fix(rootfs-block): remove support fo readonlyroot and noreadonlyroot fix(rootfs-block): remove support for readonlyroot and noreadonlyroot Mar 5, 2023
@@ -30,21 +30,12 @@ mount_root() {
fsck_ask_err
done

READONLY=
fsckoptions=
if [ -f "$NEWROOT"/etc/sysconfig/readonly-root ]; then
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Old RH pre-systemd stuff: https://access.redhat.com/solutions/2196881
I'd remove the /etc/sysconfig/readonly-root part as well.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the feedback. Since I am not very familiar with RedHat and the history here, I'd like to proceed with extra caution.

That said if others think there are more conditions that could be removed here, I am open to combine it with this PR.

This PR removes some obsolete and undocumented functionality from a
core dracut module.

"readonlyroot" and "noreadonlyroot" command line option are no longer
supported. Use "ro" or "rw" instead.
@LaszloGombos LaszloGombos changed the title fix(rootfs-block): remove support for readonlyroot and noreadonlyroot fix(rootfs-block): remove support for [no]readonlyroot and fastboot Mar 6, 2023
@LaszloGombos LaszloGombos added this to the dracut-060 milestone May 8, 2023
@LaszloGombos LaszloGombos removed the bug Our bugs label Aug 5, 2023
@LaszloGombos LaszloGombos removed this from the dracut-060 milestone Aug 5, 2023
@stale
Copy link

stale bot commented Sep 16, 2023

This issue is being marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. If this is still an issue in the latest release of Dracut and you would like to keep it open please comment on this issue within the next 7 days. Thank you for your contributions.

@stale stale bot added the stale communication is stuck label Sep 16, 2023
@stale stale bot closed this Oct 15, 2023
@LaszloGombos LaszloGombos reopened this Oct 31, 2023
@LaszloGombos LaszloGombos removed the stale communication is stuck label Oct 31, 2023
@LaszloGombos LaszloGombos removed the request for review from danimo October 31, 2023 23:50
@LaszloGombos LaszloGombos added this to the dracut-061 milestone Oct 31, 2023
@aafeijoo-suse aafeijoo-suse removed this from the dracut-061 milestone Nov 18, 2023
@LaszloGombos LaszloGombos deleted the readonlyroot branch April 4, 2024 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
modules Issue tracker for all modules rootfs-block Issues related to the rootfs-block module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

document or remove undocumented arguments
2 participants