Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
fwupd fails to launch
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
mohr
n00b
n00b


Joined: 22 Jan 2020
Posts: 6

PostPosted: Wed Jan 22, 2020 1:41 pm    Post subject: fwupd fails to launch Reply with quote

Hi! First time posting here.

I'm using Gentoo with systemd. I wanted to make a FW update, because it supposedly solves some critical issues with my device. Unfortunately I can't get fwupd to work:
Code:
fwupdmgr help
Failed to connect to daemon: Error calling StartServiceByName for org.freedesktop.fwupd: GDBus.Error:org.freedesktop.DBus.Error.TimedOut: Failed to activate service 'org.freedesktop.fwupd': timed out (service_start_timeout=25000ms)

Here are my systemd logs for fwupd service:
Code:
● fwupd.service - Firmware update daemon
   Loaded: loaded (/lib/systemd/system/fwupd.service; static; vendor preset: disabled)
   Active: failed (Result: exit-code) since Wed 2020-01-22 14:28:41 CET; 19s ago
     Docs: https://fwupd.org/
  Process: 4926 ExecStart=/usr/libexec/fwupd/fwupd (code=exited, status=226/NAMESPACE)
 Main PID: 4926 (code=exited, status=226/NAMESPACE)
      CPU: 2ms

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


Any help would be appreciated!
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Wed Jan 22, 2020 2:51 pm    Post subject: Reply with quote

Hi mohr,

welcome to the Gentoo forums!

Please show us the output of
Code:
emerge --info sys-apps/fwupd
Mike
Back to top
View user's profile Send private message
mohr
n00b
n00b


Joined: 22 Jan 2020
Posts: 6

PostPosted: Wed Jan 22, 2020 4:01 pm    Post subject: Reply with quote

mike155 wrote:
Hi mohr,

welcome to the Gentoo forums!

Please show us the output of
Code:
emerge --info sys-apps/fwupd
Mike


