Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1604418

Summary: /root/NETBOOT_METHOD.TXT is not populated if perl is not in the installation
Product: [Retired] Beaker Reporter: Dan Callaghan <dcallagh>
Component: generalAssignee: Martin Styk <mastyk>
Status: CLOSED NEXTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: mastyk
Target Milestone: 26.4Keywords: Patch, Triaged
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: 2019-01-30 13:50:18 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 Dan Callaghan 2018-07-19 22:36:15 UTC
Description of problem:


Version-Release number of selected component (if applicable):
25.5

How reproducible:
somewhat

Steps to Reproduce:
1. Run a minimal recipe on Fedora 28 without /distribution/install
(I saw this when testing /distribution/check-install, but should reproduce with /distribution/dummy also)

Actual results:
During kickstart %post:
++ perl -n '-e/netboot_method=([^\s]+)/ && print $1' /proc/cmdline
/tmp/ks-script-p1kvtl6_: line 68: perl: command not found
+ netboot_method=
+ '[' -n '' ']'

/root/NETBOOT_METHOD.TXT is therefore not populated.

Expected results:
Should still work even if perl is not dragged into the installation package set by anything.

Additional info:
Doesn't reproduce on RHEL <= 7, perhaps because perl is in the minimal install (or a transitive dep of something that is). Whereas Fedora has been aggressively minimizing its package set. I imagine it will become increasingly easy to have a Fedora installation with no perl package present.

We probably need to just use grep or awk instead.

Comment 1 Martin Styk 2019-03-26 09:46:11 UTC
Beaker 26.4 has been released.