boltd running on a system with no thunderbolt devices

Bug #1801796 reported by Steve Langasek on 2018-11-05
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
fwupd (Ubuntu)
Low
Unassigned

Bug Description

I notice on my Cosmic system that boltd is running.

This system has no thunderbolt devices, so having this daemon running is a waste of resources.

Please fix this package to only start if devices are present, or if it must be started, to shut down on idle if no devices are discovered.

Sebastien Bacher (seb128) wrote :

That's known upstream and reported as https://gitlab.freedesktop.org/bolt/bolt/issues/92

They agree it would be nice so that might happen at some point but it requires to resolve some questions about interactions with the desktop components, etc so not trivial.

Changed in bolt (Ubuntu):
importance: Undecided → Wishlist
importance: Wishlist → Low
status: New → Triaged
Christian Kellner (gicmo) wrote :

I actually think that this might have been fixed. I suspect the main reason that bolt was started in the first place was fwupd (the firmware update daemon) starting it to force power the thunderbolt controller. It does so even if there is no controller to force power in the first place.
A small fix (https://github.com/fwupd/fwupd/commit/7e5c7b269a3b9182db58a201c24835177107ad41) to the fwupd daemon should prevent it from poking bolt if there is no hope of boltd succeeding in force powering the daemon. Thus on a system without any thunderbolt controller boltd should not be started anymore.

NB: The linked bug is to auto idle-quit the daemon if it is started but no controller found, while the fix should prevent the daemon to even be started.

Mario Limonciello (superm1) wrote :

That fix for fwupd to not use boltd on such systems is landed in fwupd 1.3.3 which is currently in focal-proposed.

Changed in bolt (Ubuntu):
status: Triaged → Fix Committed
affects: bolt (Ubuntu) → fwupd (Ubuntu)
Mario Limonciello (superm1) wrote :

1.3.3-3 promoted to focal release pocket today fixes this, marking fix released.

Changed in fwupd (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers