Public bug reported:

On a 19.10 (pre-release, 20191016 daily) zfs installation, running 'os-
prober' (as 'update-grub' does by default) triggers the following error
message:

x@x:~$ sudo os-prober; echo $?
device-mapper: reload ioctl on osprober-linux-sda5  failed: Device or resource 
busy
Command failed.
0
x@x:~$

The exit code is 0, so update-grub does not fail as a result.


Partitions on the only available storage (automatically setup by installer):

x@x:~$ sudo fdisk /dev/sda -l
Disk /dev/sda: 10 GiB, 10737418240 bytes, 20971520 sectors
Disk model: VBOX HARDDISK   
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: AB7BECFB-5946-48B2-9C59-D2B1261E29A5

Device       Start      End  Sectors  Size Type
/dev/sda1     2048  1050623  1048576  512M EFI System
/dev/sda2  1050624  1153023   102400   50M Linux filesystem
/dev/sda3  1153024  2070527   917504  448M Linux swap
/dev/sda4  2070528  6264831  4194304    2G Solaris boot
/dev/sda5  6264832 20971486 14706655    7G Solaris root
x@x:~$ 


ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: os-prober 1.74ubuntu2
ProcVersionSignature: Ubuntu 5.3.0-18.19-generic 5.3.1
Uname: Linux 5.3.0-18-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu8
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Thu Oct 17 14:19:59 2019
InstallationDate: Installed on 2019-10-17 (0 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191016.5)
SourcePackage: os-prober
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: os-prober (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug eoan zfs zfsroot

** Description changed:

  On a 19.10 (pre-release, 20191016 daily) zfs installation, running 'os-
  prober' (as 'update-grub' does by default) triggers the following error
  message:
  
  x@x:~$ sudo os-prober; echo $?
  device-mapper: reload ioctl on osprober-linux-sda5  failed: Device or 
resource busy
  Command failed.
  0
+ x@x:~$
+ 
+ The exit code is 0, so update-grub does not fail as a result.
+ 
+ 
+ Partitions on the only available storage (automatically setup by installer):
+ 
+ x@x:~$ sudo fdisk /dev/sda -l
+ Disk /dev/sda: 10 GiB, 10737418240 bytes, 20971520 sectors
+ Disk model: VBOX HARDDISK   
+ Units: sectors of 1 * 512 = 512 bytes
+ Sector size (logical/physical): 512 bytes / 512 bytes
+ I/O size (minimum/optimal): 512 bytes / 512 bytes
+ Disklabel type: gpt
+ Disk identifier: AB7BECFB-5946-48B2-9C59-D2B1261E29A5
+ 
+ Device       Start      End  Sectors  Size Type
+ /dev/sda1     2048  1050623  1048576  512M EFI System
+ /dev/sda2  1050624  1153023   102400   50M Linux filesystem
+ /dev/sda3  1153024  2070527   917504  448M Linux swap
+ /dev/sda4  2070528  6264831  4194304    2G Solaris boot
+ /dev/sda5  6264832 20971486 14706655    7G Solaris root
  x@x:~$ 
  
- The exit code is 0, so update-grub does not fail as a result.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: os-prober 1.74ubuntu2
  ProcVersionSignature: Ubuntu 5.3.0-18.19-generic 5.3.1
  Uname: Linux 5.3.0-18-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu8
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Thu Oct 17 14:19:59 2019
  InstallationDate: Installed on 2019-10-17 (0 days ago)
  InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191016.5)
  SourcePackage: os-prober
  UpgradeStatus: No upgrade log present (probably fresh install)

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

Title:
  [zfs-root] device-mapper: reload ioctl on osprober-linux-sda5  failed:
  Device or resource busy

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/os-prober/+bug/1848496/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to