Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 714844 - www-apps/gitea: missing configuration files
Summary: www-apps/gitea: missing configuration files
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Pierre-Olivier Mercier
URL:
Whiteboard:
Keywords: Bug
Depends on:
Blocks:
 
Reported: 2020-03-26 13:13 UTC by Szymon Scholz
Modified: 2020-05-02 22:36 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Szymon Scholz 2020-03-26 13:13:19 UTC
After installation i wanted to see if gitea service is working, but is not

Sample configuration is provided by package -> /usr/share/doc/gitea-${pkgver}/app.ini.sample.bz2

Reproducible: Always

Steps to Reproduce:
1. emerge gitea
2. rc-service gitea status
3. see error
Actual Results:  
gitea: `/etc/gitea/app.ini' is not readable

Expected Results:  
see copy of sample configuration file in /etc/gitea/

This bug is not related to my configuration/programs i run.

I've used sqlite use flag.

It's missing on ARM64 architecture, i cannot test it on other, so probably all architectures should be reviewed
Comment 1 Tomáš Mózes 2020-03-26 21:06:19 UTC
Please don't CC arches.
Comment 2 Pierre-Olivier Mercier 2020-04-17 09:24:26 UTC
Hi Szymon,

Please provide your build.log.

Actually, the configuration file in unconditionally copied and is present at the given location. See the common expected installation tree:

./
./var/
./var/log/
./var/log/gitea/
./var/log/gitea/.keep_www-apps_gitea-0
./var/lib/
./var/lib/gitea/
./var/lib/gitea/.keep_www-apps_gitea-0
./var/lib/gitea/data/
./var/lib/gitea/data/.keep_www-apps_gitea-0
./var/lib/gitea/custom/
./var/lib/gitea/custom/.keep_www-apps_gitea-0
./lib/
./lib/systemd/
./lib/systemd/system/
./lib/systemd/system/gitea.service
./etc/
./etc/gitea/
./etc/gitea/app.ini
./etc/init.d/
./etc/init.d/gitea
./etc/conf.d/
./etc/conf.d/gitea
./usr/
./usr/lib/
./usr/lib/tmpfiles.d/
./usr/lib/tmpfiles.d/gitea.conf
./usr/share/
./usr/share/doc/
./usr/share/doc/gitea-1.11.4/
./usr/share/doc/gitea-1.11.4/README.md.bz2
./usr/share/doc/gitea-1.11.4/app.ini.sample.bz2
./usr/share/doc/gitea-1.11.4/CONTRIBUTING.md.bz2
./usr/bin/
./usr/bin/gitea
Comment 3 Szymon Scholz 2020-05-02 22:36:11 UTC
it was probably my bad, sorry for taking your time. Probably i just "ls /etc/gitea/" as unprivileged user. After installation i just rc-service gitea status but there probably i should first start the service.

Anyway i cannot reproduce it now, cos my rpi4 is in unusable state. For me it's closed issue.

Again, sorry :/