Your message dated Tue, 26 May 2026 10:24:35 +0000
with message-id <[email protected]>
and subject line Bug#1137381: Removed package(s) from unstable
has caused the Debian Bug report #877778,
regarding gitlab: systemd configuration of unicorn tears down gitlab service on
reload
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
877778: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=877778
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gitlab
Version: 8.13.11+dfsg1-8
Severity: normal
Tags: patch
Dear Maintainer,
gitlab-unicorn.service is capable of reloads but systemd is unable to
keep track of the changing PID in its current gitlab-unicorn.service
configuration.
If gitlab-unicorn.service gets a reload it forks a new master process
and labels the old master process as (old). The PID of the new master
process gets written to /run/gitlab/unicorn.pid (default) as configured by the
gitlab_pid_path in gitlab-debian.conf. The new master process waits
until the worker processes are ready and then reaps the old master and
its worker just to spawn the new workers from the new master. But unfortunately
systemd doesn't know of this new PID and the location of the PIDFile and
thinks that the process was shut down and as it is a dependency of
gitlab it also shuts down gitlab.service and dependend services.
To avoid that the gitlab-unicorn.service tears down the whole
gitlab.service on reload and to actually enable the unicorn reload as
designed, it is necessary to configure the PIDFile used by unicorn in
systemd. This results in the old and new master processes replacing eachother
in systemd and the unicorn service remains up and running and won't shut down
gitlab.
I will provide a patch and attach it here.
Best
--
Patrik Hagedorn
System Developer - Data Center Automation
ProfitBricks GmbH
Greifswalder Str. 207
D - 10405 Berlin
Email: [email protected]
URL: https://www.profitbricks.de
Sitz der Gesellschaft: Berlin
Registergericht: Amtsgericht Charlottenburg, HRB 125506 B
Geschäftsführer: Achim Weiss, Matthias Steinberg
--- End Message ---
--- Begin Message ---
Version: 17.6.5-19+rm
Dear submitter,
as the package gitlab has just been removed from the Debian archive
unstable we hereby close the associated bug reports. We are sorry
that we couldn't deal with your issue properly.
For details on the removal, please see https://bugs.debian.org/1137381
The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.
Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.
This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].
Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)
--- End Message ---