Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 720746 - sys-apps/fwupd + systemd: needs to mkdir /var/cache/fwupd
Summary: sys-apps/fwupd + systemd: needs to mkdir /var/cache/fwupd
Status: RESOLVED DUPLICATE of bug 707084
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-03 00:13 UTC by Ed Santiago
Modified: 2020-07-31 12:02 UTC (History)
1 user (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 Ed Santiago 2020-05-03 00:13:29 UTC
New install of fwupd on a systemd-based gentoo:

    # fwupdmgr get-devices
    [hangs 25 seconds]
    Failed to connect to daemon: Error calling StartServiceByName for org.freedesktop.fwupd: Failed to activate service 'org.freedesktop.fwupd': timed out (service_start_timeout=25000ms)

Same with refresh, get-updates.

    # systemctl status fwupd |cat
    ● fwupd.service - Firmware update daemon
         Loaded: loaded (/lib/systemd/system/fwupd.service; static; vendor preset: disabled)
         Active: failed (Result: exit-code) since Sat 2020-05-02 18:07:07 MDT; 1min 8s ago
           Docs: https://fwupd.org/
        Process: 303453 ExecStart=/usr/libexec/fwupd/fwupd (code=exited, status=226/NAMESPACE)
       Main PID: 303453 (code=exited, status=226/NAMESPACE)
            CPU: 6ms

    May 02 18:07:07 ... systemd[1]: Starting Firmware update daemon...
    May 02 18:07:07 ... systemd[303453]: fwupd.service: Failed to set up mount namespacing: /run/systemd/unit-root/var/cache/fwupd: No such file or directory
    May 02 18:07:07 ... systemd[303453]: fwupd.service: Failed at step NAMESPACE spawning /usr/libexec/fwupd/fwupd: No such file or directory
    May 02 18:07:07 ... systemd[1]: fwupd.service: Main process exited, code=exited, status=226/NAMESPACE
    May 02 18:07:07 ... systemd[1]: fwupd.service: Failed with result 'exit-code'.
    May 02 18:07:07 ... systemd[1]: Failed to start Firmware update daemon.

SOLUTION: mkdir /var/cache/fwupd

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2020-07-31 12:02:35 UTC

*** This bug has been marked as a duplicate of bug 707084 ***