Project

General

Profile

Actions

Bug #28041

closed

Smart proxy is unable to bind port < 1024

Added by Lukas Zapletal over 4 years ago. Updated over 2 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Core
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Symtoms are that systemd unit timeouts, no error message appears in logs tho and the port is not started.

Actions #1

Updated by Ewoud Kohl van Wijngaarden over 4 years ago

Note that the Linux kernel denies this capability since the service is started as a normal user.

Actions #2

Updated by Lukas Zapletal over 2 years ago

It prints this which is I think sufficient:

    12: from /home/lzap/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/logging-2.3.0/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
    11: from /home/lzap/work/smart-proxy/lib/launcher.rb:178:in `block in launch'
    10: from /home/lzap/work/smart-proxy/lib/launcher.rb:157:in `webrick_server'
     9: from /home/lzap/work/smart-proxy/lib/launcher.rb:157:in `each'
     8: from /home/lzap/work/smart-proxy/lib/launcher.rb:157:in `block in webrick_server'
     7: from /home/lzap/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/webrick-1.7.0/lib/webrick/ssl.rb:165:in `listen'
     6: from /home/lzap/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/webrick-1.7.0/lib/webrick/utils.rb:60:in `create_listeners'
     5: from /home/lzap/.rbenv/versions/2.7.2/lib/ruby/2.7.0/socket.rb:763:in `tcp_server_sockets'
     4: from /home/lzap/.rbenv/versions/2.7.2/lib/ruby/2.7.0/socket.rb:227:in `foreach'
     3: from /home/lzap/.rbenv/versions/2.7.2/lib/ruby/2.7.0/socket.rb:227:in `each'
     2: from /home/lzap/.rbenv/versions/2.7.2/lib/ruby/2.7.0/socket.rb:765:in `block in tcp_server_sockets'
     1: from /home/lzap/.rbenv/versions/2.7.2/lib/ruby/2.7.0/socket.rb:201:in `listen'
/home/lzap/.rbenv/versions/2.7.2/lib/ruby/2.7.0/socket.rb:201:in `bind': Permission denied - bind(2) for [::]:84 (Errno::EACCES)
Actions #3

Updated by Lukas Zapletal over 2 years ago

  • Status changed from New to Rejected
Actions

Also available in: Atom PDF