systemd doesn't restart a service after crashes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd |
Fix Released
|
Unknown
|
|||
systemd (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Xenial |
Fix Released
|
Medium
|
Dan Streetman | ||
Bionic |
Fix Released
|
Medium
|
Dan Streetman | ||
Disco |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[impact]
when a service configured to restart crashes, under certain configurations, that service is not correctly restarted.
[test case]
see comment 8
[regression potential]
this changes the job mode of manager-triggered restarts to 'replace' any existing queued job(s), instead of failing if there are queued job(s). thus any regressions would occur when a service fails, that is configured to restart on failure.
[scope]
This is needed only for Xenial and Bionic.
this is fixed with commit 03ff2dc71ecb092
Fixed in Disco with the backported v240 patch from
https:/
[other info]
original description:
---
Affected versions of OS and systemd:
$ cat /etc/issue
Ubuntu 16.04.6 LTS \n \l
$ systemd --version
systemd 229
+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN
Affected packages:
systemd 229-4ubuntu21.22 and previous versions.
Expected behaviour you didn't see:
Scheduling restart of failed service.
A process crashed by sigabrt and didn't restart.
Description:
The bug was reported to a systemd upstream repository: https:/
The bug was fixed and accepted to the master branch: https:/
Action:
Include this patch to Ubuntu 16.04 and other version of Ubuntu which are supported.
tags: | added: systemd |
affects: | launchpad → systemd (Ubuntu) |
summary: |
- systemd dosn't restart a service after crashes + systemd doesn't restart a service after crashes |
description: | updated |
tags: | added: rls-xx-incoming |
Changed in systemd (Ubuntu): | |
importance: | Undecided → Medium |
Changed in systemd (Ubuntu Xenial): | |
importance: | Undecided → Medium |
Changed in systemd (Ubuntu Bionic): | |
importance: | Undecided → Medium |
tags: |
added: rls-x-incoming removed: rls-xx-incoming |
Changed in systemd (Ubuntu Disco): | |
status: | New → Fix Released |
tags: | added: next-ddstreet |
tags: |
added: bionic ddstreet xenial removed: next-ddstreet |
Changed in systemd (Ubuntu): | |
status: | Fix Committed → Fix Released |
Changed in systemd: | |
status: | Unknown → Fix Released |
tags: | removed: bionic ddstreet systemd xenial |
Changed in systemd (Ubuntu Disco): | |
status: | Fix Released → Incomplete |
Changed in systemd (Ubuntu Bionic): | |
status: | New → Incomplete |
Changed in systemd (Ubuntu Xenial): | |
status: | New → Incomplete |
Changed in systemd (Ubuntu Disco): | |
importance: | Undecided → Medium |
description: | updated |
description: | updated |
Status changed to 'Confirmed' because the bug affects multiple users.