RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1994096 - RFE: add patch to set grub boot_success flag on shutdown/reboot
Summary: RFE: add patch to set grub boot_success flag on shutdown/reboot
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: selinux-policy
Version: 8.5
Hardware: x86_64
OS: Linux
high
medium
Target Milestone: rc
: 8.0
Assignee: Zdenek Pytela
QA Contact: Milos Malik
Khushbu Borole
URL:
Whiteboard:
Depends On: 1914925
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-16 17:47 UTC by Michael Boisvert
Modified: 2021-11-10 08:40 UTC (History)
8 users (show)

Fixed In Version: selinux-policy-3.14.3-79.el8
Doc Type: Bug Fix
Doc Text:
.SELinux policy did not allow GDM to set the GRUB `boot_success` flag Previously, SELinux policy did not allow the GNOME Display Manager (GDM) to set the GRUB `boot_success` flag during the power-off and reboot operations. Consequently, the GRUB menu appeared on the next boot. With this update, the SELinux policy introduces a new `xdm_exec_bootloader` boolean that allows the GDM to set the GRUB `boot_success` flag, and which is enabled by default. As a result, the GRUB boot menu is shown on the first boot and the flicker-free boot support feature works correctly.
Clone Of: 1914925
Environment:
Last Closed: 2021-11-09 19:43:59 UTC
Type: Feature Request
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-93760 0 None None None 2021-08-17 07:30:13 UTC
Red Hat Product Errata RHBA-2021:4420 0 None None None 2021-11-09 19:44:12 UTC

Comment 1 Ray Strode [halfline] 2021-08-16 18:05:32 UTC
looks like we need to pull in:

https://github.com/fedora-selinux/selinux-policy/commit/43a040b61451c4bc7f0cfc0132843621f0359b52

(see the fedora bug here: https://bugzilla.redhat.com/show_bug.cgi?id=1750112 )

Comment 4 Zdenek Pytela 2021-08-23 13:56:13 UTC
I suppose this commit can safely be backported:

commit 43a040b61451c4bc7f0cfc0132843621f0359b52
Author: Nikola Knazekova <nknazeko>
Date:   Tue Sep 10 18:47:52 2019 +0200

    Introduce xdm_manage_bootloader booelan

It moves some permissions to the boolean block, but the boolean is on by default.

+gen_tunable(xdm_manage_bootloader,true)
...
-fs_manage_dos_files(xdm_t)
...
+tunable_policy(`xdm_manage_bootloader',`
+    fs_manage_dos_files(xdm_t)
+    files_manage_boot_files(xdm_t)

Comment 13 errata-xmlrpc 2021-11-09 19:43:59 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (selinux-policy bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:4420


Note You need to log in before you can comment on or make changes to this bug.