Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1379758

Summary: Invalid shell command in kernel modules documentation
Product: Red Hat Enterprise Linux 7 Reporter: Pavel Valena <pvalena>
Component: doc-System_Administrators_GuideAssignee: Marie Hornickova <mdolezel>
Status: CLOSED CURRENTRELEASE QA Contact: ecs-bugs
Severity: unspecified Docs Contact: Maxim Svistunov <msvistun>
Priority: unspecified    
Version: 7.4CC: rhel-docs
Target Milestone: rcKeywords: Documentation
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-07 11:46:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pavel Valena 2016-09-27 15:14:10 UTC
Document URL: 
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/sect-signing-kernel-modules-for-secure-boot.html

Section Number and Name: 
26.8.3. Generating a Public and Private X.509 Key Pair
par 2 - script box

and

26.8.5. Signing Kernel Module with the Private Key
par 2 - script box

Describe the issue:
Commands have \ > several times in them.
It was probably intended to write them like \
this.

Suggestions for improvement:
F.e.
~]# perl /usr/src/kernels/$(uname -r)/scripts/sign-file \
  sha256 \
  my_signing_key.priv \
  my_signing_key_pub.der \
  my_module.ko

Comment 2 Pavel Valena 2016-10-01 15:54:26 UTC
Apparently[1], the sign-file script is not a perl script anymore.

However I do no know the kernel version it was changed in, so it could be relevant only for Fedora documentation[2].

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1380923
[2] https://docs.fedoraproject.org/en-US/Fedora/23/html/System_Administrators_Guide/sect-signing-kernel-module-with-the-private-key.html