Bug 1144741

Summary: bug: authbind does not work
Product: [openSUSE] openSUSE Tumbleweed Reporter: Jon Brightwell <jon>
Component: NetworkAssignee: Panagiotis Georgiadis <pgeorgiadis>
Status: NEW --- QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: alynx.zhou
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: strace

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.