1

On CentOS 7, doing sudo systemctl restart messagebus[1], will bring the system to its knees.
Is there a way to restart the D-Bus without crashing the system?

[1] This is dbus.service - D-Bus System Message Bus.

boardrider
  • 949
  • 2
  • 18
  • 29
  • 1
    Why do you even want to do this at all? This sounds like you're trying to [solve the wrong problem](https://meta.stackexchange.com/q/66377/189912). – Michael Hampton Apr 26 '19 at 19:47
  • @Michael: We have a debugging tool that interacts with the D-Bus. The tool won't start after its service is enabled and started for the first time, unless the machine is rebooted. This reboot is needed for restarting the D-Bus. I'm trying to see if there's a way to restart the D-Bus - without a full machine reboot. – boardrider Apr 26 '19 at 21:04
  • 1
    Sounds like the debugging tool needs to be debugged. Perhaps its vendor can help. – Michael Hampton Apr 26 '19 at 21:08

1 Answers1

1

AFAIK It is not possible, restarting dbus mean breaking ipc between all process which is similar to reboot itself.

asktyagi
  • 2,860
  • 2
  • 8
  • 25