Do not wait for System StartupFinished 41/204241/8 accepted/tizen/unified/20190425.014556 submit/tizen/20190424.070308
authorHyotaek Shim <hyotaek.shim@samsung.com>
Mon, 22 Apr 2019 08:30:43 +0000 (17:30 +0900)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Wed, 24 Apr 2019 07:02:12 +0000 (16:02 +0900)
commit9d2a805af8a5a39fe4828a24422f1758bbc28b43
tree497e80a41105b712944e6cf1a6e3600f44e77c13
parent2503bb12bbd747e08daca46a596eefca8b3ab1fa
Do not wait for System StartupFinished

1) udev event --> sysinit.target/systemd-udevd.service
2) /tmp       --> sysinit.target
3) /opt       --> sysinit.target or initrd
4) /opt/usr   --> wait-mount@opt-usr.service

So, storaged does not need to wait for StartupFinished.
Without this patch, storaged cannot complete booting_done()
when even a single service unit fails.

dbus-send --system --print-reply
--type=method_call
--dest=org.freedesktop.systemd1
/org/freedesktop/systemd1
org.freedesktop.DBus.Properties.Get
string:"org.freedesktop.systemd1.Manager"
string:"SystemState"

variant       string "starting"

Change-Id: I7275cc91e1904600f0c0a7cd7ac2dd243e15922b
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
src/block/block.c
src/storage/storage.c
systemd/storaged.service