FEDORA-2017-09357638fd

enhancement update in Fedora 27 for dbus-broker

Status: stable a year ago
    * The launcher now uses instantiated systemd template units when
      activating a service that has no associated systemd service file.
      This allows services to stick around after being deactivated. It is
      closer in behavior to the original service activation of dbus-daemon,
      while still keeping them out of the dbus-broker environment.

    * Audit is now only enabled when --audit is passed to dbus-broker. By
      default, the launcher will pass it only for the system bus.

    * The launcher now supports configuration reloading. When triggered, it
      forces the launcher to reload the bus configuration and all service
      files, and adjust the broker state. Note that not all modifiers can
      be adjusted at runtime (e.g., you cannot change the user the broker
      runs as). The set of modifiers that can be adjusted at runtime is the
      same set that dbus-daemon(1) supports.
      The reload operation can be triggered via a direct SIGHUP to the
      launcher, or via the ReloadConfig() call on org.freedesktop.DBus.

Reboot Required

After installing this update it is required that you reboot your system to ensure the changes supplied by this update are applied properly.

Comments 8

This update has been submitted for testing by tomegun.

This update has been pushed to testing.

This update has reached 3 days in testing and can be pushed to stable now if the maintainer wishes

This update has been submitted for batched by tomegun.

This update has been submitted for stable by tomegun.

This update has been pushed to stable.

setroubleshoot start problems:

setroubleshoot: org.freedesktop.DBus.Error.AccessDenied: Request to own name refused by policy

/usr/bin/sealert: could not start dbus: org.freedesktop.DBus.Error.NoReply: Did not receive a reply.

Nov 23 12:16:46  dbus-broker-launch[1116]: Activation request for 'org.fedoraproject.Setroubleshootd'
Nov 23 12:16:46  systemd[1082]: Created slice dbus\x2dorg.fedoraproject.Setroubleshootd.slice.
Nov 23 12:16:46  systemd[1082]: Started dbus-org.fedoraproject.Setroubleshootd@0.service.
Nov 23 12:16:46  systemd[1]: systemd-journald.service: Got notification message from PID 416 (FDSTORE=1)
Nov 23 12:16:46  systemd[1]: systemd-journald.service: Added fd 18 (n/a) to fd store.
Nov 23 12:16:48  dbus-broker-launch[678]: Activation request for 'org.fedoraproject.Setroubleshootd'
Nov 23 12:16:48  audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=dbus-org.fedoraproject.Setroubleshootd@0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
 Nov 23 12:16:48  systemd[1]: SELinux access check scon=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 tcon=system_u:system_r:init_t:s0 tclass=system perm=start path=(null) cmdline=/usr/bin/dbus-broker-launch -v --scope system --listen inherit: 0
