Bug 907065

Summary: tuned-adm can crash because of unknown variable 'log'
Product: [Fedora] Fedora Reporter: Branislav Blaškovič <bblaskov>
Component: tunedAssignee: Jaroslav Škarvada <jskarvad>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: jkaluza, jskarvad, jv+fedora, pknirsch, twoerner
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-24 08:35:47 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:
Attachments:
Description Flags
Patch none

Description Branislav Blaškovič 2013-02-03 01:35:31 UTC
Created attachment 692158 [details]
Patch

Description of problem:
  I found this line in /usr/sbin/tuned-adm
    log.error("Cannot write profile into /etc/tuned/active_profile: %s" % (e))
  There is no variable 'log' as I know. So after catching the exception, tuned-adm would crash anyway.

Version-Release number of selected component (if applicable):
  tuned-2.0.1-5.fc17

Comment 1 Fedora Admin XMLRPC Client 2013-02-04 21:45:20 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 2 Jaroslav Škarvada 2013-02-05 15:49:36 UTC
(In reply to comment #0)
Thanks. It is not the cleanest solution, but accepting as f17 fix. It is done a different way in the latest tuned (it is not back-portable).

Comment 3 Fedora Update System 2013-02-05 16:11:27 UTC
tuned-2.0.1-6.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/tuned-2.0.1-6.fc17

Comment 4 Fedora Update System 2013-02-08 02:27:51 UTC
Package tuned-2.0.1-6.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing tuned-2.0.1-6.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-2077/tuned-2.0.1-6.fc17
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2013-02-14 10:48:56 UTC
tuned-2.0.1-7.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/tuned-2.0.1-7.fc17

Comment 6 Fedora Update System 2013-02-24 08:35:50 UTC
tuned-2.0.1-7.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.