DynamicUser=1 doesn't get along with services that need dbus-daemon
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fwupd |
Fix Released
|
Unknown
|
|||
OEM Priority Project |
Fix Committed
|
High
|
Yuan-Chen Cheng | ||
systemd |
New
|
Unknown
|
|||
fwupd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned | ||
Impish |
Won't Fix
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
Yuan-Chen Cheng | ||
systemd (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | ||
Focal |
Won't Fix
|
Undecided
|
Unassigned | ||
Impish |
Won't Fix
|
Undecided
|
Unassigned | ||
Jammy |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Updating to systemd 245.4-4ubuntu3.16 has caused a regression in Ubuntu 20.04, that fwupd-refresh.
This has been root caused down to the changes in https:/
Unfortunately this is an upstream issue introduced by stable systemd.
https:/
The problem also occurs in Ubuntu 22.04 with a newer systemd release.
As discussed in https:/
One proposal is to remove DynamicUser=yes from the systemd unit, but this will mean fwupdgmr refresh runs as root. It's relatively sandboxed by other security mechanisms, but still not ideal. Could we repurpose any other service account? Or alternatively we can make a new fwupd service account that this systemd unit uses.
Changed in fwupd: | |
status: | Unknown → New |
Changed in systemd: | |
status: | Unknown → New |
tags: | added: rls-kk-incoming |
Changed in fwupd: | |
status: | New → Fix Released |
tags: | added: fr-2353 |
tags: | removed: rls-kk-incoming |
Changed in fwupd (Ubuntu): | |
status: | New → Fix Committed |
Changed in fwupd (Ubuntu Impish): | |
status: | Confirmed → Won't Fix |
Changed in oem-priority: | |
assignee: | nobody → Yuan-Chen Cheng (ycheng-twn) |
importance: | Undecided → High |
status: | New → Confirmed |
tags: |
added: fwupd removed: verification-done-jammy verification-needed |
tags: | added: oem-priority |
Changed in oem-priority: | |
status: | Confirmed → In Progress |
Changed in oem-priority: | |
status: | In Progress → Fix Committed |
Yes, I think we could create a new user for fwupd, similar to how it is done in systemd- oomd.postinst (https:/ /git.launchpad. net/~ubuntu- core-dev/ ubuntu/ +source/ systemd/ tree/debian/ systemd- oomd.postinst? h=ubuntu- jammy) and then use a "User=fwupd" configuration in fwupd-refresh. service.