Skip to content

systemd files missing on Ubuntu in 17.5.0

Summary

The systemd files are missing in the Debian packages for Ubuntu in version 17.5.0. This broke all our Runners because they have unattended-upgrades enabled.

Steps to reproduce

Upgrade the Runner to 17.5.0

Actual behavior

Runners do not start automatically anymore

Expected behavior

Runners still work after upgrade.

Relevant logs and/or screenshots

GitLab Runner systemd file in 17.5.0:

# systemctl status gitlab-runner
Unit gitlab-runner.service could not be found.
# systemctl status gitlab-multi-runner
Unit gitlab-multi-runner.service could not be found.
# gitlab-runner status
gitlab-runner: the service is not installed

GitLab runner systemd file in 17.4.1:

systemctl status gitlab-runner
● gitlab-runner.service - GitLab Runner
     Loaded: loaded (/etc/systemd/system/gitlab-runner.service; enabled; vendor preset: enabled)
     Active: active (running) since Fri 2024-10-18 07:15:20 UTC; 3min 30s ago

Environment description

Ubuntu 22.04 using the GitLab runner install script.

Used GitLab Runner version

gitlab-runner --version
Version:      17.5.0
Git revision: 66a723c3
Git branch:   17-5-stable
GO version:   go1.22.7
Built:        2024-10-17T15:26:50+0000
OS/Arch:      linux/amd64

Possible fixes

Edited by Tan Siewert