[Bug 1185362] New: fwupd fails to start due to missing dependencies causing a timeout
fwupdmgr --verbose (fwupdmgr:8079): GLib-DEBUG: 16:29:05.448: setenv()/putenv() are not
http://bugzilla.opensuse.org/show_bug.cgi?id=1185362 Bug ID: 1185362 Summary: fwupd fails to start due to missing dependencies causing a timeout Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: screening-team-bugs@suse.de Reporter: jon@moozaad.co.uk QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- First hand error is: thread-safe and should not be used after threads are created 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) After some investigation it does actually run but takes a long time to start.
/usr/libexec/fwupd/fwupd --verbose <snip> ERROR:esys:src/tss2-esys/esys_context.c:69:Esys_Initialize() Initialize default tcti. ErrorCode (0x000a000a) <snip>
Library is installed
zypper info libtss2-esys0 Information for package libtss2-esys0:
Repository : Main Repository (OSS) Name : libtss2-esys0 Version : 3.0.3-1.4 Arch : x86_64 Vendor : openSUSE Installed Size : 562.6 KiB Installed : Yes (automatically) Status : up-to-date Source package : tpm2-0-tss-3.0.3-1.4.src Summary : TPM2 Enhanced System API (ESAPI) installing additional components get's us a step further.
zypper in tpm2-0-tss tpm2.0-abrmd
journalctl -u tpm2-abrmd.service -- Logs begin at Wed 2020-01-08 09:10:54 GMT, end at Tue 2021-04-27 16:51:12 BST. -- Apr 27 16:49:30 mudkip.farm systemd[1]: /usr/lib/systemd/system/tpm2-abrmd.service:12: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting al> Apr 27 16:49:30 mudkip.farm systemd[1]: Condition check resulted in TPM2 Access Broker and Resource Management Daemon being skipped.
fwupd
15:51:12:0366 FIXME failed to allocate dbus proxy object: Error calling StartServiceByName for com.intel.tss2.Tabrmd: Failed to activate service 'com.intel.tss2.Tabrmd': timed out (service_start_timeout=25000ms) Looks like there's 2 issues here? Those missing dependencies and then those dependencies need fixing? In both cases, /usr/libexec/fwupd/fwupd does actually end up running ok (missing features) but running it via systemd causes it to timeout. -- You are receiving this mail because: You are on the CC list for the bug.
First hand error is:
fwupdmgr --verbose (fwupdmgr:8079): GLib-DEBUG: 16:29:05.448: setenv()/putenv() are not thread-safe and should not be used after threads are created 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)
After some investigation it does actually run but takes a long time to start.
/usr/libexec/fwupd/fwupd --verbose <snip> ERROR:esys:src/tss2-esys/esys_context.c:69:Esys_Initialize() Initialize default tcti. ErrorCode (0x000a000a) <snip> I can confirm your observation that there seems to be a missing dependency. In fact, after instaling tpm2.0-abrmd-2.3.3-1.5.x86_64, which pulls in other
http://bugzilla.opensuse.org/show_bug.cgi?id=1185362
http://bugzilla.opensuse.org/show_bug.cgi?id=1185362#c1
Frank Kr�ger
http://bugzilla.opensuse.org/show_bug.cgi?id=1185362
http://bugzilla.opensuse.org/show_bug.cgi?id=1185362#c2
--- Comment #2 from Jon Brightwell
http://bugzilla.opensuse.org/show_bug.cgi?id=1185362
http://bugzilla.opensuse.org/show_bug.cgi?id=1185362#c3
--- Comment #3 from Frank Kr�ger
http://bugzilla.opensuse.org/show_bug.cgi?id=1185362
http://bugzilla.opensuse.org/show_bug.cgi?id=1185362#c4
--- Comment #4 from Jon Brightwell
http://bugzilla.opensuse.org/show_bug.cgi?id=1185362
http://bugzilla.opensuse.org/show_bug.cgi?id=1185362#c5
--- Comment #5 from Frank Kr�ger
I thought it was but no kernel module is loading (lsmod | grep tpm). It's build in (cf. 'modinfo tpm')
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1185362
http://bugzilla.opensuse.org/show_bug.cgi?id=1185362#c6
--- Comment #6 from Jon Brightwell
http://bugzilla.opensuse.org/show_bug.cgi?id=1185362
http://bugzilla.opensuse.org/show_bug.cgi?id=1185362#c7
Dominique Leuenberger
http://bugzilla.opensuse.org/show_bug.cgi?id=1185362
http://bugzilla.opensuse.org/show_bug.cgi?id=1185362#c8
--- Comment #8 from Jon Brightwell
# This condition is needed when using the device TCTI. If the # TCP mssim is used then the condition should be commented out. ConditionPathExistsGlob=/dev/tpm* In Joe's case, /dev/tpm* likely does not exist
Correct -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1185362
http://bugzilla.opensuse.org/show_bug.cgi?id=1185362#c11
--- Comment #11 from Jon Brightwell
participants (1)
-
bugzilla_noreply@suse.com