Bug 1144741 - bug: authbind does not work
bug: authbind does not work
Status: NEW
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Network
Other Other
: P5 - None : Normal (vote)
: ---
Assigned To: Panagiotis Georgiadis
E-mail List
Depends on:
  Show dependency treegraph
Reported: 2019-08-07 17:45 UTC by Jon Brightwell
Modified: 2019-08-08 02:24 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---

strace (8.77 KB, text/plain)
2019-08-07 17:45 UTC, Jon Brightwell

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Brightwell 2019-08-07 17:45:58 UTC
Created attachment 813211 [details]

Gives permission denied. Fresh install. Testing for another user who reported the problem on reddit.

total 0
drwxr-xr-x 1 root    root  4 Aug  7 18:21 .
drwxr-xr-x 1 root    root 34 Aug  7 18:21 ..
-rwxrw-rw- 1 moozaad root  0 Aug  7 18:21 80

You can see it's owned by moozaad with 766. Running as moozaad gives

> authbind nc -l -p 80 
nc: Permission denied

example with python3

> authbind python3 -m http.server 80
Traceback (most recent call last):
  File "/usr/lib64/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib64/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/lib64/python3.7/http/server.py", line 1262, in <module>
    test(HandlerClass=handler_class, port=args.port, bind=args.bind)
  File "/usr/lib64/python3.7/http/server.py", line 1230, in test
    with ServerClass(server_address, HandlerClass) as httpd:
  File "/usr/lib64/python3.7/socketserver.py", line 452, in __init__
  File "/usr/lib64/python3.7/http/server.py", line 137, in server_bind
  File "/usr/lib64/python3.7/socketserver.py", line 466, in server_bind
PermissionError: [Errno 13] Permission denied

ss shows nothing already on the port.

I've watched lsof and can't even see the helper being called.