Bug 651817

Summary: error while running dwscan
Product: [Fedora] Fedora Reporter: Danishka Navin <danishka>
Component: dwscanAssignee: Fabian Affolter <mail>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: mail
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: 2010-11-18 11:32:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Danishka Navin 2010-11-10 11:29:59 UTC
Description of problem:

use 'dwscan' command as root

got following error

Traceback (most recent call last):
  File "/usr/sbin/dwscan", line 163, in <module>
    stats, quality, discard, missed_beacon = ifobj.getStatistics()
  File "/usr/lib/python2.7/site-packages/pythonwifi/iwlibs.py", line 666, in getStatistics
    iwstats = Iwstats(self.ifname)
  File "/usr/lib/python2.7/site-packages/pythonwifi/iwlibs.py", line 1119, in __init__
    self.update()
  File "/usr/lib/python2.7/site-packages/pythonwifi/iwlibs.py", line 1130, in update
    data=s)
  File "/usr/lib/python2.7/site-packages/pythonwifi/iwlibs.py", line 1023, in iw_get_ext
    result = self._fcntl(request, ifreq)
  File "/usr/lib/python2.7/site-packages/pythonwifi/iwlibs.py", line 1010, in _fcntl
    return fcntl.ioctl(self.sockfd.fileno(), request, args)
IOError: [Errno 95] Operation not supported



tail /var/log/messages
Nov 10 16:59:44 localhost abrtd: New crash /var/spool/abrt/pyhook-1289388584-10752, processing
Nov 10 16:59:44 localhost abrtd: Registered Action plugin 'RunApp'
Nov 10 16:59:44 localhost abrtd: RunApp('/var/spool/abrt/pyhook-1289388584-10752','test x"`cat component`" = x"xorg-x11-server-Xorg" && cp /var/log/Xorg.0.log .')
Nov 10 17:00:16 localhost dwscan: abrt: detected unhandled Python exception in /usr/sbin/dwscan
Nov 10 17:00:16 localhost abrtd: dumpsocket: New client connected
Nov 10 17:00:16 localhost abrtd: dumpsocket: Saved Python crash dump of pid 10839 to /var/spool/abrt/pyhook-1289388616-10839
Nov 10 17:00:16 localhost abrtd: Directory 'pyhook-1289388616-10839' creation detected
Nov 10 17:00:17 localhost abrtd: New crash /var/spool/abrt/pyhook-1289388616-10839, processing
Nov 10 17:00:17 localhost abrtd: RunApp('/var/spool/abrt/pyhook-1289388616-10839','test x"`cat component`" = x"xorg-x11-server-Xorg" && cp /var/log/Xorg.0.log .')
Nov 10 17:00:17 localhost abrtd: dumpsocket: Socket client disconnected


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


How reproducible:


Steps to Reproduce:
1. yum install dwscan
2. run dwscan as root
3.
  
Actual results:


Expected results:


Additional info:

tested on both i386 and x86_64

Comment 1 Fabian Affolter 2010-11-18 11:32:28 UTC

*** This bug has been marked as a duplicate of bug 607318 ***