Here's the output:
Code:
!!! CONFIG_PROTECT is empty
Portage 2.3.79 (python 3.6.9-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-9.2.0, glibc-2.29-r7, 4.19.86-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.19.86-gentoo-x86_64-Intel-R-_Core-TM-_i7-8550U_CPU_@_1.80GHz-with-gentoo-2.6
KiB Mem:     7918600 total,   1567536 free
KiB Swap:   10485756 total,  10485756 free
Timestamp of repository gentoo: Thu, 26 Dec 2019 20:30:01 +0000
Head commit of repository gentoo: b284cbb4830c7fe063db731532e04b3a208a76b2
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.32 p2) 2.32.0
app-shells/bash:          4.4_p23-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.17::gentoo, 3.6.9::gentoo
dev-util/cmake:           3.14.6::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            9.2.0-r2::gentoo
sys-devel/gcc-config:     2.1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE ipw2100-fw linux-fw-redistributable NVIDIA-r1 Apache-1.1 LPPL-1.3c Boost-1.0 ECL-2.0 EUPL-1.1 AGPL-3 CPAL-1.0 MIT nethack OSL-2.1 AGPL-3+ LGPL-2.1 LGPL-2+ PHP-3 MPL-1.1 LGPL-3+ LGPL-3 NOSA Watcom-1.0 GPL-2 GPL-3 LGPL-2.1+ Ms-PL HPND EPL-1.0 wxWinLL-3 BSD OFL-1.1 ZLIB Artistic-2 ZPL APSL-2 IPAfont MPL-2.0 W3C CPL-1.0 Apache-2.0 BSD-2 CDDL QPL GPL-1+ GPL-2+ MPL-1.0 PSF-2 UoI-NCSA GPL-3+ IBM ISC Sleepycat Artistic PHP-3.01 APL-1.0 EPL-2.0 CNRI AFL-3.0 POSTGRESQL Apache-1.1 Zend-2.0 BSD-4 Apache-1.0 gnuplot OSL-2.0 EUPL-1.1 CPAL-1.0 OSL-2.1 OSL-1.1 Boost-1.0 GPL-1 WTFPL-2 public-domain unicode PYTHON UPX-exception Ruby GPL-2-with-font-exception ECL-2.0 Clarified-Artistic GPL-3+-with-cuda-exception metapackage Ruby-BSD Transmission-OpenSSL-exception AGPL-3 MIT vim AGPL-3+ LGPL-2.1 CC0-1.0 GPL-3+-with-opencl-exception OPENLDAP PSF-2.3 LGPL-2+ libgcc tanuki-community GPL-3-with-font-exception LGPL-3+ LGPL-3 Nokia-Qt-LGPL-Exception-1.1 PSF-2.2 GPL-2-with-exceptions GPL-3+-with-opencl-openssl-exception GPL-2-with-MySQL-FLOSS-exception CeCILL-2 libstdc++ GPL-2 GPL-3 SGI-B-2.0 LGPL-2.1+ HPND BSD GPL-2-with-linking-exception wxWinLL-3.1 ZLIB gcc-runtime-library-exception-3.1 Artistic-2 ZPL MPL-2.0 W3C PSF-2.4 Apache-2.0 BSD-2 Clear-BSD FTL GPL-1+ GPL-2+ GPL-2+-with-openssl-exception IJG LGPL-3-with-linking-exception qwt LGPL-2 PSF-2 GPL-2-with-classpath-exception GPL-3+ ISC GPL-3-with-openssl-exception Sleepycat Unlicense LGPL-2-with-linking-exception UoI-NCSA Apache-2.0-with-LLVM-exceptions GPL-3+-with-cuda-openssl-exception LGPL-2.1-with-linking-exception MPL-1.1 AFL-2.1 LPPL-1.2 Ms-PL EPL-1.0 APSL-2 QPL-1.0 CPL-1.0 CDDL QPL MPL-1.0 openssl IBM NPL-1.1 PHP-3.01 EPL-2.0 CNRI AFL-3.0 Crypt-IDEA Emacs tcltk Toyoda XC symlinks libmng totd gsm LIBGLOSS UCAR-Unidata shrimp gd ElementTree AIFFWriter.m ErlPL-1.1 LPPL-1.3b PCRE IDPL NEWLIB SMAIL docbook scanlogd JDOM Time-Format JOVE FastCGI CAOSL tcp_wrappers_license URT Flashpix FLTK htmlc Khronos-CLHPP BSD-with-attribution matplotlib tm-align TeX Allegro NCSA-HDF bufexplorer.vim iASL pngnq freetts flexmock canfep BSD-1 alternate buddy ipadic CPL-0.5 pngcrush HTML-Tidy BEER-WARE ZSH repoze psutils Xdebug torque-2.5 the-Click-license Mini-XML perforce CeCILL-C Sendmail SNIA Openwall lsof photopc inner-net Sendmail-Open-Source imagemagick PHP-2.02 w3m rc Subversion dom4j libpng2 CNRI-QUIXOTE-2.4 LLVM-Grant AMPAS TeX-other-free rdisc File-MMagic ipx-utils JNIC Info-ZIP Mail-Sendmail Snd mm Time-modules tablelist eGenixPublic-1.1 xboing netcat xvt Old-MIT feh boehm-gc mpich2 xtrs CDDL-Schily CRACKLIB LPPL-1.3 regexp-UofT icu Princeton libpng rwpng CMake otter Ispell SVFL minpack Interbase-1.0 bea.ri.jsr173 MIT-with-advertising DES openafs-krb5-a ngrep BZIP2 DUMB-0.9.3 FVWM LambdaMOO xbatt CDDL-1.1 VTK x2x libtiff SSLeay RSA FLEX GPL-1 CC-BY-SA-2.0 Arphic CC-BY-SA-3.0 FDL-1.3+ FDL-1.1 CC-BY-3.0 CC-BY-4.0 FDL-1.2 GPL-2 GPL-3 FreeArt OFL-1.1 IPAfont CC-BY-SA-2.5 FDL-1.1+ OPL FDL-1.2+ FDL-1.3 GPL-1+ GPL-2+ CC-BY-2.0 GPL-3+ OFL CC-BY-2.5 CC-BY-SA-4.0 wxWinFDL-3 man-pages-posix man-pages-posix-2013 quake1-textures man-pages BAEKMUK CC-SA-1.0 UbuntuFontLicense-1.0 Texinfo-manual CC-BY-SA-1.0 LDP-1a mplus-fonts myspell-en_CA-KevinAtkinson Unicode_Fonts_for_Ancient_Scripts vlgothic MaxMind2 LDP-1 BitstreamVera CC-PD qlogic-fibre-channel-firmware unRAR LSI-tw_cli MicroChip-SDCC bh-luxi Broadcom intel-ucode shmux SmartLabs Amazon ipw3945 sun-jlfgr ISSL JSON bonnie freedist no-source-code Atmel ipw2200-fw"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT=""
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.vectranet.pl/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5 -l1"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi activities alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam flac fortran gdbm gif gpm gtk iconv icu idm ipv6 jpeg kde kipi kwallet lcms ldap libnotify libtirpc mad mmx mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qml qt5 readline sdl seccomp semantic-desktop spell split-usr sse sse2 ssl startup-notification svg systemd tcpd tiff truetype udev udisks unicode upower urandom usb vorbis widgets wxwidgets x264 xattr xcb xcomposite xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="synaptics libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

