Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1928365 - D-Bus System Message Bus fails to start due to SELinux policy
Summary: D-Bus System Message Bus fails to start due to SELinux policy
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-13 12:36 UTC by Matti Linnanvuori
Modified: 2021-02-13 12:36 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Matti Linnanvuori 2021-02-13 12:36:41 UTC
Description of problem:
D-Bus System Message Bus fails to start due to SELinux policy

Version-Release number of selected component (if applicable):
3.14.7-18.fc34

How reproducible:
always

Steps to Reproduce:
1. Install snapd.
2. Upgrade to the latest Rawhide Workstation.
3. Boot the computer

Actual results:
D-Bus System Message Bus fails to start.

Expected results:
D-Bus System Message Bus starts.

Additional info:
Feb 11 21:24:23 localhost.localdomain systemd[1]: Starting D-Bus System Message Bus...
░░ Subject: A start job for unit dbus-broker.service has begun execution
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit dbus-broker.service has begun execution.
░░ 
░░ The job identifier is 7552.
Feb 11 21:24:23 localhost.localdomain audit: BPF prog-id=104 op=UNLOAD
Feb 11 21:24:23 localhost.localdomain audit[1463]: AVC avc:  denied  { watch } for  pid=1463 comm="dbus-broker-lau" path="/var/lib/snapd/dbus-1/system-services" dev="dm-0" ino=351756 scontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c10>
Feb 11 21:24:23 localhost.localdomain dbus-broker-launch[1463]: ERROR dirwatch_add @ ../src/util/dirwatch.c +122: Permission denied
Feb 11 21:24:23 localhost.localdomain dbus-broker-launch[1463]:       launcher_load_service_dir @ ../src/launch/launcher.c +763
Feb 11 21:24:23 localhost.localdomain dbus-broker-launch[1463]:       launcher_load_services @ ../src/launch/launcher.c +978
Feb 11 21:24:23 localhost.localdomain dbus-broker-launch[1463]:       launcher_run @ ../src/launch/launcher.c +1306
Feb 11 21:24:23 localhost.localdomain dbus-broker-launch[1463]:       run @ ../src/launch/main.c +152
Feb 11 21:24:23 localhost.localdomain dbus-broker-launch[1463]:       main @ ../src/launch/main.c +178
Feb 11 21:24:23 localhost.localdomain dbus-broker-launch[1463]: Exiting due to fatal error: -13
Feb 11 21:24:23 localhost.localdomain systemd[1]: dbus-broker.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ An ExecStart= process belonging to unit dbus-broker.service has exited.
░░ 
░░ The process' exit code is 'exited' and its exit status is 1.
Feb 11 21:24:23 localhost.localdomain systemd[1]: dbus-broker.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ The unit dbus-broker.service has entered the 'failed' state with result 'exit-code'.
Feb 11 21:24:23 localhost.localdomain systemd[1]: Failed to start D-Bus System Message Bus.
░░ Subject: A start job for unit dbus-broker.service has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit dbus-broker.service has finished with a failure.
░░ 
░░ The job identifier is 7552 and the job result is failed.
Feb 11 21:24:23 localhost.localdomain audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=dbus-broker comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? re>
Feb 11 21:24:23 localhost.localdomain systemd[1]: dbus-broker.service: Start request repeated too quickly.
Feb 11 21:24:23 localhost.localdomain systemd[1]: dbus-broker.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ The unit dbus-broker.service has entered the 'failed' state with result 'exit-code'.
Feb 11 21:24:23 localhost.localdomain systemd[1]: Failed to start D-Bus System Message Bus.
░░ Subject: A start job for unit dbus-broker.service has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit dbus-broker.service has finished with a failure.
░░ 
░░ The job identifier is 7655 and the job result is failed.


Note You need to log in before you can comment on or make changes to this bug.