linux-firmware upgrade started failing

Bug #1964844 reported by Leonardo Müller
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-firmware (Ubuntu)
New
Undecided
Unassigned

Bug Description

It was observed that linux-firmware upgrade started failing now. At the end of the apt upgrade process, the following message appeared (messages are in Portuguese):

Erros foram encontrados durante o processamento de:
 /tmp/apt-dpkg-install-WX2tyT/55-linux-firmware_20220314.gitcd01f857-0ubuntu1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

In the middle of the upgrade process, there was the following error:

A descompactar linux-firmware (20220314.gitcd01f857-0ubuntu1) sobre (20220302.gitee0667aa-0ubuntu1) ...
dpkg: erro ao processar o arquivo /tmp/apt-dpkg-install-WX2tyT/55-linux-firmware_20220314.gitcd01f857-0ubuntu1_all.deb (--unpack):
 não foi possível abrir '/lib/firmware/ath11k/WCN6855/hw2.0/regdb.bin.dpkg-new': Arquivo ou diretório inexistente
No apport report written because the error message indicates an issue on the local system
                                                                                         update-initramfs: Generating /boot/initrd.img-5.15.0-22-generic

The suspect I have is that linux-firmware started requiring an executable /tmp. This computer has the following /tmp mount:

tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noexec,relatime,inode64)

Considering dpkg/apt are already privileged processes, I find it strange it tries to extract and execute from /tmp when it could, theoretically, do this from another, safer, directory made specifically for dpkg/apt.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: linux-firmware 20220302.gitee0667aa-0ubuntu1
ProcVersionSignature: Ubuntu 5.15.0-22.22-generic 5.15.19
Uname: Linux 5.15.0-22-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu79
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: usuario 2559 F.... pipewire
                      usuario 2560 F.... wireplumber
 /dev/snd/pcmC0D0p: usuario 2559 F...m pipewire
 /dev/snd/seq: usuario 2559 F.... pipewire
CasperMD5CheckResult: unknown
CurrentDesktop: XFCE
Date: Mon Mar 14 20:43:31 2022
Dependencies: firmware-sof-signed 2.0-1ubuntu2
HibernationDevice: RESUME=none
InstallationDate: Installed on 2017-06-13 (1735 days ago)
InstallationMedia: Xubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
MachineType: LENOVO 80UG
PackageArchitecture: all
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.15.0-22-generic root=UUID=6b4ae5c0-c78c-49a6-a1ba-029192618a7a ro quiet kvm.ignore_msrs=1 kvm.report_ignored_msrs=0 kvm.halt_poll_ns=0 kvm.halt_poll_ns_grow=0 i915.enable_gvt=1 nbd.nbds_max=2 nbd.max_part=127 mtrr_gran_size=128M mtrr_chunk_size=256M log_buf_len=128M zswap.enabled=1 zswap.zpool=z3fold usbhid.quirks=0x0079:0x0006:0x100000
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-5.15.0-22-generic N/A
 linux-backports-modules-5.15.0-22-generic N/A
 linux-firmware 20220302.gitee0667aa-0ubuntu1
SourcePackage: linux-firmware
UpgradeStatus: Upgraded to jammy on 2019-12-22 (813 days ago)
dmi.bios.date: 08/09/2018
dmi.bios.release: 1.45
dmi.bios.vendor: LENOVO
dmi.bios.version: 0XCN45WW
dmi.board.asset.tag: NO Asset Tag
dmi.board.name: Toronto 4A2
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40679 WIN
dmi.chassis.asset.tag: NO Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Lenovo ideapad 310-14ISK
dmi.ec.firmware.release: 1.45
dmi.modalias: dmi:bvnLENOVO:bvr0XCN45WW:bd08/09/2018:br1.45:efr1.45:svnLENOVO:pn80UG:pvrLenovoideapad310-14ISK:rvnLENOVO:rnToronto4A2:rvrSDK0J40679WIN:cvnLENOVO:ct10:cvrLenovoideapad310-14ISK:skuLENOVO_MT_80UG_BU_idea_FM_Lenovoideapad310-14ISK:
dmi.product.family: IDEAPAD
dmi.product.name: 80UG
dmi.product.sku: LENOVO_MT_80UG_BU_idea_FM_Lenovo ideapad 310-14ISK
dmi.product.version: Lenovo ideapad 310-14ISK
dmi.sys.vendor: LENOVO
modified.conffile..etc.cron.daily.apport: [deleted]

Revision history for this message
Leonardo Müller (leozinho29-eu) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.