FS#52510 - [gitlab] Multiple errors because of incompatible systemd unit-file options
Attached to Project:
Community Packages
Opened by Kovacs Bela (kovacsbe9) - Thursday, 12 January 2017, 14:01 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Monday, 16 January 2017, 11:00 GMT
Opened by Kovacs Bela (kovacsbe9) - Thursday, 12 January 2017, 14:01 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Monday, 16 January 2017, 11:00 GMT
|
Details
Description:
Had an issue when gitlab can not create anything in the /usr/share/webapps/gitlab/tmp folder after updating from a previous version. It produced a various range of errors in my system: * Failing startups * HTTP 500 errors on zip downloads * HTTP 500 errors when creating new groups * etc.. Found out it was because "ProtectSystem=full" option was present in the Arch supplied systemd unit files. The mentioned option make /usr read-only for the running process. Additionally please see this issue in the upstream forums: https://gitlab.com/gitlab-org/gitlab-workhorse/issues/27 Although the issue is workhorse specific, the root cause persists in the whole Arch gitlab package. I think removing the mentioned systemd option is not a reasonable solution, it will decrease security. Additional info: * gitlab 8.15.3-1 (x86_64) Steps to reproduce: After |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Monday, 16 January 2017, 11:00 GMT
Reason for closing: Not a bug
Monday, 16 January 2017, 11:00 GMT
Reason for closing: Not a bug
Steps to reproduce:
After installation create a repository, push a commit and try to download a zip file.
The zip download process tries to create a "repositories" subfolder in the "/usr/share/webapps/gitlab/tmp" folder, which fails and gitlab returns HTTP 500.
Pacman did not updated the configuration files as they contained custom values (like the hostname).
This explains the mentioned issues. Sorry for bothering you with this ticket. I think this ticket can be closed now.