Bug 1561615 - [abrt] python2-libs: meth(): socket.py:228:meth:error: [Errno 13] Permission denied
Summary: [abrt] python2-libs: meth(): socket.py:228:meth:error: [Errno 13] Permission ...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: python2
Version: 27
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Charalampos Stratakis
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:f213d7c83acc9bc7ae8885e633a...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-03-28 15:26 UTC by Frederik
Modified: 2018-03-28 15:44 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-28 15:44:18 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.18 KB, text/plain)
2018-03-28 15:26 UTC, Frederik
no flags Details
File: cgroup (319 bytes, text/plain)
2018-03-28 15:26 UTC, Frederik
no flags Details
File: cpuinfo (1.24 KB, text/plain)
2018-03-28 15:26 UTC, Frederik
no flags Details
File: environ (4.23 KB, text/plain)
2018-03-28 15:26 UTC, Frederik
no flags Details
File: mountinfo (3.71 KB, text/plain)
2018-03-28 15:26 UTC, Frederik
no flags Details
File: namespaces (129 bytes, text/plain)
2018-03-28 15:26 UTC, Frederik
no flags Details
File: open_fds (291 bytes, text/plain)
2018-03-28 15:26 UTC, Frederik
no flags Details

Description Frederik 2018-03-28 15:26:10 UTC
Version-Release number of selected component:
python2-libs-2.7.14-7.fc27

Additional info:
reporter:       libreport-2.9.3
cmdline:        python -m SimpleHTTPServer 80
crash_function: meth
exception_type: error
executable:     /usr/lib64/python2.7/SimpleHTTPServer.py
kernel:         4.15.4-300.fc27.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
socket.py:228:meth:error: [Errno 13] Permission denied

Traceback (most recent call last):
  File "/usr/lib64/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/lib64/python2.7/SimpleHTTPServer.py", line 235, in <module>
    test()
  File "/usr/lib64/python2.7/SimpleHTTPServer.py", line 231, in test
    BaseHTTPServer.test(HandlerClass, ServerClass)
  File "/usr/lib64/python2.7/BaseHTTPServer.py", line 606, in test
    httpd = ServerClass(server_address, HandlerClass)
  File "/usr/lib64/python2.7/SocketServer.py", line 417, in __init__
    self.server_bind()
  File "/usr/lib64/python2.7/BaseHTTPServer.py", line 108, in server_bind
    SocketServer.TCPServer.server_bind(self)
  File "/usr/lib64/python2.7/SocketServer.py", line 431, in server_bind
    self.socket.bind(self.server_address)
  File "/usr/lib64/python2.7/socket.py", line 228, in meth
    return getattr(self._sock,name)(*args)
error: [Errno 13] Permission denied

Local variables in innermost frame:
self: <socket._socketobject object at 0x7f26bd3a50c0>
args: (('', 80),)
name: 'bind'

Comment 1 Frederik 2018-03-28 15:26:19 UTC
Created attachment 1414280 [details]
File: backtrace

Comment 2 Frederik 2018-03-28 15:26:20 UTC
Created attachment 1414281 [details]
File: cgroup

Comment 3 Frederik 2018-03-28 15:26:22 UTC
Created attachment 1414282 [details]
File: cpuinfo

Comment 4 Frederik 2018-03-28 15:26:24 UTC
Created attachment 1414283 [details]
File: environ

Comment 5 Frederik 2018-03-28 15:26:26 UTC
Created attachment 1414284 [details]
File: mountinfo

Comment 6 Frederik 2018-03-28 15:26:28 UTC
Created attachment 1414285 [details]
File: namespaces

Comment 7 Frederik 2018-03-28 15:26:29 UTC
Created attachment 1414286 [details]
File: open_fds

Comment 8 Miro Hrončok 2018-03-28 15:44:18 UTC
You cannot serve on port < 1000 without root.


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