]> git.ipfire.org Git - thirdparty/systemd.git/commit
run: honor --no-block for trigger units
authordongshengyuan <545258830@qq.com>
Mon, 13 Jul 2026 05:54:14 +0000 (13:54 +0800)
committerdongshengyuan <545258830@qq.com>
Tue, 14 Jul 2026 04:03:22 +0000 (12:03 +0800)
commitd8f86dff810e9974ec9bf62dc61d870131666095
tree30cd06e576044ed777de808ced07e9f69b2f871c
parent4e67935b77a0eb8e7d954ba37510355691ed1585
run: honor --no-block for trigger units

Reproducer:
  unit=run-nb-trigger-$(date +%s)
  systemd-run --no-block --collect --unit="$unit" \
      --socket-property=ListenStream=/proc/systemd-run-repro/socket \
      /usr/bin/true
  echo $?

Before, systemd-run still waited for the trigger unit job and
propagated the socket start failure. With --no-block it should only
verify and enqueue the request, as the service path already does.

Follow-up for 3d161f991e16369aa59f447eb4cdb90af33261c8
src/run/run.c
test/units/TEST-74-AUX-UTILS.run.sh