After reinstalling my server and doing a fresh (upgraded) install of sslh it no longer starts. running it outside of init.d, using the binary and conf.d/sslh's options, the binary gets a permission denied on /var/run/sslh.pid, most probably when trying to create the pid. Adding --user root to the sslh OPTIONS in conf.d/sslh allows sslh to work without any problems. On the sslh homepage it is listed that sslh does not require root to operate (I suppose they drop priviledges after binding to a port under 1024). Whilst testing without the --user root option, I changed permissions of /var/run to allow o+w, yet still it was not allowed to write. Either sslh has a small permission bug somewhere, or sslh ebuild needs to set certain things up better. (/var/run/sslh with its pid in it owned by sslh? and a user sslh added?) Reproducible: Always
$ cat metadata.xml <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> </pkgmetadata> oh
This should be fixed upstream in 1.13
I have bumped the version and it is working well for me. Please reopen if you have further issues.