sys-apps/fwupd-1.2.11::gentoo was built with the following:
USE="gpg man systemd -agent -colorhug (-consolekit) -dell -doc (-elogind) -nvme -pkcs7 -redfish -test -thunderbolt -uefi" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_6 -python3_5 (-python3_7)" PYTHON_TARGETS="python3_6 -python3_5 (-python3_7)"
FEATURES="binpkg-docompress multilib-strict config-protect-if-modified unmerge-logs preserve-libs network-sandbox protect-owned userfetch assume-digests userpriv unknown-features-warn parallel-fetch ebuild-locks usersandbox fixlafiles ipc-sandbox unmerge-orphans strict xattr sfperms sandbox pid-sandbox distlocks binpkg-logs news merge-sync usersync binpkg-dostrip"
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Thu Jan 23, 2020 12:43 am    Post subject: Reply with quote

Thanks for the data!

I don't see anything in the output of 'emerge --info' that could cause such a problem. The message '!!! CONFIG_PROTECT is empty ' is unusual - I have never seen it before. Do you know why emerge prints such a message on your machine? Do you set the CONFIG_PROTECT variable in '/etc/portage/make.conf'?

It's probably a bug in fwupd. See: https://github.com/fwupd/fwupd/pull/1313#issuecomment-537305218

Please update to version 1.3.6. In case you don't know how to this: add
Code:
=sys-apps/fwupd-1.3.6*

to '/etc/portage/package.accept_keywords' (or '/etc/portage/package.keywords', whichever you use). After that, run 'emerge fwupd' and make sure that version 1.3.6 gets installed.

Does this solve the problem?
Back to top
View user's profile Send private message
mohr
n00b
n00b


Joined: 22 Jan 2020
Posts: 6

PostPosted: Fri Jan 24, 2020 4:02 am    Post subject: Reply with quote

mike155 wrote:
Thanks for the data!

I don't see anything in the output of 'emerge --info' that could cause such a problem. The message '!!! CONFIG_PROTECT is empty ' is unusual - I have never seen it before. Do you know why emerge prints such a message on your machine? Do you set the CONFIG_PROTECT variable in '/etc/portage/make.conf'?

It's probably a bug in fwupd. See: https://github.com/fwupd/fwupd/pull/1313#issuecomment-537305218

Please update to version 1.3.6. In case you don't know how to this: add
Code:
=sys-apps/fwupd-1.3.6*

to '/etc/portage/package.accept_keywords' (or '/etc/portage/package.keywords', whichever you use). After that, run 'emerge fwupd' and make sure that version 1.3.6 gets installed.

Does this solve the problem?


I've updated fwupd to 1.3.5 (for some reason I can't emerge 1.3.6, even tho I changed my accepted keywords to ~amd64 for the package and its dependencies). It didn't help.

However, after updating sys-apps/util-linux configuration files via etc-update it finally started to work.

Regarding the message about CONFIG_PROTECT - it was caused by having
Code:
CONFIG_PROTECT="-*"
line in /etc/portage/make.conf.
I remember I had to add it there for some reason, but I can't remember exactly what it was. Could have had something to do with KDE installation.
I removed this line from my make.conf as it's unnecessary now.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum