| Summary: | www-apps/gitea doesn't start when using OpenRC | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Joel <joel> |
| Component: | Current packages | Assignee: | Manuel Rüger (RETIRED) <mrueg> |
| Status: | RESOLVED TEST-REQUEST | ||
| Severity: | normal | CC: | perlovka |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Joel
2017-03-15 10:46:36 UTC
commit cea04f6dcd302057b96b40b268cd5eb8f0529b63 Author: Manuel Rüger <mrueg@gentoo.org> Date: Sun Mar 19 22:34:12 2017 +0100 www-apps/gitea: Fix path in config file Gentoo-Bug: #612698 Package-Manager: Portage-2.3.5, Repoman-2.3.1 The app.ini must be set to: ISSUE_INDEXER_PATH = ${GITEA_PREFIX}/indexers/issues.bleve# I've added the following lines to the app.ini file configuration:
ISSUE_INDEXER_PATH = ${GITEA_PREFIX}/indexers/issues.bleve
And when this failed, I changed it to:
ISSUE_INDEXER_PATH = /var/lib/gitea/indexers/issues.bleve
And it still fails.
If I execute the gitea manually (with the same command OpenRC will execute), gitea works. If I do it through OpenRC, it fails. Maybe OpenRC is missing some variable?
Can you test with 1.1.2? Please do not replace all relative paths within ini file.
Bacause:
1. It's hard to track all upstream changes (REPO_INDEXER_PATH,CERT_FILE,KEY_FILE are not being changed for now [v1.3.0]).
2. Sed commands in ebuild are wrong:
"s#^ISSUE_INDEXER_PATH =#ISSUE_INDEXER_PATH = ${GITEA_PREFIX}/indexers/issues.bleve#"
leads to:
ISSUE_INDEXER_PATH = /var/lib/gitea/indexers/issues.bleve indexers/issues.bleve
Just pass environment variable GITEA_WORK_DIR instead of GITEA_CUSTOM and change only nesessary paths (like logs etc.)
Also, I suppose that changing default GITEA_CUSTOM path (GITEA_WORK_DIR/custom) is not a good idea.
Thanks.
Please test again with gitea-1.4.1 and reopen if still broken |