The variables from /etc/conf.d/drone-server are not passed on to the drone-server. Reproducible: Always Steps to Reproduce: 1. Configure drone-server in /etc/conf.d/drone-server 2. Run /etc/init.d/drone-server start 3. Read /var/log/drone-server/drone-server.log Actual Results: drone-server didn't start, logfile reads: […] level=fatal msg="DRONE_HOST is not properly configured" Expected Results: drone-server starts, configured with the variables in /etc/conf.d/drone-server.
(In reply to tastytea from comment #0) > The variables from /etc/conf.d/drone-server are not passed on to the > drone-server. > > Reproducible: Always > > Steps to Reproduce: > 1. Configure drone-server in /etc/conf.d/drone-server > 2. Run /etc/init.d/drone-server start > 3. Read /var/log/drone-server/drone-server.log > Actual Results: > drone-server didn't start, logfile reads: > […] level=fatal msg="DRONE_HOST is not properly configured" > > Expected Results: > drone-server starts, configured with the variables in > /etc/conf.d/drone-server. I have the same bug. Is there a patch available?
(In reply to David from comment #1) > I have the same bug. Is there a patch available? The only solution I have found is to pass each and every variable to start-stop-daemon, with -e DRONE_HOST="${DRONE_HOST}" -e DRONE_SECRET="${DRONE_SECRET}" and so on.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5b240ddba057505444ea9c5de375a5f5c232335 commit f5b240ddba057505444ea9c5de375a5f5c232335 Author: William Hubbs <williamh@gentoo.org> AuthorDate: 2023-08-09 17:41:58 +0000 Commit: William Hubbs <williamh@gentoo.org> CommitDate: 2023-08-09 17:45:37 +0000 dev-util/drone: add 2.18.0 Closes: https://bugs.gentoo.org/665748 Closes: https://bugs.gentoo.org/842030 Closes: https://github.com/gentoo/gentoo/pull/29817 Signed-off-by: William Hubbs <williamh@gentoo.org> dev-util/drone/Manifest | 2 + dev-util/drone/drone-2.18.0.ebuild | 36 ++++++++++++++ dev-util/drone/files/drone-server.conf | 81 +++++++++++++++++++++++++++++++ dev-util/drone/files/drone-server.confd | 47 ------------------ dev-util/drone/files/drone-server.initd | 19 ++++++-- dev-util/drone/files/drone-server.service | 25 ++++++++++ 6 files changed, 159 insertions(+), 51 deletions(-)