Project

General

Profile

Actions

Bug #28120

closed

Silent failure to start if can't access /var/run/foreman-proxy directory in daemon mode

Added by ina vasilevskaya over 4 years ago. Updated over 2 years ago.

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

Description

---
:bind_host: ['*']
:http_port: 8000
:daemon: true
:log_file: /var/log/foreman-proxy/proxy.log
:log_level: DEBUG
:daemon_pid: /var/run/foreman-proxy/foreman-proxy.pid

With the following smart-proxy config, regardless of DEBUG level, the logs will contain plain "[E] Error during startup, terminating" without any details what's wrong.

Actions #1

Updated by Ewoud Kohl van Wijngaarden about 4 years ago

Which operating system are you on? It may be that /var/run is on a tmpfs and the directory isn't created but on systemd based platforms we should run the proxy in the foreground and the pid shouldn't be used.

Actions #2

Updated by Ewoud Kohl van Wijngaarden almost 3 years ago

  • Status changed from New to Need more information
Actions #3

Updated by Ewoud Kohl van Wijngaarden over 2 years ago

  • Status changed from Need more information to Rejected
Actions

Also available in: Atom PDF