Bug#921820: fwupd: provide a network service file
I think for some people downloading metadata automatically in a timer/cron type way, may be useful but I think it's missing the last piece of integration to notify folks; motd messaging to let people know updates are available. Would you please consider bringing this discussion upstream? I think this even makes sense outside of Debian and would like to see it implemented in a future fwupd release directly. > -Original Message- > From: Ritesh Raj Sarraf On Behalf Of Ritesh Raj Sarraf > Sent: Thursday, July 11, 2019 6:53 AM > To: Debian Bug Tracking System > Subject: Bug#921820: fwupd: provide a network service file > > > [EXTERNAL EMAIL] > > Package: fwupd > Version: 1.2.5-2 > Followup-For: Bug #921820 > > Hello Mario, > > You also need to acknowledge the fact that there are many more users beyond > the GNOME desktop. And then there's also the minimal, server and remote > users. fwupd can work perfectly for those use cases. > > Attached is a .service and a .timer file for this use case. > > Please consider integrating them into the package. > > And below is the results: > > > Jul 11 19:10:05 priyasi systemd[1]: Starting Daily fwupd download > activities... > Jul 11 19:10:05 priyasi fwupdmgr[28271]: XPS 13 9370 System Firmware has > firmware updates: > Jul 11 19:10:05 priyasi fwupdmgr[28271]: GUID: > 7ceaf7a8-0611-4480- > 9e30-64d8de420c7c > Jul 11 19:10:05 priyasi fwupdmgr[28271]: ID: > com.dell.uefi7ceaf7a8.firmware > Jul 11 19:10:05 priyasi fwupdmgr[28271]: Update Version: 0.1.10.0 > Jul 11 19:10:05 priyasi fwupdmgr[28271]: Update Name: XPS 13 9370 > System Update > Jul 11 19:10:05 priyasi fwupdmgr[28271]: Update Summary: Firmware for > the Dell XPS 13 9370 > Jul 11 19:10:05 priyasi fwupdmgr[28271]: Update Remote ID:lvfs > Jul 11 19:10:05 priyasi fwupdmgr[28271]: Update Checksum: > SHA1(ffeea823f8af0e10084c8db90bfd066ff80c4580) > Jul 11 19:10:05 priyasi fwupdmgr[28271]: Update Location: > https://fwupd.org/downloads/19395e228ff2e832797d74a5a9afaf6574f21ca7- > XPS_9370_1.10.0.cab > Jul 11 19:10:05 priyasi fwupdmgr[28271]: Update Description: This stable > release fixes the following issues: > Jul 11 19:10:05 priyasi fwupdmgr[28271]: > Jul 11 19:10:05 priyasi fwupdmgr[28271]: ID: > com.dell.uefi7ceaf7a8.firmware > Jul 11 19:10:05 priyasi fwupdmgr[28271]: Update Version: 0.1.9.0 > Jul 11 19:10:05 priyasi fwupdmgr[28271]: Update Name: XPS 13 9370 > System Update > Jul 11 19:10:05 priyasi fwupdmgr[28271]: Update Summary: Firmware for > the Dell XPS 13 9370 > Jul 11 19:10:05 priyasi fwupdmgr[28271]: Update Remote ID:lvfs > Jul 11 19:10:05 priyasi fwupdmgr[28271]: Update Checksum: > SHA1(754e29b7c26299d10aa1069cc42e9d65cc318876) > Jul 11 19:10:05 priyasi fwupdmgr[28271]: Update Location: > https://fwupd.org/downloads/694da421c22f0f6457a820ce0f77ce29465de32f- > XPS_9370_1.9.0.cab > Jul 11 19:10:05 priyasi fwupdmgr[28271]: Update Description: This stable > release fixes the following issues: > Jul 11 19:10:05 priyasi fwupdmgr[28271]: > Jul 11 19:10:05 priyasi fwupdmgr[28271]: • Firmware > updates to > address security advisories INTEL-SA-00191(CVE-2018-12201, CVE-2018- 12202, > CVE-2018-12203). > Jul 11 19:10:05 priyasi fwupdmgr[28271]: • Fixed an > issue with > Secure Boot Option ROM Signature Verification. > Jul 11 19:10:05 priyasi fwupdmgr[28271]: > Jul 11 19:10:05 priyasi fwupdmgr[28271]: • Not > Applicable. > Jul 11 19:10:05 priyasi fwupdmgr[28271]: > Jul 11 19:10:05 priyasi fwupdmgr[28271]: ID: > com.dell.uefi7ceaf7a8.firmware > Jul 11 19:10:05 priyasi fwupdmgr[28271]: Update Version: 0.1.8.1 > Jul 11 19:10:05 priyasi fwupdmgr[28271]: Update Name: XPS 13 9370 > System Update > Jul 11 19:10:05 priyasi fwupdmgr[28271]: Update Summary: Firmware for > the Dell XPS 13 9370 > Jul 11 19:10:05 priyasi fwupdmgr[28271]: Update Remote ID:lvfs > Jul 11 19:10:05 priyasi fwupdmgr[28271]: Update Checksum: > SHA1(d0fb3e0b49f70fb4bc07790a70073306fa356fa3) > Jul 11 19:10:05 priyasi fwupdmgr[28271]: Update Location: > https://fwupd.org/downloads/3730feea49972ec78c61a8776dd518f2ffa98403- > Signed_1152921504627936323.cab > Jul 11 19:10:05 priyasi fwupdmgr[28271]: Update Description: This stable > release fixes the following issues: > Jul 11 19:10:05 priyasi fwupdmgr[28271]: > Jul 11 19:10:05 priyasi fwupdmgr[28271]: system is > started with > Dell Thunderbolt Dock TB16 connected to it > Jul 11 19:10:05 priyasi fwupdmgr[28271]: > Jul 11 19:10:05 priyasi f
Bug#921820: fwupd: provide a network service file
Package: fwupd Version: 1.2.5-2 Followup-For: Bug #921820 Hello Mario, You also need to acknowledge the fact that there are many more users beyond the GNOME desktop. And then there's also the minimal, server and remote users. fwupd can work perfectly for those use cases. Attached is a .service and a .timer file for this use case. Please consider integrating them into the package. And below is the results: Jul 11 19:10:05 priyasi systemd[1]: Starting Daily fwupd download activities... Jul 11 19:10:05 priyasi fwupdmgr[28271]: XPS 13 9370 System Firmware has firmware updates: Jul 11 19:10:05 priyasi fwupdmgr[28271]: GUID: 7ceaf7a8-0611-4480-9e30-64d8de420c7c Jul 11 19:10:05 priyasi fwupdmgr[28271]: ID: com.dell.uefi7ceaf7a8.firmware Jul 11 19:10:05 priyasi fwupdmgr[28271]: Update Version: 0.1.10.0 Jul 11 19:10:05 priyasi fwupdmgr[28271]: Update Name: XPS 13 9370 System Update Jul 11 19:10:05 priyasi fwupdmgr[28271]: Update Summary: Firmware for the Dell XPS 13 9370 Jul 11 19:10:05 priyasi fwupdmgr[28271]: Update Remote ID:lvfs Jul 11 19:10:05 priyasi fwupdmgr[28271]: Update Checksum: SHA1(ffeea823f8af0e10084c8db90bfd066ff80c4580) Jul 11 19:10:05 priyasi fwupdmgr[28271]: Update Location: https://fwupd.org/downloads/19395e228ff2e832797d74a5a9afaf6574f21ca7-XPS_9370_1.10.0.cab Jul 11 19:10:05 priyasi fwupdmgr[28271]: Update Description: This stable release fixes the following issues: Jul 11 19:10:05 priyasi fwupdmgr[28271]: Jul 11 19:10:05 priyasi fwupdmgr[28271]: ID: com.dell.uefi7ceaf7a8.firmware Jul 11 19:10:05 priyasi fwupdmgr[28271]: Update Version: 0.1.9.0 Jul 11 19:10:05 priyasi fwupdmgr[28271]: Update Name: XPS 13 9370 System Update Jul 11 19:10:05 priyasi fwupdmgr[28271]: Update Summary: Firmware for the Dell XPS 13 9370 Jul 11 19:10:05 priyasi fwupdmgr[28271]: Update Remote ID:lvfs Jul 11 19:10:05 priyasi fwupdmgr[28271]: Update Checksum: SHA1(754e29b7c26299d10aa1069cc42e9d65cc318876) Jul 11 19:10:05 priyasi fwupdmgr[28271]: Update Location: https://fwupd.org/downloads/694da421c22f0f6457a820ce0f77ce29465de32f-XPS_9370_1.9.0.cab Jul 11 19:10:05 priyasi fwupdmgr[28271]: Update Description: This stable release fixes the following issues: Jul 11 19:10:05 priyasi fwupdmgr[28271]: Jul 11 19:10:05 priyasi fwupdmgr[28271]: • Firmware updates to address security advisories INTEL-SA-00191(CVE-2018-12201, CVE-2018- 12202, CVE-2018-12203). Jul 11 19:10:05 priyasi fwupdmgr[28271]: • Fixed an issue with Secure Boot Option ROM Signature Verification. Jul 11 19:10:05 priyasi fwupdmgr[28271]: Jul 11 19:10:05 priyasi fwupdmgr[28271]: • Not Applicable. Jul 11 19:10:05 priyasi fwupdmgr[28271]: Jul 11 19:10:05 priyasi fwupdmgr[28271]: ID: com.dell.uefi7ceaf7a8.firmware Jul 11 19:10:05 priyasi fwupdmgr[28271]: Update Version: 0.1.8.1 Jul 11 19:10:05 priyasi fwupdmgr[28271]: Update Name: XPS 13 9370 System Update Jul 11 19:10:05 priyasi fwupdmgr[28271]: Update Summary: Firmware for the Dell XPS 13 9370 Jul 11 19:10:05 priyasi fwupdmgr[28271]: Update Remote ID:lvfs Jul 11 19:10:05 priyasi fwupdmgr[28271]: Update Checksum: SHA1(d0fb3e0b49f70fb4bc07790a70073306fa356fa3) Jul 11 19:10:05 priyasi fwupdmgr[28271]: Update Location: https://fwupd.org/downloads/3730feea49972ec78c61a8776dd518f2ffa98403-Signed_1152921504627936323.cab Jul 11 19:10:05 priyasi fwupdmgr[28271]: Update Description: This stable release fixes the following issues: Jul 11 19:10:05 priyasi fwupdmgr[28271]: Jul 11 19:10:05 priyasi fwupdmgr[28271]: system is started with Dell Thunderbolt Dock TB16 connected to it Jul 11 19:10:05 priyasi fwupdmgr[28271]: Jul 11 19:10:05 priyasi fwupdmgr[28271]: • This update integrates the BIOSConnect feature into Dell SupportAssist OS Recovery. This feature connects the system to the Dell image server to download and recover the operating system Jul 11 19:10:05 priyasi fwupdmgr[28271]: Jul 11 19:10:05 priyasi systemd[1]: fwupd-update.service: Succeeded. Jul 11 19:10:05 priyasi systemd[1]: Started Daily fwupd download activities. -- System Information: Debian Release: 10.0 APT prefers testing APT policy: (900, 'testing'), (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.19.0-5-amd64 (SMP w/8 CPU cores) Kernel taint flags: TAINT_USER, TAINT_WARN Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US (charmap=UTF-8) Shell: /bin/sh linked to /bin/d
Bug#921820: fwupd: provide a network service file
Control: severity -1 wishlist On Sat, 2019-02-09 at 13:14 +, mario.limoncie...@dell.com wrote: > Per design this functionality exists in the frontend that runs as > reduced privilege user. For example gnome-software which runs in a > users session and regularly checks for apt metadata also will > automatically check for firmware updates too. apt has the option to set timers that can be invoked periodically to update the database. rrs@priyasi:~$ systemctl status apt-daily.timer apt-daily-upgrade.timer ● apt-daily.timer - Daily apt download activities Loaded: loaded (/lib/systemd/system/apt-daily.timer; disabled; vendor preset: enabled) Active: inactive (dead) Trigger: n/a ● apt-daily-upgrade.timer - Daily apt upgrade and clean activities Loaded: loaded (/lib/systemd/system/apt-daily-upgrade.timer; disabled; vendor preset: enabled) Active: inactive (dead) Trigger: n/a 10:59 ♒♒♒☹ 😟=> 3 A similar timer could be introduced for fwupd. THis bug report should instead be a wishlist, so I'm changing the severity accordingly. -- Ritesh Raj Sarraf | http://people.debian.org/~rrs Debian - The Universal Operating System signature.asc Description: This is a digitally signed message part
Bug#921820: fwupd: provide a network service file
Per design this functionality exists in the frontend that runs as reduced privilege user. For example gnome-software which runs in a users session and regularly checks for apt metadata also will automatically check for firmware updates too.
Bug#921820: fwupd: provide a network service file
Package: fwupd Version: 1.1.4-1 Severity: important In its current form, fwupd does not refresh its database on a periodic basis. Please provide a database update service file so that fwupd can periodically update its database. rrs@priyasi:/var/tmp/$ sudo fwupdmgr update No upgrades for XPS 13 9370 System Firmware, current is 0.1.5.1: 0.1.5.1=same, 0.1.4.0=older, 0.1.3.3=older, 0.1.2.1=older, 0.1.2.0=older 10:28 ♒♒♒ ☺ 😄 rrs@priyasi:/var/tmp/$ sudo fwupdmgr get-updates Firmware metadata has not been updated for 30 days and may not be up to date. Update now? (Requires internet connection) [y|N]: y Fetching metadata https://cdn.fwupd.org/downloads/firmware.xml.gz Downloading… [***] Less than one minute remaining… Fetching signature https://cdn.fwupd.org/downloads/firmware.xml.gz.asc XPS 13 9370 System Firmware has firmware updates: GUID:7ceaf7a8-0611-4480-9e30-64d8de420c7c GUID:43ea5588-d9a4-5031-8ad3-308045302d6b GUID:230c8b18-8d9b-53ec-838b-6cfc0383493a ID: com.dell.uefi7ceaf7a8.firmware Update Version: 0.1.6.3 Update Name: XPS 13 9370 System Update Update Summary: Firmware for the Dell XPS 13 9370 Update Remote ID:lvfs Update Checksum: SHA1(ce74ca63e86e2844a37748fefbdaf2eaaa36345a) Update Location: https://fwupd.org/downloads/af59a2314c4881ffc02e3a204327d765d0fd256b-Signed_1152921504627870090.cab Update Description: This stable release fixes the following issues: • Fixed the incorrect Windows operating system logon message that is displayed on the lock screen of Windows. • Fixed the issue where the characters fail to display on the screen while typing continuously. • Enabled support for Intel Turbo Boost Technology on I3-8310U processors that was disabled by default. • Optimized the battery diagnostics in Dell Enhanced Pre-boot System Assessment (ePSA). 13:18 ♒♒♒ ☺ 😄 rrs@priyasi:/var/tmp/$ sudo fwupdmgr update Downloading 0.1.6.3 for XPS 13 9370 System Firmware... Fetching firmware https://fwupd.org/downloads/af59a2314c4881ffc02e3a204327d765d0fd256b-Signed_1152921504627870090.cab Downloading… [***] Less than one minute remaining… Decompressing… [***] Authenticating…[***] failed to run update_prepare() on upower: Cannot install update when not on AC power unless forced 13:27 ♒♒♒☹ 😟=> 1 rrs@priyasi:/var/tmp/$ sudo fwupdmgr update Downloading 0.1.6.3 for XPS 13 9370 System Firmware... Decompressing… [***] Authenticating…[***] Updating XPS 13 9370 System Firmware… ] Scheduling…[***] An update requires a reboot to complete. Restart now? [Y|n]: -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (900, 'testing'), (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.19.0-2-amd64 (SMP w/8 CPU cores) Kernel taint flags: TAINT_USER, TAINT_WARN Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages fwupd depends on: ii libappstream-glib8 0.7.14-1 ii libarchive13 3.3.3-4 ii libc6 2.28-6 ii libefiboot137-1 ii libefivar1 37-1 ii libelf10.175-2 ii libfwupd2 1.1.4-1 ii libgcab-1.0-0 1.2-2 ii libglib2.0-0 2.58.2-4 ii libgnutls303.6.6-2 ii libgpg-error0 1.35-1 ii libgpgme11 1.12.0-6 ii libgudev-1.0-0 232-2 ii libgusb2 0.3.0-1 ii libjson-glib-1.0-0 1.4.4-2 ii libpolkit-gobject-1-0 0.105-25 ii libsmbios-c2 2.4.1-1 ii libsoup2.4-1 2.64.2-2 ii libsqlite3-0 3.26.0+fossilbc891ac6b-2 ii libuuid1 2.33.1-0.1 Versions of packages fwupd recommends: ii bolt 0.7-2 pn fwupd-signed ii python3 3.7.2-1 fwupd suggests no packages. -- no debconf information