I installed a game server that needed no options, so I commented STEAMCMD_OPTS out. I expected the variable to be empty, instead it was set to options for Half Life. If I set the variable to "", the openrc service won't start. Please comment the variables in /etc/conf.d/steamcmd out and make it possible to have an empty STEAMCMD_OPTS. Reproducible: Always Steps to Reproduce: 1. Install a game server that need no options (Starbound) 2. Create /etc/conf.d/steamcmd.foo 3. Comment STEAMCMD_OPTS out 4. Start openrc service script Actual Results: Openrc used the commandline options from /etc/conf.d/steamcmd, the server crashed. Expected Results: Empty STEAMCMD_OPTS. Workaround: Set STEAMCMD_OPTS=" "
(In reply to tastytea from comment #0) > Please comment the variables in /etc/conf.d/steamcmd out and make it > possible to have an empty STEAMCMD_OPTS. Thanks for the report! Agreed. Will comment them out.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adddad6312b1de41a1570d2529cf71fdb68d25fb commit adddad6312b1de41a1570d2529cf71fdb68d25fb Author: Conrad Kostecki <conrad@kostecki.com> AuthorDate: 2018-09-04 21:23:54 +0000 Commit: Patrice Clement <monsieurp@gentoo.org> CommitDate: 2018-09-10 13:23:28 +0000 games-server/steamcmd: don't set default values for conf.d. Also bump to EAPI=7. Closes: https://bugs.gentoo.org/665158 Package-Manager: Portage-2.3.48, Repoman-2.3.10 Closes: https://github.com/gentoo/gentoo/pull/9781 games-server/steamcmd/files/steamcmd.confd-r1 | 15 ++++++++ games-server/steamcmd/files/steamcmd.initd-r1 | 32 +++++++++++++++++ games-server/steamcmd/steamcmd-1.0-r1.ebuild | 51 +++++++++++++++++++++++++++ 3 files changed, 98 insertions(+)