Package: gitlab-runner
Version: 14.7.0
Severity: important

Dear Maintainer,

When upgrading the gitlab-runner package with `apt-get dist-upgrade` the 
package installer overwrites this file:

  /etc/systemd/system/gitlab-runner.service

Any upgrade of gitlab-runner via this package results in the service definition 
being obliterated, thus the ExecStart line for the service being reset to 
defaults.

Consequently any custom parameters the user may have set, such as system user 
or working directory, get lost and gitlab-runner is not functional until the 
user manually restores their previous settings and reloads systemctl.

I would expeect the installer to *not* overwrite this file during an upgrade, 
because it has very likely been altered by the user to carry custom settings 
for the daemon.

-- System Information:
Debian Release: 10.11
  APT prefers oldoldstable
  APT policy: (500, 'oldoldstable'), (500, 'oldstable'), (1, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-10-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply via email to