Bug 1379758 - Invalid shell command in kernel modules documentation
Summary: Invalid shell command in kernel modules documentation
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: doc-System_Administrators_Guide
Version: 7.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Marie Hornickova
QA Contact: ecs-bugs
Maxim Svistunov
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-27 15:14 UTC by Pavel Valena
Modified: 2019-03-06 01:18 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-07 11:46:42 UTC
Target Upstream Version:


Attachments (Terms of Use)

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


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