Nov 23 12:16:48  systemd[1]: dbus-org.fedoraproject.Setroubleshootd@0.service: Failed to load configuration: No such file or directory
Nov 23 12:16:48  systemd[1]: SELinux access check scon=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 tcon=system_u:object_r:init_var_run_t:s0 tclass=service perm=start path=/run/systemd/transient/dbus-org.fedoraproject.Setroubleshootd@0.service cmdline=/usr/bin/dbus-broker-launch -v --scope system --listen inherit: 0
Nov 23 12:16:48  systemd[1]: dbus-org.fedoraproject.Setroubleshootd@0.service: Trying to enqueue job dbus-org.fedoraproject.Setroubleshootd@0.service/start/fail
Nov 23 12:16:48  systemd[1]: system-dbus\x2dorg.fedoraproject.Setroubleshootd.slice: Installed new job system-dbus\x2dorg.fedoraproject.Setroubleshootd.slice/start as 7328
Nov 23 12:16:48  systemd[1]: dbus-org.fedoraproject.Setroubleshootd@0.service: Installed new job dbus-org.fedoraproject.Setroubleshootd@0.service/start as 7192
Nov 23 12:16:48  systemd[1]: dbus-org.fedoraproject.Setroubleshootd@0.service: Enqueued job dbus-org.fedoraproject.Setroubleshootd@0.service/start as 7192
Nov 23 12:16:48  systemd[1]: system-dbus\x2dorg.fedoraproject.Setroubleshootd.slice changed dead -> active
Nov 23 12:16:48  systemd[1]: system-dbus\x2dorg.fedoraproject.Setroubleshootd.slice: Job system-dbus\x2dorg.fedoraproject.Setroubleshootd.slice/start finished, result=done
Nov 23 12:16:48  systemd[1]: Created slice system-dbus\x2dorg.fedoraproject.Setroubleshootd.slice.
Nov 23 12:16:48  systemd[1]: dbus-org.fedoraproject.Setroubleshootd@0.service: Passing 0 fds to service
Nov 23 12:16:48  systemd[1]: dbus-org.fedoraproject.Setroubleshootd@0.service: About to execute: /usr/sbin/setroubleshootd -f
Nov 23 12:16:48  systemd[1]: dbus-org.fedoraproject.Setroubleshootd@0.service: Forked /usr/sbin/setroubleshootd as 63988
Nov 23 12:16:48  systemd[1]: dbus-org.fedoraproject.Setroubleshootd@0.service: Changed dead -> running
Nov 23 12:16:48  systemd[1]: dbus-org.fedoraproject.Setroubleshootd@0.service: Job dbus-org.fedoraproject.Setroubleshootd@0.service/start finished, result=done
Nov 23 12:16:48  systemd[1]: Started dbus-org.fedoraproject.Setroubleshootd@0.service.
Nov 23 12:16:48  systemd[63988]: dbus-org.fedoraproject.Setroubleshootd@0.service: Executing: /usr/sbin/setroubleshootd -f
Nov 23 12:16:48  systemd[1]: systemd-journald.service: Got notification message from PID 416 (FDSTORE=1)
Nov 23 12:16:48  systemd[1]: systemd-journald.service: Added fd 19 (n/a) to fd store.
Nov 23 12:16:49  setroubleshootd[63988]: org.freedesktop.DBus.Error.AccessDenied: Request to own name refused by policy
Nov 23 12:16:49  systemd[1]: systemd-journald.service: Received EPOLLHUP on stored fd 19 (stored), closing.
Nov 23 12:16:49  audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=dbus-org.fedoraproject.Setroubleshootd@0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Nov 23 12:16:49  systemd[1]: Received SIGCHLD from PID 63988 (setroubleshootd).
Nov 23 12:16:49  systemd[1]: Child 63988 (setroubleshootd) died (code=exited, status=1/FAILURE)
Nov 23 12:16:49  systemd[1]: dbus-org.fedoraproject.Setroubleshootd@0.service: Child 63988 belongs to dbus-org.fedoraproject.Setroubleshootd@0.service
Nov 23 12:16:49  systemd[1]: dbus-org.fedoraproject.Setroubleshootd@0.service: Main process exited, code=exited, status=1/FAILURE
Nov 23 12:16:49  systemd[1]: dbus-org.fedoraproject.Setroubleshootd@0.service: Changed running -> dead
Nov 23 12:16:49  systemd[1]: dbus-org.fedoraproject.Setroubleshootd@0.service: Collecting.
Nov 23 12:17:13  sealert[63984]: Exception ignored in: <bound method="" SETroubleshootdDBus.__del__="" of="" <__main__.SETroubleshootdDBus="" object="" at="" 0x7f30dd152318="" (__main__+SETroubleshootdDBus="" at="" 0x564e9b0c02a0)="">>
Nov 23 12:17:13  sealert[63984]: Traceback (most recent call last):
Nov 23 12:17:13  sealert[63984]:   File "/usr/bin/sealert", line 266, in __del__
Nov 23 12:17:13  sealert[63984]:     s = self.iface.finish()
Nov 23 12:17:13  sealert[63984]: AttributeError: 'SETroubleshootdDBus' object has no attribute 'iface'

Thanks for the bug report, I've been able to reproduce this, and a fix will be in the next release.


Add Comment & Feedback
Toggle Preview

Comment fields support Fedora-Flavored Markdown. Comments are governed under this privacy policy.

-1 0 +1 Feedback Guidelines

Is the update generally functional? (karma)

You need to be logged in to add karma!

Content Type
RPM
Status
stable
Test Gating
Submitted by
Update Type
enhancement
Update Severity
unspecified
Karma
0
stable threshold: 3
unstable threshold: -3
Autopush
Enabled
Dates
submitted a year ago
in testing a year ago
in stable a year ago

Automated Test Results