Activity log for bug #1819728

Date Who What changed Old value New value Message
2019-03-12 15:49:35 Michael Vogt bug added bug
2019-03-12 15:49:35 Michael Vogt attachment added debdiff with a port of the fix in PR#8803 https://bugs.launchpad.net/bugs/1819728/+attachment/5245665/+files/fix-systemctl-race-8803.debdiff
2019-03-12 15:51:30 Michael Vogt summary Please backport " fix race between daemon-reload and other commands #8803 " Please backport "fix race between daemon-reload and other commands #8803" to 16.04 (for UC16)
2019-03-12 15:51:45 Michael Vogt nominated for series Ubuntu Bionic
2019-03-12 15:51:45 Michael Vogt bug task added systemd (Ubuntu Bionic)
2019-03-12 15:51:45 Michael Vogt nominated for series Ubuntu Xenial
2019-03-12 15:51:45 Michael Vogt bug task added systemd (Ubuntu Xenial)
2019-03-12 16:22:48 Ubuntu Foundations Team Bug Bot tags patch
2019-03-13 06:07:15 Michael Vogt description On Ubuntu Core we recently hit the a race in daemon-reload and systemctl twice. This race is fixed in systemd upstream: "fix race between daemon-reload and other commands #8803". To reproduce its enough to run: for i in $(seq 50); do systemctl daemon-reload & systemctl start ssh & done This will result in "systemctl start ssh" hanging in ppoll. With the patch applied the hangs go away. On Ubuntu Core we recently hit the a race in daemon-reload and systemctl twice. This race is fixed in systemd upstream: "fix race between daemon-reload and other commands #8803". To reproduce its enough to run: for i in $(seq 50); do   systemctl daemon-reload &   systemctl start ssh & done This will result in "systemctl start ssh" hanging in ppoll. With the patch applied the hangs go away. This change is already in the systemd in cosmic+
2019-03-13 06:43:35 Michael Vogt attachment added debdiff with a port of the fix in PR#8803 for bionic https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1819728/+attachment/5245782/+files/systemd_237-3ubuntu10.15.1.debdiff
2019-03-13 06:44:47 Michael Vogt summary Please backport "fix race between daemon-reload and other commands #8803" to 16.04 (for UC16) Please backport "fix race between daemon-reload and other commands #8803" to 16.04 (for UC16) and 18.04 (for UC18)
2019-03-13 10:22:53 Michael Vogt description On Ubuntu Core we recently hit the a race in daemon-reload and systemctl twice. This race is fixed in systemd upstream: "fix race between daemon-reload and other commands #8803". To reproduce its enough to run: for i in $(seq 50); do   systemctl daemon-reload &   systemctl start ssh & done This will result in "systemctl start ssh" hanging in ppoll. With the patch applied the hangs go away. This change is already in the systemd in cosmic+ [Impact] On Ubuntu Core we recently hit the a race in daemon-reload and systemctl twice. This race is fixed in systemd upstream: "fix race between daemon-reload and other commands #8803". [TEST CASE] To reproduce its enough to run: for i in $(seq 50); do   systemctl daemon-reload &   systemctl start ssh & done This will result in "systemctl start ssh" hanging in ppoll. With the patch applied the hangs go away. [REGRESSION POTENTIAL] Low, this change is already in the systemd upstream and in use cosmic and later.
2019-03-13 10:23:02 Michael Vogt bug added subscriber Ubuntu Stable Release Updates Team
2019-03-13 10:28:49 Michael Vogt attachment added Full debdiff for xenial systemd SRU (with correct changelog) https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1819728/+attachment/5245818/+files/systemd_229-4ubuntu21.18.debdiff
2019-03-13 11:30:37 Michael Vogt description [Impact] On Ubuntu Core we recently hit the a race in daemon-reload and systemctl twice. This race is fixed in systemd upstream: "fix race between daemon-reload and other commands #8803". [TEST CASE] To reproduce its enough to run: for i in $(seq 50); do   systemctl daemon-reload &   systemctl start ssh & done This will result in "systemctl start ssh" hanging in ppoll. With the patch applied the hangs go away. [REGRESSION POTENTIAL] Low, this change is already in the systemd upstream and in use cosmic and later. [Impact] On Ubuntu Core we recently hit the a race in daemon-reload and systemctl twice. This race is fixed in systemd upstream: "fix race between daemon-reload and other commands #8803". [TEST CASE] To reproduce its enough to run: for i in $(seq 50); do   systemctl daemon-reload &   systemctl start ssh & done This will result in "systemctl start ssh" hanging in ppoll. With the patch applied the hangs go away. [REGRESSION POTENTIAL] Low, this change is already in the systemd upstream and in use cosmic and later. The upstream fix is https://github.com/systemd/systemd/pull/8803
2019-03-13 12:22:04 Michael Vogt attachment removed debdiff with a port of the fix in PR#8803 for xenial https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1819728/+attachment/5245665/+files/fix-systemctl-race-8803.debdiff
2019-03-13 12:53:35 Alfonso Sanchez-Beato bug added subscriber Alfonso Sanchez-Beato
2019-03-13 13:59:17 Michael Vogt attachment removed Full debdiff for xenial systemd SRU (with correct changelog) https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1819728/+attachment/5245818/+files/systemd_229-4ubuntu21.18.debdiff
2019-03-13 14:00:14 Michael Vogt attachment added debdiff with a port of the fix in PR#8803 to trusty (test ppa upload) https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1819728/+attachment/5245851/+files/systemd_229-4ubuntu21.18~ppa2.debdiff
2019-03-13 19:23:06 Michael Vogt description [Impact] On Ubuntu Core we recently hit the a race in daemon-reload and systemctl twice. This race is fixed in systemd upstream: "fix race between daemon-reload and other commands #8803". [TEST CASE] To reproduce its enough to run: for i in $(seq 50); do   systemctl daemon-reload &   systemctl start ssh & done This will result in "systemctl start ssh" hanging in ppoll. With the patch applied the hangs go away. [REGRESSION POTENTIAL] Low, this change is already in the systemd upstream and in use cosmic and later. The upstream fix is https://github.com/systemd/systemd/pull/8803 [Impact] On Ubuntu Core we recently hit the a race in daemon-reload and systemctl twice. This race is fixed in systemd upstream: "fix race between daemon-reload and other commands #8803". Note that this is a general problem in systemd with daemon-reload and systemctl commands, we just happen to hit it more often on Ubuntu Core but the test-case below explodes just fine on a normal Ubuntu release like 16.04 or 18.04 (not on 18.10+ as its fixed there). [TEST CASE] To reproduce its enough to run: for i in $(seq 50); do   systemctl daemon-reload &   systemctl start ssh & done This will result in "systemctl start ssh" hanging in ppoll. With the patch applied the hangs go away. [REGRESSION POTENTIAL] Low, this change is already in the systemd upstream and in use cosmic and later. The upstream fix is https://github.com/systemd/systemd/pull/8803 Full spread run with the fixed systemd in the "core" snap and a regression test: https://github.com/snapcore/snapd/pull/6595
2019-03-14 12:25:29 Łukasz Zemczak systemd (Ubuntu Bionic): status New Fix Committed
2019-03-14 12:25:32 Łukasz Zemczak bug added subscriber SRU Verification
2019-03-14 12:25:35 Łukasz Zemczak tags patch patch verification-needed verification-needed-bionic
2019-03-14 14:16:15 Łukasz Zemczak systemd (Ubuntu Xenial): status New Fix Committed
2019-03-14 14:16:19 Łukasz Zemczak tags patch verification-needed verification-needed-bionic patch verification-needed verification-needed-bionic verification-needed-xenial
2019-03-15 08:11:57 Michael Vogt tags patch verification-needed verification-needed-bionic verification-needed-xenial patch verification-failed-xenial verification-needed verification-needed-bionic
2019-03-15 08:29:27 Michael Vogt systemd (Ubuntu Xenial): status Fix Committed Triaged
2019-03-15 08:29:32 Michael Vogt systemd (Ubuntu): status New Fix Released
2019-03-15 11:46:47 Michael Vogt attachment added Crashfile https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1819728/+attachment/5246417/+files/systemd-229-4ubuntu21.18.crash.retraced
2019-03-15 15:54:22 Michael Vogt bug watch added https://github.com/systemd/systemd/issues/10716
2019-03-15 18:41:48 Michael Vogt attachment added debdiff with a port of the fix in PR#11121 to xenial https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1819728/+attachment/5246546/+files/systemd_229-4ubuntu21.19.debdiff
2019-03-15 19:07:03 Michael Vogt attachment added Slightly more updated debdiff for xenial https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1819728/+attachment/5246548/+files/fix-race-daemon-reload-8803.patch
2019-03-18 08:22:59 Michael Vogt attachment added updated debdiff with updated PR#11121 https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1819728/+attachment/5247198/+files/systemd_237-3ubuntu10.17.debdiff
2019-03-18 08:24:07 Michael Vogt tags patch verification-failed-xenial verification-needed verification-needed-bionic patch verification-failed-bionic verification-failed-xenial verification-needed
2019-03-18 08:27:10 Michael Vogt description [Impact] On Ubuntu Core we recently hit the a race in daemon-reload and systemctl twice. This race is fixed in systemd upstream: "fix race between daemon-reload and other commands #8803". Note that this is a general problem in systemd with daemon-reload and systemctl commands, we just happen to hit it more often on Ubuntu Core but the test-case below explodes just fine on a normal Ubuntu release like 16.04 or 18.04 (not on 18.10+ as its fixed there). [TEST CASE] To reproduce its enough to run: for i in $(seq 50); do   systemctl daemon-reload &   systemctl start ssh & done This will result in "systemctl start ssh" hanging in ppoll. With the patch applied the hangs go away. [REGRESSION POTENTIAL] Low, this change is already in the systemd upstream and in use cosmic and later. The upstream fix is https://github.com/systemd/systemd/pull/8803 Full spread run with the fixed systemd in the "core" snap and a regression test: https://github.com/snapcore/snapd/pull/6595 [Impact] On Ubuntu Core we recently hit the a race in daemon-reload and systemctl twice. This race is fixed in systemd upstream: "fix race between daemon-reload and other commands #8803" and a subsequent fix in "PR#11121". Note that this is a general problem in systemd with daemon-reload and systemctl commands, we just happen to hit it more often on Ubuntu Core but the test-case below explodes just fine on a normal Ubuntu release like 16.04 or 18.04 (not on 18.10+ as its fixed there). [TEST CASE] To reproduce its enough to run: for i in $(seq 50); do   systemctl daemon-reload &   systemctl start ssh & done This will result in "systemctl start ssh" hanging in ppoll. With the patch applied the hangs go away. [REGRESSION POTENTIAL] Medium/High, this change is already in the systemd upstream and in use disco and later but the backport required some manual resolving of conflicts the code because changed between 229,237 and the fixed code in 240. Its also not fully clear if the fix relies on the new systemd "coldplug" functionality that was added in more recent git revisions. The upstream fix is https://github.com/systemd/systemd/pull/8803 and https://github.com/systemd/systemd/pull/11121
2019-03-25 11:12:15 Michael Vogt attachment added Slightly more updated debdiff for xenial with PR#11121 https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1819728/+attachment/5249168/+files/systemd_229-4ubuntu21.19.debdiff
2019-03-25 16:46:46 Łukasz Zemczak tags patch verification-failed-bionic verification-failed-xenial verification-needed patch verification-failed-xenial verification-needed verification-needed-bionic
2019-03-25 16:52:59 Łukasz Zemczak systemd (Ubuntu Xenial): status Triaged Fix Committed
2019-03-25 16:53:03 Łukasz Zemczak tags patch verification-failed-xenial verification-needed verification-needed-bionic patch verification-needed verification-needed-bionic verification-needed-xenial
2019-04-01 17:58:34 Sergio Cazzolato tags patch verification-needed verification-needed-bionic verification-needed-xenial patch verification-done verification-done-bionic verification-done-xenial
2019-04-04 16:00:31 Łukasz Zemczak removed subscriber Ubuntu Stable Release Updates Team
2019-04-04 16:00:41 Launchpad Janitor systemd (Ubuntu Xenial): status Fix Committed Fix Released
2019-04-04 16:10:38 Launchpad Janitor systemd (Ubuntu Bionic): status Fix Committed Fix Released
2019-04-07 01:26:54 Launchpad Janitor merge proposal linked https://code.launchpad.net/~ddstreet/ubuntu/+source/systemd/+git/systemd/+merge/365627
2019-04-24 08:19:44 Paul van Tilburg bug watch added https://github.com/systemd/systemd/issues/12371