[Bug 1895686] Re: blkid always hangs, launched by dpkg --configure -a

Darxus 1895686 at bugs.launchpad.net
Tue Sep 15 14:32:35 UTC 2020


** Description changed:

  I noticed last night that package install fails.  Then I noticed
- processes running from an automatic upgrade that ran on September 9th.
+ 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)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1895686

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

Status in util-linux package in Ubuntu:
  New

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1895686/+subscriptions



More information about the foundations-bugs mailing list