Bug#1108743: fwupd: questions should be sent to the terminal, not to the standard output

2025-07-04 Thread Vincent Lefevre
Control: tags -1 upstream
Control: forwarded -1 https://github.com/fwupd/fwupd/issues/9003

On 2025-07-04 13:52:34 +0200, Vincent Lefevre wrote:
> I did "fwupdmgr get-devices > out", and it froze without any message.
> So I looked at the "out" file, and I saw that it ended with
> 
> Review and upload report now? (Requires internet connection) [Y|n]: 
> 
> Such questions should be sent to the terminal, not to the
> standard output, which may be redirected.

The bug is in the upstream code. I've just done a bug report upstream.

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)



Bug#1108743: fwupd: questions should be sent to the terminal, not to the standard output

2025-07-04 Thread Vincent Lefevre
Package: fwupd
Version: 2.0.12-1
Severity: normal

I did "fwupdmgr get-devices > out", and it froze without any message.
So I looked at the "out" file, and I saw that it ended with

Review and upload report now? (Requires internet connection) [Y|n]: 

Such questions should be sent to the terminal, not to the
standard output, which may be redirected.

-- System Information:
Debian Release: 13.0
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-security'), (500, 
'stable-updates'), (500, 'stable-security'), (500, 'stable-debug'), (500, 
'proposed-updates-debug'), (500, 'unstable'), (500, 'testing'), (500, 
'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.33+deb13-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages fwupd depends on:
ii  libarchive13t64 3.7.4-3
ii  libblkid1   2.41-5
ii  libc6   2.41-9
ii  libcbor0.10 0.10.2-2
ii  libcurl3t64-gnutls  8.14.1-2
ii  libdrm-amdgpu1  2.4.124-2
ii  libdrm2 2.4.124-2
ii  libflashrom11.4.0-3
ii  libfwupd3   2.0.12-1
ii  libglib2.0-0t64 2.84.3-1
ii  libgnutls30t64  3.8.9-2
ii  libjcat10.2.3-1
ii  libjson-glib-1.0-0  1.10.6+ds-2
ii  liblzma55.8.1-1
ii  libmbim-glib4   1.32.0-1
ii  libmbim-proxy   1.32.0-1
ii  libmm-glib0 1.24.0-1
ii  libpolkit-gobject-1-0   126-2
ii  libprotobuf-c1  1.5.1-1
ii  libqmi-glib51.36.0-1
ii  libqmi-proxy1.36.0-1
ii  libsqlite3-03.46.1-6
ii  libsystemd0 257.7-1
ii  libtss2-esys-3.0.2-0t64 4.1.3-1.2
ii  libusb-1.0-02:1.0.28-1
ii  libxmlb20.3.22-1
ii  shared-mime-info2.4-5+b2
ii  systemd [systemd-sysusers]  257.7-1
ii  zlib1g  1:1.3.dfsg+really1.3.1-1+b1

Versions of packages fwupd recommends:
ii  bolt   0.9.8-1
ii  dbus [default-dbus-system-bus] 1.16.2-2
ii  fwupd-amd64-signed [fwupd-signed]  1:1.7+1
ii  jq 1.8.0-1
ii  python33.13.5-1
ii  udisks22.10.1-12.1

Versions of packages fwupd suggests:
pn  gir1.2-fwupd-2.0  

-- Configuration Files:
/etc/fwupd/fwupd.conf [Errno 13] Permission denied: '/etc/fwupd/fwupd.conf'
/etc/fwupd/remotes.d/lvfs-testing.conf changed:
[fwupd Remote]
Enabled=false
Title=Linux Vendor Firmware Service (testing)
MetadataURI=https://cdn.fwupd.org/downloads/firmware-testing.xml.zst
PrivacyURI=https://lvfs.readthedocs.io/en/latest/privacy.html
ReportURI=https://fwupd.org/lvfs/firmware/report
FirmwareBaseURI=https://fwupd.org/downloads
OrderBefore=lvfs
AutomaticReports=true
ApprovalRequired=false

/etc/fwupd/remotes.d/lvfs.conf changed:
[fwupd Remote]
Enabled=true
Title=Linux Vendor Firmware Service
MetadataURI=https://cdn.fwupd.org/downloads/firmware.xml.zst
ReportURI=https://fwupd.org/lvfs/firmware/report
PrivacyURI=https://lvfs.readthedocs.io/en/latest/privacy.html
FirmwareBaseURI=https://fwupd.org/downloads
AutomaticReports=true
AutomaticSecurityReports=false
ApprovalRequired=false


-- no debconf information

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)