Skip to content

emerge gitlab-18.3.1 fails to install OpenRC init files

The following error shows up in the build log:

Installing OpenRC init.d files
sed: can't read /var/tmp/notmpfs/portage/www-apps/gitlab-18.3.1/files/gitlab.init.puma_start: No such file or directory

So the bug is due to some of the gitlab.init.* files incorrectly retaining the version number from the earlier naming scheme.

Edit: Actually, after taking a closer look, the bug is due to the sed command before newinitd having the same file as both its input and output, which results in an empty output file.

Edited by Abulhair Saparov