Project

General

Profile

Actions

Bug #2152

closed

foreman-proxy in foreground mode prevents server from booting

Added by Callum Scott about 11 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Packaging
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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.


Related issues 1 (0 open1 closed)

Has duplicate Smart Proxy - Bug #2208: Init script hangs forever when daemonize is set to falseClosedSam Kottler02/13/2013Actions
Actions #1

Updated by Dominic Cleal about 11 years ago

  • Project changed from Foreman to Smart Proxy
Actions #2

Updated by Greg Sutcliffe about 11 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.

Actions #3

Updated by Greg Sutcliffe about 11 years ago

  • Category set to Packaging
  • Assignee set to Greg Sutcliffe
Actions #4

Updated by Dominic Cleal about 11 years ago

  • Status changed from New to Ready For Testing
  • Assignee changed from Greg Sutcliffe to Dominic Cleal
  • Target version set to 26
Actions #5

Updated by Dominic Cleal about 11 years ago

  • Status changed from Ready For Testing to Resolved

merged

Actions #6

Updated by Dominic Cleal almost 11 years ago

  • Target version changed from 26 to 1.2.0
Actions #7

Updated by Greg Sutcliffe over 5 years ago

  • Target version deleted (1.2.0)
Actions

Also available in: Atom PDF