[Bug 1702823] Re: Systemd fails to serialize tasks correctly on daemon-reload
Brian Murray
brian at ubuntu.com
Thu Sep 7 18:05:00 UTC 2017
Hello ChristianEhrhardt, or anyone else affected,
Accepted systemd into zesty-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/systemd/232-21ubuntu6
in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-zesty to verification-done-zesty. If it does not fix
the bug for you, please add a comment stating that, and change the tag
to verification-failed-zesty. In either case, details of your testing
will help us make a better decision.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance!
** Changed in: systemd (Ubuntu Zesty)
Status: In Progress => Fix Committed
** Tags added: verification-needed verification-needed-zesty
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1702823
Title:
Systemd fails to serialize tasks correctly on daemon-reload
Status in systemd:
Fix Released
Status in systemd package in Ubuntu:
Fix Released
Status in systemd source package in Zesty:
Fix Committed
Status in systemd source package in Artful:
Fix Released
Status in systemd package in Debian:
Fix Released
Bug description:
[Impact]
A unit with multiple Exec stanzas will loose execution state (which stanzas, out of multiple, have executed or not) upon systemd daemon-reload during the execution of these stanzas. This results in lost data/state, and units potentially failing to start/restart in unpredictable manner
[Testcase]
Setup a race of a unit with multiple exec stanzas (e.g. echo, sleep, echo) and execute daemon-reload whilst that is in progress. The execution state should persist across daemon-reload with all exec stanzas completing, in order, without duplicates.
[Original Bug report]
Hi,
I was initially tracking down a libvirt bug [1], but happened to realize it is actually a general systemd issue.
From there I got to file, discuss and test [2].
For now I file the bug to be ablte to do my tests correctly, but if it
really fixes the issue I'd like to suggest to fix it in the release -
so better file upfront and do even my test patches right.
[1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=867379
[2]: https://github.com/systemd/systemd/issues/6299.
[Regression Potential]
Minimal, this is a fix for incorrect upstream behaviour which resolves a racy condition. The code changes are upstream reviewed cherry-pick.
To manage notifications about this bug go to:
https://bugs.launchpad.net/systemd/+bug/1702823/+subscriptions
More information about the foundations-bugs
mailing list