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 2148472 - stalld doesn't start when secure boot is enabled
Summary: stalld doesn't start when secure boot is enabled
Keywords:
Status: CLOSED DUPLICATE of bug 2136560
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: stalld
Version: 8.6
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: ---
Assignee: Leah Leshchinsky
QA Contact:
URL:
Whiteboard:
Depends On: 128472 2136560
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-11-25 15:21 UTC by Marius Cornea
Modified: 2022-12-02 13:54 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-12-02 13:54:16 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-140507 0 None None None 2022-11-25 16:14:59 UTC

Description Marius Cornea 2022-11-25 15:21:56 UTC
Description of problem:

This issue has been observed on a single node OpenShift cluster. When secure boot is enabled stalld cannot start because it cannot access /sys/kernel/debug/sched_features as use of debugfs is not permitted in lockdown mode:

Nov 25 14:12:49 sno.kni-qe-24.lab.eng.rdu2.redhat.com kernel: Lockdown: stalld: debugfs is restricted; see man kernel_lockdown.7

Nov 25 14:12:49 sno.kni-qe-24.lab.eng.rdu2.redhat.com systemd[1]: Started Stall Monitor.
Nov 25 14:12:49 sno.kni-qe-24.lab.eng.rdu2.redhat.com systemd[1]: Reloading.
Nov 25 14:12:49 sno.kni-qe-24.lab.eng.rdu2.redhat.com stalld[15704]: /sys/kernel/debug/sched/features doesn't exist
Nov 25 14:12:49 sno.kni-qe-24.lab.eng.rdu2.redhat.com kernel: Lockdown: stalld: debugfs is restricted; see man kernel_lockdown.7
Nov 25 14:12:49 sno.kni-qe-24.lab.eng.rdu2.redhat.com stalld[15704]: /sys/kernel/debug/sched_features exists
Nov 25 14:12:49 sno.kni-qe-24.lab.eng.rdu2.redhat.com stalld[15704]: could not open /sys/kernel/debug/sched_features to set HRTICK: Operation not permitted
Nov 25 14:12:49 sno.kni-qe-24.lab.eng.rdu2.redhat.com stalld[15704]: stalld can't enable HRTICK. stalld cannot run in this mode. Exiting..


Version-Release number of selected component (if applicable):
stalld-1.17-3.el8_6.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Run stalld on a secure boot enabled system

Actual results:
stalld service cannot start

Expected results:
stalld service start

Additional info:


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