This bug was fixed in the package systemd - 229-4ubuntu21.28
---
systemd (229-4ubuntu21.28) xenial; urgency=medium
* d/t/logind: skip if nonexistent /sys/power/state (LP: #1862657)
* d/p/lp1839290-Change-job-mode-of-manager-triggered-restarts-to-JOB.patch:
- when restarting
This bug was fixed in the package systemd - 237-3ubuntu10.40
---
systemd (237-3ubuntu10.40) bionic; urgency=medium
* d/t/logind: skip if nonexistent /sys/power/state (LP: #1862657)
* d/p/lp1839290-Change-job-mode-of-manager-triggered-restarts-to-JOB.patch:
- when restarting
bionic:
ubuntu@lp1839290-b:~$ dpkg -l systemd|grep systemd
ii systemd237-3ubuntu10.39 amd64system and service manager
ubuntu@lp1839290-b:~$ systemctl cat foo
# /etc/systemd/system/foo.service
[Unit]
PartOf=bar.service
[Service]
ExecStart=/bin/sleep infinity
RestartSec=0s
xenial:
ubuntu@lp1839290-x:~$ dpkg -l systemd|grep systemd
ii systemd229-4ubuntu21.27 amd64system and service manager
ubuntu@lp1839290-x:~$ systemctl cat foo
# /etc/systemd/system/foo.service
# /etc/systemd/system/foo.service
[Unit]
PartOf=bar.service
[Service]
Hello Eugene, or anyone else affected,
Accepted systemd into xenial-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/systemd/229-4ubuntu21.28 in a few
hours, and then in the -proposed repository.
Please help us by testing this new package. See
Hello Eugene, or anyone else affected,
Accepted systemd into bionic-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/systemd/237-3ubuntu10.40 in a few
hours, and then in the -proposed repository.
Please help us by testing this new package. See
** Description changed:
[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'
** Bug watch removed: github.com/systemd/systemd/issues #11456
https://github.com/systemd/systemd/issues/11456
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1839290
Title:
systemd doesn't
Thank you, Dan, that is great news.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1839290
Title:
systemd doesn't restart a service after crashes
To manage notifications about this bug go to:
> Dan, is there any chance of this fix landing to xenial-proposed and
bionic-proposed?
this is in my queue and i'm planning to gather patches for some other
systemd bugs in my list starting next week.
https://code.launchpad.net/~ubuntu-support-team/ubuntu/+source/systemd/+git/systemd/+ref/next-x
Dan, is there any chance of this fix landing to xenial-proposed and
bionic-proposed?
Thanks.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1839290
Title:
systemd doesn't restart a service after
For Bionic the problem also seems to fixed in
systemd=237-3ubuntu10.40~next20200212b1
foo and bar service files are exactly the same as in #8
Restart fails with systemd=237-3ubuntu10.38:
pono@systemd-bionic-test:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
Thank you, Dan.
The PPA build indeed fixes the test case in #8, for Xenial at the very least.
Sending SIGABRT to foo.service's process now causes services to restart, just
as intended. Here are the logs from the very same Xenial machine, as in #8:
$ sudo apt install
@voldemark can you test with the systemd for Xenial and/or Bionic from
this ppa to make sure it's working for you:
https://launchpad.net/~ddstreet/+archive/ubuntu/systemd
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
@voldemark, very sorry it seems when I made comment 7 I must have missed
your comment 6, so I was unclear on why this was marked as affecting
Disco.
I've reproduced and will queue the patch for Bionic.
** Changed in: systemd (Ubuntu Disco)
Status: Incomplete => Fix Released
** Changed
Here is a minimal example, courtesy of bl33pbl0p from the github issue.
I've double-checked it and it is valid test case for this issue:
$ systemctl cat foo
# /etc/systemd/system/foo.service
[Unit]
PartOf=bar.service
[Service]
ExecStart=/bin/sleep infinity
RestartSec=0s
Restart=always
$
** 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
@voldemark, the testcase given in
https://github.com/systemd/systemd/issues/11456 doesn't appear to be
fixed in disco. Do you have an example testcase of your specific
problem that is fixed by the patch from
https://github.com/systemd/systemd/pull/11467
** Bug watch added:
Mathew, I've just checked the ubuntu-disco branch of systemd — it looks
like fix was backported in systemd=240-6ubuntu5 with a bunch of other
fixes, see debian/patches/Change-job-mode-of-manager-triggered-restarts-
to-JOB_REPL.patch. So disco was fixed before this bug was actually
filed.
Xenial
Disco is currently marked Fix Released. Which version of the Ubuntu
package was it fixed in?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1839290
Title:
systemd doesn't restart a service after
** Bug watch removed: github.com/systemd/systemd/issues #11456
https://github.com/systemd/systemd/issues/11456
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1839290
Title:
systemd doesn't
** Changed in: systemd
Status: Unknown => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1839290
Title:
systemd doesn't restart a service after crashes
To manage notifications
** Bug watch added: github.com/systemd/systemd/issues #11456
https://github.com/systemd/systemd/issues/11456
** Also affects: systemd via
https://github.com/systemd/systemd/issues/11456
Importance: Unknown
Status: Unknown
** Bug watch added: github.com/systemd/systemd/issues
** Changed in: systemd (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1839290
Title:
systemd doesn't restart a service after crashes
To manage
** Tags removed: next-ddstreet
** Tags added: bionic ddstreet xenial
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1839290
Title:
systemd doesn't restart a service after crashes
To manage
** Tags added: next-ddstreet
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1839290
Title:
systemd doesn't restart a service after crashes
To manage notifications about this bug go to:
** Changed in: systemd (Ubuntu Disco)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1839290
Title:
systemd doesn't restart a service after crashes
To manage
** Also affects: systemd (Ubuntu Disco)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1839290
Title:
systemd doesn't restart a service after crashes
To
** Tags removed: rls-xx-incoming
** Tags added: rls-x-incoming
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1839290
Title:
systemd doesn't restart a service after crashes
To manage notifications
** Changed in: systemd (Ubuntu)
Importance: Undecided => Medium
** Changed in: systemd (Ubuntu Xenial)
Importance: Undecided => Medium
** Changed in: systemd (Ubuntu Bionic)
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Ubuntu
Bugs,
Fix is in v241 and later upstream
** Also affects: systemd (Ubuntu Bionic)
Importance: Undecided
Status: New
** Also affects: systemd (Ubuntu Xenial)
Importance: Undecided
Status: New
** Changed in: systemd (Ubuntu)
Status: Confirmed => Fix Committed
--
You received
** Tags added: rls-xx-incoming
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1839290
Title:
systemd doesn't restart a service after crashes
To manage notifications about this bug go to:
The attachment "debdiff for xenial systemd branch" seems to be a
debdiff. The ubuntu-sponsors team has been subscribed to the bug report
so that they can review and hopefully sponsor the debdiff. If the
attachment isn't a patch, please remove the "patch" flag from the
attachment, remove the
Hello, everyone.
Here's a debdiff patch with a backport of upstream patch to xenial
branch of systemd.
I've successfully built a modified source and deployed it to some xenial
machines — it works as intended, failed service restart correctly, just
as intended by Restart=always policy.
Before:
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: systemd (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1839290
Title:
35 matches
Mail list logo