Bug 542305 - [abrt] crash detected in tuned-0.2.5-2.fc12
Summary: [abrt] crash detected in tuned-0.2.5-2.fc12
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: tuned
Version: 12
Hardware: i686
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jan Vcelak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:b6c5fde1
: 542294 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-29 08:30 UTC by mt229
Modified: 2013-03-04 01:27 UTC (History)
5 users (show)

Fixed In Version: 0.2.7-2.fc12
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-01-07 21:52:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.79 KB, text/plain)
2009-11-29 08:30 UTC, mt229
no flags Details

Description mt229 2009-11-29 08:30:50 UTC
abrt 1.0.0 detected a crash.

backtrace
-----
Summary: TBb6c5fde1 tuned_nettool.py:135:update:Exception: ("Some errors were reported by 'ethtool'.", 'Cannot get device settings: Operation not permitted\nCannot get wake-on-lan settings: Operation not permitted\nCannot get link status: Operation not permitted\n')

Traceback (most recent call last):
  File "/usr/sbin/tuned", line 80, in <module>
    tuned.init(TUNEDDIR, cfgfile)
  File "/usr/share/tuned/tuned.py", line 60, in init
    self.__initplugins__(path, "monitorplugins", self.mp)
  File "/usr/share/tuned/tuned.py", line 38, in __initplugins__
    exec _cmd
  File "<string>", line 1, in <module>
  File "/usr/share/tuned/monitorplugins/net.py", line 108, in <module>
    _plugin = NetMonitor()
  File "/usr/share/tuned/monitorplugins/net.py", line 36, in __init__
    max_speed = self.__calcspeed__( ethcard(d).get_max_speed() );
  File "/usr/share/tuned/tuned_nettool.py", line 201, in ethcard
    ethcard.list[interface] = Tuned_nettool(interface)
  File "/usr/share/tuned/tuned_nettool.py", line 35, in __init__
    self.update()
  File "/usr/share/tuned/tuned_nettool.py", line 135, in update
    raise Exception("Some errors were reported by 'ethtool'.", errors)
Exception: ("Some errors were reported by 'ethtool'.", 'Cannot get device settings: Operation not permitted\nCannot get wake-on-lan settings: Operation not permitted\nCannot get link status: Operation not permitted\n')

Local variables in innermost frame:
output: Settings for eth0:

Current message level:
0x0000003f (63)

self: <tuned_nettool.Tuned_nettool instance at 0xb7849c2c>
errors: Cannot get device settings: Operation not permitted
Cannot get wake-on-lan settings: Operation not permitted
Cannot get link status: Operation not permitted

p_filter: <subprocess.Popen object at 0xb7849d6c>
p_ethtool: <subprocess.Popen object at 0xb7849e2c>

cmdline: /usr/bin/python /usr/sbin/tuned 
component: tuned
executable: /usr/sbin/tuned
kernel: 2.6.31.6-145.fc12.i686
package: tuned-0.2.5-2.fc12
uuid: b6c5fde1

Comment 1 mt229 2009-11-29 08:30:52 UTC
Created attachment 374525 [details]
File: backtrace

Comment 2 Marcela Mašláňová 2009-11-30 07:14:54 UTC
*** Bug 542306 has been marked as a duplicate of this bug. ***

Comment 3 Marcela Mašláňová 2009-11-30 07:15:39 UTC
*** Bug 542294 has been marked as a duplicate of this bug. ***

Comment 4 Marcela Mašláňová 2009-11-30 07:17:35 UTC
It looks like problem is in tuned_nettool.py. Reassigning to author ;-)

Comment 5 Jan Vcelak 2009-12-02 10:37:54 UTC
Need Real Name,

Thank you for your report. I can't reproduce this problem. Please, can you attach more information about your system? Link to your public smolt profile will be perfect. 

Please, attach your /etc/security/limits.conf file as well in case you have modified it.

Does it crash immediately after system startup? Or after some time when your system is running?

Thanks.
Jan

Comment 6 mt229 2009-12-02 19:09:01 UTC
Hello Jan,

thank you for the comment. The tuned crashes immediately when run, so I have disabled automatic start of the service. It happens also with selinux=permissive profile and the previous verison of tuned-0.2.5
I have enabled updates-testing repository hoping that it will get fixed sooner. 

the smolt profile:
http://www.smolts.org/client/show/pub_4ffac254-4f22-4b4e-83b7-449704d4e556


The /etc/security/limits.conf is not modified by me:

# /etc/security/limits.conf
#
#Each line describes a limit for a user in the form:
#
#<domain>        <type>  <item>  <value>
#
#Where:
#<domain> can be:
#        - an user name
#        - a group name, with @group syntax
#        - the wildcard *, for default entry
#        - the wildcard %, can be also used with %group syntax,
#                 for maxlogin limit
#
#<type> can have the two values:
#        - "soft" for enforcing the soft limits
#        - "hard" for enforcing hard limits
#
#<item> can be one of the following:
#        - core - limits the core file size (KB)
#        - data - max data size (KB)
#        - fsize - maximum filesize (KB)
#        - memlock - max locked-in-memory address space (KB)
#        - nofile - max number of open files
#        - rss - max resident set size (KB)
#        - stack - max stack size (KB)
#        - cpu - max CPU time (MIN)
#        - nproc - max number of processes
#        - as - address space limit (KB)
#        - maxlogins - max number of logins for this user
#        - maxsyslogins - max number of logins on the system
#        - priority - the priority to run user process with
#        - locks - max number of file locks the user can hold
#        - sigpending - max number of pending signals
#        - msgqueue - max memory used by POSIX message queues (bytes)
#        - nice - max nice priority allowed to raise to values: [-20, 19]
#        - rtprio - max realtime priority
#
#<domain>      <type>  <item>         <value>
#

#*               soft    core            0
#*               hard    rss             10000
#@student        hard    nproc           20
#@faculty        soft    nproc           20
#@faculty        hard    nproc           50
#ftp             hard    nproc           0
#@student        -       maxlogins       4

# End of file

Comment 7 mt229 2009-12-09 03:10:12 UTC
Hello Jan,

any news on this bug? It has been a few weeks? Do you need anything else from me?

Regards

Comment 8 Jan Vcelak 2009-12-21 10:13:30 UTC
Hello,

I'm sorry, I've been ill. I will focus on this bug now.

Regards,
Jan

Comment 9 Jan Vcelak 2009-12-21 14:19:38 UTC
Hello Need Real Name,

seems that 'ethtool' doesn't support your ethernet card.

tuned-0.2.7-2.fc12 should work for you. I've submitted it into testing updates.

Regards,
Jan

Comment 10 Fedora Update System 2009-12-22 19:55:25 UTC
tuned-0.2.7-2.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update tuned'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2009-13547

Comment 11 Fedora Update System 2010-01-07 21:52:08 UTC
tuned-0.2.7-2.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.