Bug #28041
closed
Smart proxy is unable to bind port < 1024
Added by Lukas Zapletal over 5 years ago.
Updated almost 4 years ago.
Description
Symtoms are that systemd unit timeouts, no error message appears in logs tho and the port is not started.
Note that the Linux kernel denies this capability since the service is started as a normal user.
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)
- Status changed from New to Rejected
Also available in: Atom
PDF