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:

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