1. 03 Dec, 2018 1 commit
  2. 29 Aug, 2018 1 commit
  3. 20 Feb, 2018 1 commit
  4. 29 Jan, 2018 1 commit
  5. 11 Jan, 2018 1 commit
  6. 14 Nov, 2017 1 commit
  7. 10 Nov, 2017 1 commit
  8. 27 Sep, 2017 1 commit
  9. 25 Sep, 2017 3 commits
    • Simon McVittie's avatar
      Remove distribution-specific init-scripts · 708a44d0
      Simon McVittie authored
      LSB-style (SysV-style) init scripts have not historically been
      portable between distributions, as evidenced by the presence of both
      "Red Hat" and "Slackware" init scripts in dbus. Many distributors
      prefer to maintain them downstream, as is done in Debian (and its
      derivatives) and in Slackware, so that the init script can follow
      OS conventions (for example regarding boot messages) and make use
      of OS-provided facilities (for example, the Debian init script uses
      dpkg's start-stop-daemon utility).
      The Slackware and Red Hat init scripts removed by this commit are not
      tested or maintained in practice, and so are likely to have bugs. The
      Slackware init-script provided here is not used on actual Slackware
      systems, which provide a different implementation of rc.messagebus in
      their packaging, while the Red Hat init script has been superseded by
      the systemd unit in current Fedora, CentOS and RHEL versions.
      The Cgywin messagebus-config provided here does appear to be used in
      production in cygwin-ports, but it's full of Cygwin-specifics with which
      the dbus maintainers are not familiar, so it is probably more appropriate
      for it to be tracked downstream as part of the Cygwin packaging.
      The systemd unit is not removed, since it is used on multiple Linux
      distributions with little or no modification, and receives regular
      testing and maintenance; this makes it appropriate to maintain upstream.
      Signed-off-by: Simon McVittie's avatarSimon McVittie <smcv@collabora.com>
      Bug: https://bugs.freedesktop.org/101706Reviewed-by: Philip Withnall's avatarPhilip Withnall <withnall@endlessm.com>
    • Simon McVittie's avatar
      monitor: use the addressed_recipient to select matches · cc9bc56a
      Simon McVittie authored
      This means we respect the destination keyword in arguments to
      In bus_dispatch(), this means that we need to defer capturing until
      we have decided whether there is an addressed recipient; so instead
      of capturing once, we capture at each leaf of the decision tree.
      Bug: https://bugs.freedesktop.org/show_bug.cgi?id=92074Reviewed-by: Philip Withnall's avatarPhilip Withnall <philip.withnall@collabora.co.uk>
      Reviewed-by: default avatarLars Uebernickel <lars@uebernic.de>
      (cherry picked from commit f3be583b)
      Signed-off-by: Simon McVittie's avatarSimon McVittie <smcv@collabora.com>
    • Simon McVittie's avatar
      config-parser: Fail on impossible send_broadcast/send_destination pair · bbbc6023
      Simon McVittie authored
      If we add a rule like
          <allow send_destination="com.example" send_broadcast="true"/>
      then it cannot possibly match anything, because to be a broadcast, the
      message would have to have no destination. The only value of
      send_destination that can be combined with send_broadcast="true" is
      the wildcard "*", but by this point in the function we already
      replaced "*" with NULL.
      Adapted from an earlier implementation of send_broadcast by
      Alban Crequy.
      Signed-off-by: Simon McVittie's avatarSimon McVittie <smcv@collabora.com>
      Bug: https://bugs.freedesktop.org/92853Reviewed-by: Philip Withnall's avatarPhilip Withnall <withnall@endlessm.com>
  10. 28 Jul, 2017 5 commits
  11. 06 Jul, 2017 1 commit
  12. 05 Jul, 2017 1 commit
  13. 29 Jun, 2017 4 commits
  14. 28 Jun, 2017 1 commit
  15. 12 Jun, 2017 1 commit
    • Laurent Bigonville's avatar
      Return the dbus-daemon SELinux context when asking about org.freedesktop.DBus · dcf02f80
      Laurent Bigonville authored
      Currently when asked the SELinux context of the owner of
      org.freedesktop.DBus, the dbus-daemon is returning an error.
      In the same situation when asked about the Unix user or the PID, the
      daemon would return its own user or pid. Do the same for the SELinux
      context by returning the daemon one.
      In particular this avoids an issue seen with systemd --user, where
      dbus-daemon responds to UpdateActivationEnvironment() by passing on the
      new environment to systemd with o.fd.systemd1.Manager.SetEnvironment(),
      but systemd cannot get the caller's SELinux context and so rejects the
      SetEnvironment() call.
      Bug: https://bugs.freedesktop.org/show_bug.cgi?id=101315
      [smcv: Extend commit message to describe the symptom this fixes]
      Reviewed-by: Simon McVittie's avatarSimon McVittie <smcv@collabora.com>
  16. 08 Jun, 2017 4 commits
  17. 02 Jun, 2017 2 commits
  18. 31 May, 2017 2 commits
  19. 10 Apr, 2017 2 commits
  20. 07 Apr, 2017 6 commits