Hi, I believe gitea should provide a file /usr/lib/tmpfiles.d/gitea.conf with the content d /run/gitea 0755 git git When I restart my machine that uses OpenRc, I need to create that directory manually. Otherwise gitea won't be able to write its socket file.
Hi, I'm not sure about this since it is not mandatory to use a unix-socket - tcp sockets just work fine (there have been issue with unix-socket in the past), right? Anyway I would be fine to add that, however what are the arguments against using /etc/tmpfiles.d ?
okay, included in the next version
Hi Felix, thank you. I understand your argument regarding that sockets are not mandatory and therefore the tmpfiles.d configuration would not be needed for auch configuration. The main argument I see against /etc/tmpfiles.d is that it will override the settings in /usr/lib/tmpfiles.d and therefore I would have to change the configuration file provided by the package in case I want to override the configuration. I believe that putting it in /usr/lib/tmpfiles.d has the advantage that I do not need to merge configurations after an update in case I need to override the defaults provided by the package. Thank you very much for including it.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0632e600cea736adec48417e0885d3860dcd1270 commit 0632e600cea736adec48417e0885d3860dcd1270 Author: Felix Neumärker <xdch47@posteo.de> AuthorDate: 2019-08-02 10:28:30 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2019-11-07 05:42:29 +0000 www-apps/gitea: bump to 1.9.5 Closes: https://bugs.gentoo.org/687148 Closes: https://bugs.gentoo.org/690838 Closes: https://bugs.gentoo.org/693536 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Felix Neumärker <xdch47@posteo.de> Signed-off-by: Joonas Niilola <juippis@gentoo.org> www-apps/gitea/Manifest | 1 + www-apps/gitea/files/gitea-logflags.patch | 13 ++++ www-apps/gitea/files/gitea-mod-vendor.patch | 46 ++++++++++++ www-apps/gitea/gitea-1.9.5.ebuild | 111 ++++++++++++++++++++++++++++ www-apps/gitea/metadata.xml | 7 +- 5 files changed, 174 insertions(+), 4 deletions(-)