foreman-proxy in foreground mode prevents server from booting
Having ":daemon: false" set in /etc/foreman-proxy/settings.yaml prevents the server coming back up in the event of a reboot.
I was able to telnet to the server on port 8433 but as the smart-proxy starts before openssh I was unable to ssh onto the server.
I was unable to get to a command prompt on the console, and had to recover by booting into a live environment and mounting the HDD to edit the yaml file and daemonize the proxy.
If the the proxy is set not to daemonize then it shouldn't be started at boot time.
#2 Updated by Greg Sutcliffe over 6 years ago
This is a packaging problem - the proxy can't tell if it's a boot-start or not, so it needs to be handled in the initscripts. The Sys-V init scripts would be easy enough to alter, but the Systemd ones might be harder, as they don't contain the same arbitrary logic.
#4 Updated by Dominic Cleal over 6 years ago
- Status changed from New to Ready For Testing
- Assignee changed from Greg Sutcliffe to Dominic Cleal
- Target version set to 26