#3854 sudo: sbus2 related crash
Closed: Fixed Opened by pbrezina.

There is a crash in sudo after:

(Tue Oct  9 08:25:09 2018) [sssd[sudo]] [sudosrv_refresh_rules_send] (0x2000): Refreshing 1 expired rules of [tscherf@example.com@example.com]
(Tue Oct  9 08:25:09 2018) [sssd[sudo]] [sss_dp_get_sudoers_msg] (0x0400): Creating SUDOers request for [example.com][7][tscherf@example.com][1]
(Tue Oct  9 08:25:09 2018) [sssd[sudo]] [sbus_dispatch] (0x4000): Dispatching.
(Tue Oct  9 08:25:09 2018) [sssd[sudo]] [sbus_reply_check] (0x4000): D-Bus error [org.freedesktop.DBus.Error.UnknownInterface]: org.freedesktop.sssd.dataprovider
(Tue Oct  9 08:25:09 2018) [sssd[sudo]] [ldb] (0x4000): Added timed event "ltdb_callback": 0x5593a7dba400

There are two issues:

  1. We use wrong interface in sudo message sss_dp_get_sudoers_msg
  2. We do not handle return code correctly in sudosrv_refresh_rules_done

Metadata Update from @pbrezina:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1637513

Metadata Update from @pbrezina:
- Issue assigned to pbrezina

  • master:
    c74b430ba95d99b245b6347328024e4b4815b35e
    8fbaf224193b9ca8b82a290bd52265c2f9b40315
    250e82252b53991e2902b292cfa6029ab28a10fb

Metadata Update from @jhrozek:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

Metadata Update from @jhrozek:
- Issue set to the milestone: SSSD 2.1
- Issue tagged with: bug, regression

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/4844

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata