Bug 1746436

Summary: tuned-profiles-nfv-host-2.11.0-8.el7.noarch hidden dependency on netcat
Product: Red Hat Enterprise Linux 7 Reporter: Robin Hack <rhack>
Component: tunedAssignee: Jaroslav Škarvada <jskarvad>
Status: CLOSED ERRATA QA Contact: Robin Hack <rhack>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.7CC: jeder, jskarvad, lcapitulino, olysonek, pzhukov
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tuned-2.11.0-9.el7 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 1779117 (view as bug list) Environment:
Last Closed: 2020-09-29 19:36:52 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:
Bug Depends On:    
Bug Blocks: 1240765, 1779117, 1780577    

Description Robin Hack 2019-08-28 13:14:18 UTC
Description of problem:


Version-Release number of selected component (if applicable):
tuned-2.11.0-8.el7.noarch
tuned-profiles-nfv-host-2.11.0-8.el7.noarch

How reproducible:
always without netcat installed

Steps to Reproduce:
1. install tuned-profiles-nfv-host-2.11.0-8.el7.noarch
2. tuned-adm profile realtime-virtual-host
3.

Actual results:
/usr/lib/tuned/realtime-virtual-host/script.sh: line 33: nc: command not found
/usr/lib/tuned/realtime-virtual-host/script.sh: line 35: nc: command not found
running /usr/share/qemu-kvm/tscdeadline_latency.flat failed'

Expected results:


Additional info:
        pidofvcpu=`echo "info cpus" | nc -U $unixpath | grep thread_id | cut -f 3 -d "=" | tr -d "\r"`
        taskset -p -c $1 $pidofvcpu >/dev/null
        echo "cont" | nc -U $unixpath >/dev/null

Comment 3 Ondřej Lysoněk 2019-09-02 07:33:54 UTC
Thanks for the report, Robin, and thanks for the hint, Pavel.

Comment 10 errata-xmlrpc 2020-09-29 19:36:52 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (tuned bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:3884