#977958 dbus: Some ir-keytable remote control buttons don't work unless dbus is restarted

Package:
dbus
Source:
dbus
Description:
simple interprocess messaging system (system message bus)
Submitter:
Keith Edmunds
Date:
2020-12-23 10:57:03 UTC
Severity:
normal
#977958#5
Date:
2020-12-23 10:38:23 UTC
From:
To:
Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate
***

   * What led up to the situation?

Configuring an IR remote control (for MythTV) and noticing some keys
don't work. Example: the "play" button, which is mapped via a keymap
file from KEY_PLAY to KEY_P (ie, the keyboard 'p' charcter). Other keys
(eg, KEY_OK mapped to KEY_ENTER, or KEY_UP, not remapped) work OK.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

After much experimentation, I found that restarting dbus ("systemctl
restart dbus") fixed the problem. It is a consistent fix: those keys
always fail before restarting dbus, and never fail after restarting dbus.

My workaround: add "systemctl restart dbus" to the end of /etc/rc.local.

Hypothesis: the systemd startup order/dependencies may be incorrect,
but I don't know enough about it to know whether that's likely.