www-misc/shellinabox does not support logging other than via stdout and stderr. I did this to enable logging through startstopdaemon: # /etc/conf.d/shellinaboxd LOGFILE="/var/log/shellinabox.log" # /etc/init.d/shellinabox start() { ebegin "Starting ${my_daemon}" start-stop-daemon \ --start \ --background \ --pidfile ${pidfile} \ --make-pidfile \ --exec ${command} \ -1 ${LOGFILE} -2 ${LOGFILE} \ -- ${command_args} eend $? }
Of course you need to add --verbose or --debug to "SIAB_OPTS=" in conf.d.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ff77dc01dcdf7fac4d59c94b4159fbf903853a0 commit 5ff77dc01dcdf7fac4d59c94b4159fbf903853a0 Author: Patrice Clement <monsieurp@gentoo.org> AuthorDate: 2019-12-11 20:34:27 +0000 Commit: Patrice Clement <monsieurp@gentoo.org> CommitDate: 2019-12-11 20:39:57 +0000 www-misc/shellinabox: instruct daemon to log to a file. Closes: https://bugs.gentoo.org/702182 Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Patrice Clement <monsieurp@gentoo.org> www-misc/shellinabox/files/shellinaboxd.conf | 15 +++++++++------ www-misc/shellinabox/files/shellinaboxd.init | 5 +++-- www-misc/shellinabox/shellinabox-2.20-r1.ebuild | 2 +- 3 files changed, 13 insertions(+), 9 deletions(-)