Pengwin
Pengwin copied to clipboard
docker-relay kills unrelated socat processes
Describe the bug
The docker relay script seems to kill all socat processes, even unrelated ones. https://github.com/WhitewaterFoundry/pengwin-setup/blob/91e471be48736fe3f7aa92154e868b191e951b4e/pengwin-setup.d/docker.sh#L83
You can probably fix this with either a PID file or by symlinking socat with a different name and then invoking it that way. Then you can killall socat-symlink-for-docker-relay.
To Reproduce Steps to reproduce the behavior:
In a Pengwin Console:
sudo killall --quiet socat
socat UNIX-LISTEN:$HOME/doing-something-useful-with-socat,fork 'EXEC:echo foo'
Open a new Pengwin shell, causing docker-relay to run.
Long-lived socat process in first console has been killed.
Expected behavior
Unrelated socat processes are not killed.
We will fix that. Thank you for reporting