Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 1358857

Summary: 'tuned-adm list' can cause tracebeck if daemon is not running
Product: Red Hat Enterprise Linux 7 Reporter: Jaroslav Škarvada <jskarvad>
Component: tunedAssignee: Jaroslav Škarvada <jskarvad>
Status: CLOSED ERRATA QA Contact: qe-baseos-daemons
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.2CC: jeder, jskarvad, tcerna
Target Milestone: rcKeywords: Upstream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: tuned-2.7.1-1.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-04 07:28:34 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 Jaroslav Škarvada 2016-07-21 15:33:05 UTC
Description of problem:
Due to the typo in the code 'tuned-adm list' can cause traceback if Tuned daemon is not running.

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

How reproducible:

Steps to Reproduce:
1. systemctl stop tuned
2. tuned-adm list

Actual results:

Expected results:
No traceback

Additional info:
AFAIK we have no test case for such scenario. Test should be added.

Comment 1 Jaroslav Škarvada 2016-07-21 15:34:18 UTC
Fixed by the following upstream commit:

Comment 5 errata-xmlrpc 2016-11-04 07:28:34 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, and where to find the updated
files, follow the link below.

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