]> err.no Git - systemd/commit
initctl: don't use dbus connection after PID 1 got respawned
authorLennart Poettering <lennart@poettering.net>
Tue, 1 Nov 2011 17:18:17 +0000 (18:18 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 1 Nov 2011 17:21:32 +0000 (18:21 +0100)
commitf632a6634dd4eff041425aa9b3fb48ccfa98c014
tree37f034e9eb5192546dd58ae4edfab9e52bb26362
parent7670e5a2aab543bc6b442ab0683411770e06fe26
initctl: don't use dbus connection after PID 1 got respawned

After reexec PID 1 our bus connection is invalidated. Hence don't try to
reuse it, just terminate so that when we are spawned the next time we
just get a new one.

Spotted by Marti Raudsepp.
src/initctl.c