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

base: Drop grub2 auto-hide and boot counting bits #21

Closed
wants to merge 1 commit into from

Conversation

cgwalters
Copy link
Member

The design where "boot success" is "interactive user login"
doesn't match well with our expected use case. Plus, I think
the boot menu hiding clashes with the ostree value proposition.

@vathpela
Copy link

vathpela commented Oct 4, 2018

There's a typo here, you've got 01_ both inside and outside the brackets.

The design where "boot success" is "interactive user login"
doesn't match well with our expected use case.  Plus, I think
the boot menu hiding clashes with the ostree value proposition.
@cgwalters
Copy link
Member Author

There's a typo here, you've got 01_ both inside and outside the brackets.

Thanks for catching that! I updated this to use -v instead of -f, so things fail if the files aren't found.

While you're here @vathpela - we're basically going into the guts of grub here and removing part of it, as best I can tell the functionality is encapsulated in those files, but please keep this in mind going forward.

There's a lot of interacting things here - the idea seems nice for desktops, but for servers we really want to see the console.

I also just want to wait to have some time to validate all of the interactions with ostree myself, or have confidence that someone else has done it. We're almost certain to look at the boot counting stuff, just not right now.

@dustymabe
Copy link
Member

LGTM

@LorbusChris
Copy link
Contributor

@cgwalters with current rpm build grub2-2.02-62.fc29 this will fail as the boot counting part has been (temporarily) removed from the package: https://src.fedoraproject.org/rpms/grub2/c/7c415d82878e13fcd626a9cbd3a336e208f15d33.

@dustymabe
Copy link
Member

@LorbusChris was that part of the work you did during GSOC?

you're saying we don't need this PR now?

@LorbusChris
Copy link
Contributor

@dustymabe Yes, it was. It was merged prematurely, though, and has not yet worked the way intended.
See https://bugzilla.redhat.com/show_bug.cgi?id=1614637 and fix rhboot/grub2#42

@LorbusChris
Copy link
Contributor

@dustymabe and to answer the question: If we want to remove these two scripts, we will need this PR as is as soon as rhboot/grub2#42 unblocks it.

@dustymabe dustymabe added the hold label Oct 9, 2018
@LorbusChris
Copy link
Contributor

Update: The code got merged again, but hasn't yet made it into the rpm. I'm tracking this.

@dustymabe
Copy link
Member

cc @LorbusChris - what should we do with this PR. Still waiting on something? Should we close it?

@LorbusChris
Copy link
Contributor

@dustymabe grub2 in F29 does contain the menu hide script:

$ rpm -qlp grub2-tools-2.02-62.fc29.x86_64.rpm | grep /etc/grub.d/01_*
/etc/grub.d/01_menu_auto_hide
/etc/grub.d/01_users

we probably still want to drop that.

@LorbusChris
Copy link
Contributor

Also, we will need this when we begin composing F30 packages.

# The grub bits are mainly designed for desktops, and IMO haven't seen
# enough testing in concert with ostree. At some point we'll flesh out
# the full plan in https://github.com/coreos/fedora-coreos-tracker/issues/47
rm -v /etc/grub.d/01_{fallback_counting,menu_auto_hide}
Copy link
Contributor

@LorbusChris LorbusChris Dec 17, 2018

Choose a reason for hiding this comment

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

Changing this line to:

rm -v /etc/grub.d/01_menu_auto_hide

should suffice for now

@dustymabe
Copy link
Member

Also, we will need this when we begin composing F30 packages.

so we will also need this for F30 (that's the only target I'm concerned with for now)? If so let's fixup this PR or open a new PR. WDYT?

@LorbusChris
Copy link
Contributor

fixed in #36, also added a TODO to add back removal of fallback script in f30.

c4rt0 pushed a commit to c4rt0/fedora-coreos-config that referenced this pull request Mar 27, 2023
cloud.ks: Switch to RHELAH kickstart
dustymabe pushed a commit to jbtrystram/fedora-coreos-config that referenced this pull request Apr 19, 2024
This adds a user-guide for custom sysctl settings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants