commit | ded91bc53dafdb86ac4f203cc9d3006573fc407f | [log] [tgz] |
---|---|---|
author | Andrew Jeffery <andrew@aj.id.au> | Wed Apr 19 13:44:15 2017 +0930 |
committer | Andrew Jeffery <andrew@aj.id.au> | Wed Apr 19 07:55:22 2017 +0000 |
tree | d098217817015ba623695facf1cd1f8b8eea8afb | |
parent | 0aff80c0fc286b9ba386365c79088ccf156a7ab8 [diff] |
mboxd_dbus: Handle errors in reply path We were seeing some odd errors in the journal, for example: dbus[736]: [system] Rejected send message, 0 matched rules; type="error", sender=":1.14" (uid=0 pid=773 comm="/usr/sbin/mboxd --flash 64M --verbose --window-siz") interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.UnknownMethod" requested_reply="0" destination=":1.123" (uid=0 pid=2157 comm="/usr/sbin/mboxctl --reset ") However, coinciding with the deployment of the patched mboxd the errors went away. This patch shouldn't fix whatever was going on, but at least we might see some report of problems in the reply codepath if it occurs again in the future. Change-Id: I90dc4dd8e69e3fc998ab7f04cbeec37c20c92bcf Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Copyright 2017 IBM
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
This repo contains the protocol definition for the host to BMC mailbox communication specification which can be found in Documentation/mbox_procotol.md.
There is also a reference implementation of a BMC mailbox daemon, the details of which can be found in Documentation/mboxd.md.
Finally there is also an implementation of a mailbox daemon control program, the details of which can be found in Documentation/mboxctl.md.