blkid always hangs, launched by dpkg --configure -a

Bug #1895686 reported by Darxus
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
util-linux (Ubuntu)
New
Undecided
Unassigned

Bug Description

I noticed last night that package install fails. Then I noticed processes running from an automatic upgrade that ran on September first. Whenever I run "dpkg --configure -a", it gets stuck on blkid hanging. When I run the same command manually through strace, it seems to get hung on opening the floppy drive, which does not exist:

# strace -o blkid.log blkid -l -t UUID=55e42e8c-9316-46bf-b6a3-888f7368c779

...
lstat("/dev/fd0", {st_mode=S_IFBLK|0660, st_rdev=makedev(0x2, 0), ...}) = 0
access("/dev/fd0", F_OK) = 0
stat("/dev/fd0", {st_mode=S_IFBLK|0660, st_rdev=makedev(0x2, 0), ...}) = 0
openat(AT_FDCWD, "/sys/dev/block/2:0", O_RDONLY|O_CLOEXEC) = 4
openat(4, "dm/uuid", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
close(4) = 0
openat(AT_FDCWD, "/dev/fd0", O_RDONLY|O_CLOEXEC

This bug was submitted by running ubuntu-bug on one of the hung instances of blkid.

https://ubuntuforums.org/showthread.php?t=2450510

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: util-linux 2.34-0.1ubuntu9
ProcVersionSignature: Ubuntu 5.4.0-42.46-generic 5.4.44
Uname: Linux 5.4.0-42-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu27.8
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: MATE
Date: Tue Sep 15 10:18:23 2020
ExecutablePath: /sbin/blkid
InstallationDate: Installed on 2016-05-28 (1571 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
SourcePackage: util-linux
UpgradeStatus: Upgraded to focal on 2020-08-20 (25 days ago)

Revision history for this message
Darxus (darxus) wrote :
description: updated
description: updated
Revision history for this message
Darxus (darxus) wrote :
Darxus (darxus)
description: updated
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.