Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707130 - sys-apps/fwupd[systemd] with >sys-apps/systemd-250.4: fwupd-refresh.service D-Bus-Connection fails
Summary: sys-apps/fwupd[systemd] with >sys-apps/systemd-250.4: fwupd-refresh.service D...
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marek Szuba
URL: https://github.com/systemd/systemd/is...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-29 17:37 UTC by Markus Kaindl
Modified: 2023-08-27 09:39 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Kaindl 2020-01-29 17:37:57 UTC
sys-apps/fwupd-1.3.6 comes with a systemd-servicefile fwupd-refresh.service and a matching fwupd-refresh.timer for a daily update-check.
fwupd-refresh.service is failing, because it cannot connect to D-Bus:
fwupdmgr[14452]: Failed to connect to daemon: Failed to connect to system D-Bus: Exhausted all available authentication mechanisms (tried: EXTERNAL) (available: EXTERNAL)

This Error can only be seen, if you remove StandardError=null from the service-file.
This Error does not occur, if you remove DynamicUser=yes.

Reproducible: Always

Steps to Reproduce:
1.systemctl start fwupd-refresh.service
Comment 1 Marek Szuba archtester gentoo-dev 2022-09-07 21:15:35 UTC
Closing this because this isn't really something that can be fixed on fwupd side without deliberately weakening security by disabling DynamicUser support (which I have got no intention of doing), and it doesn't seem like we should (or even could) try to patch it at systemd level either.

At least there is a workaround: install and enable sys-apps/dbus-broker.