mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-08 12:31:49 +00:00
Start fwupd-activate.service after snapd.service
Instead of using RequiresMountsFor=/snap/fwupd/current, which will not work since /snap/fwupd/current is a symlink [1]. This will work since the mount units generated by snapd all have Before=snapd.service, so will be stopped after snapd.service during shutdown. With After=snapd.service, fwupd-activate.service will then stop before snapd.service, at a point when all snap mount units are still running. Fixes the issue where fwupd-activate.service hangs when stopped, causing a stop job timeout during shutdown. [1] See https://github.com/systemd/systemd/issues/8907 Closes #1654
This commit is contained in:
parent
7825ae8dd1
commit
efc2e47e48
@ -1,6 +1,6 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Activate fwupd updates
|
Description=Activate fwupd updates
|
||||||
RequiresMountsFor=/snap/fwupd/current
|
After=snapd.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
Loading…
Reference in New Issue
Block a user