Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not attempt to reconnect if dsme socket connection is closed
When dsme exits, mce sees the dsme specific socket getting closed before dsme dbus service drops from the system bus. Because the dbus service is still supposedly available, reconnect attempt is made but it only leads into spamming journal with warnings. Use dbus service tracking from mce-dbus module for dsme too. When eof or read error occurs on dsme socket, assume dsme has made and exit and wait for dbus service availability changes before attempting to reconnect. Also skip some dsme related warnings when the device is shutting down and not having dsme available is more or less expected. [mce] Do not attempt to reconnect if dsme socket connection is closed. Fixes JB#26373
- Loading branch information
Showing
4 changed files
with
109 additions
and
187 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.