Bug ID 1189793
Summary libzypp cache keeps /mnt/var mount busy
Classification openSUSE
Product openSUSE Distribution
Version Leap 15.3
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Installation
Assignee yast2-maintainers@suse.de
Reporter shundhammer@suse.com
QA Contact jsrain@suse.com
Found By ---
Blocker ---

Created attachment 852030 [details]
y2logs tarball

In the process of testing my changes of umount_finish.rb I got errors because
/mnt/var could not be unmounted (and subsequently of course also not /mnt). It
turned out that the libzypp cache was still open when umount_finish.rb
attempted to unmount all target mounts; so I got this:

2021-08-25 13:41:11 <3> install(4456) [Ruby] 
  lib/cheetah.rb(log_stream_line):208 Error output: 
  umount: /mnt/var: target is busy.

2021-08-25 13:41:11 <2> install(4456) [Ruby]
clients/umount_finish.rb(log_running_processes):185 

Running processes using /mnt/var:
                     USER        PID ACCESS COMMAND
/mnt/var:            root     kernel mount /mnt/var
                     root       4456 f.... y2start



0:install:/ # /mnt/usr/bin/lsof -p 4456 | grep '/mnt'

y2start 4456 root 27r REG 0,40 821414 12740
  /mnt/var/cache/zypp/solv/repo-update/solv

y2start 4456 root 28r REG 0,40 20071 12744
  /mnt/var/cache/zypp/solv/repo-update-non-oss/solv

y2start 4456 root 29r REG 0,40 33644441 12748
  /mnt/var/cache/zypp/solv/repo-oss/solv

y2start 4456 root 30r REG 0,40 49563 12752
  /mnt/var/cache/zypp/solv/repo-non-oss/solv


This prevents /mnt/var and thus /mnt from being unmounted, so the reboot after
the installation will complain about the root filesystem not being cleanly
unmounted and require a filesystem check.


I was using a DVD ISO, no installer self-update, no online repositories
enabled.


You are receiving this mail because: