Bug #2152
closed
foreman-proxy in foreground mode prevents server from booting
Added by Callum Scott almost 12 years ago.
Updated over 6 years ago.
Description
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.
- Project changed from Foreman to Smart Proxy
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.
- Category set to Packaging
- Assignee set to Greg Sutcliffe
- Status changed from New to Ready For Testing
- Assignee changed from Greg Sutcliffe to Dominic Cleal
- Target version set to 26
- Status changed from Ready For Testing to Resolved
- Target version changed from 26 to 1.2.0
- Target version deleted (
1.2.0)
Also available in: Atom
PDF