在关机或重新启动期间无法卸载/ oldroot / dev警告

从18.04升级到20.04后,我在关机或重新启动期间注意到了一些警告,例如:

Failed to unmount /oldroot: Device or Resource busy
Failed to unmount /oldroot/dev/pts: Device or Resource busy
Failed to unmount /oldroot/dev: Device or Resource busy
Failed to unmount /oldroot/sys: Device or Resource busy

有时它在屏幕上可见,有时它被闪屏覆盖。 我找不到使用journalctl或日志相关的任何内容,唯一发现的是:

abr 23 22:24:36 vanburen07-G5-5590 sudo[6451]: vanburen07 : TTY=pts/0 ; PWD=/home/vanburen07 ; USER=root ; COMMAND=/bin/umount /oldroot/dev/pts

fstab中没有安装任何特定的东西:

abr 23 22:24:36 vanburen07-G5-5590 sudo [6451]:vanburen07:TTY = pts / 0; PWD = / home / vanburen07; USER = root; COMMAND = / bin / umount / oldroot / dev / pts

fstab中没有特定内容:

 <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/nvme0n1p3 during installation
UUID=063c6892-66d6-4598-9dcf-82136ad4ea81 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=C000-EAB9  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

我唯一能找到的是在Arch / Manjaro论坛上,建议的解决方法是修改Ubuntu中不存在的文件:/etc/mkinitcpio.conf

我认为这不是一个大问题,因为它不会导致可见的崩溃甚至系统日志中的错误,但是知道原因是很高兴的。

评论