]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/manager.c
core: delay logging the taint string until after basic.target is reached (#7935)
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 21 Jan 2018 12:17:54 +0000 (23:17 +1100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 21 Jan 2018 12:17:54 +0000 (21:17 +0900)
commitd8eb10d61a68d4fe6eefae583f1808458a1df09c
treeb4a0a8f8aed3d1b838792aa2bea8dfd1e4a560ed
parent91ec71c1628bd347c85b3348b2d3b5f84f133b71
core: delay logging the taint string until after basic.target is reached (#7935)

This happens to be almost the same moment as when we send READY=1 in the user
instance, but the logic is slightly different, since we log taint when
basic.target is reached in the system manager, but we send the notification
only in the user manager. So add a separate flag for this and propagate it
across reloads.

Fixes #7683.
src/core/main.c
src/core/manager.c
src/core/manager.h