Summary: | net-misc/sslh: sslh-fork.c:110:connect: Connection refused | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Thomas Deutschmann (RETIRED) <whissi> |
Component: | Current packages | Assignee: | Michael Palimaka (kensington) <kensington> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | candrews |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Thomas Deutschmann (RETIRED)
![]() Adding
> command_background="yes"
to the runscript is doing the trick.
I am not yet really happy with it. I created a configuration file an updated DAEMON_OPTS to use "-F/etc/sslh.cfg". I had a syntax error in my config file but runscript didn't detect that sslh died after start. You normally add something like > start_stop_daemon_args="--wait 1000" in that case. But doing that won't work due to > * start-stop-daemon: caught an interrupt which is clashing with the way OpenRC is forcing the service into background. Removing 'command_background' instead and force "--background" as DAEMON_OPTS doesn't work like expected, i.e. sslh doesn't close fd like expected so you will still get any output on the terminal where you started that service. Using "--foreground" requires "command_background" but will prevent any output, including syslog :/ Is this bug still relevant with 1.22c? |