Upgrade to 2.12~rc1-4ubuntu1 failed with "umount: /tmp/zfsmnt.5DJ7yi: target is busy."
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Fix Released
|
Low
|
Julian Andres Klode |
Bug Description
Tried to update my system today and got the error below. It's Mantic with the standard ZFS installation.
Setting up linux-image-
Setting up grub-pc (2.12~rc1-4ubuntu1) ...
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/
Generating grub configuration file ...
/etc/grub.
umount: /tmp/zfsmnt.5DJ7yi: target is busy.
rmdir: failed to remove '/tmp/zfsmnt.
dpkg: error processing package grub-pc (--configure):
installed grub-pc package post-installation script subprocess returned error exit status 1
No apport report written because the error message indicates its a followup error from a previous failure.
grub-efi-
Package grub-efi-amd64 is not installed.
Package grub-pc is not configured yet.
dpkg: error processing package grub-efi-
dependency problems - leaving unconfigured
Processing triggers for linux-image-
/etc/kernel/
* dkms: running auto installation service for kernel 6.3.0-7-generic
* dkms: autoinstall for kernel 6.3.0-7-generic
...done.
/etc/kernel/
update-initramfs: Generating /boot/initrd.
W: Possible missing firmware /lib/firmware/
W: Possible missing firmware /lib/firmware/
W: Possible missing firmware /lib/firmware/
W: Possible missing firmware /lib/firmware/
W: Possible missing firmware /lib/firmware/
W: Possible missing firmware /lib/firmware/
W: Possible missing firmware /lib/firmware/
W: Possible missing firmware /lib/firmware/
W: Possible missing firmware /lib/firmware/
W: Possible missing firmware /lib/firmware/
/etc/kernel/
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/
Generating grub configuration file ...
/etc/grub.
umount: /tmp/zfsmnt.ftFfAn: target is busy.
rmdir: failed to remove '/tmp/zfsmnt.
run-parts: /etc/kernel/
dpkg: error processing package linux-image-
installed linux-image-
Errors were encountered while processing:
grub-pc
grub-efi-
linux-
E: Sub-process /usr/bin/dpkg returned an error code (1)
In the end these mount points were left behind:
rpool/ROOT/
bpool/BOOT/
rpool/ROOT/
bpool/BOOT/
description: | updated |
Changed in grub2 (Ubuntu): | |
status: | Triaged → Fix Committed |
It's not clear why they're in use, you may want to run fuser to find out. But ultimately I guess that's a kernel bug that we can't do anything about in grub.
The real bug in grub here is bug 2029260.