Bug#556739: os-prober: Mounts and reads logical volumes that are already mounted in a, virtual machine, which leads to filesystem corruption
severity 556739 critical
thanks
Package: os-prober
Version: 1.39
Hello,
The problem still exists in the current version of os-prober, and it really breaks file
systems of VMs. (I had some data loss, but luckily not of very important data).
The problem as described above is, that os-prober mounts file systems of running VMs which
leads to the kernel thinking that this FS needs repair, and then repairs it!
The following happened during an aptitude upgrade (while the VM was running), and I think
os-prober was called by a GRUB update.
syslog:
os-prober: debug: running /usr/lib/os-probes/50mounted-tests on /dev/mapper/vg0-joda_root
kernel: [2841458.225164] EXT3-fs: INFO: recovery required on readonly filesystem.
kernel: [2841458.231291] EXT3-fs: write access will be enabled during recovery.
kernel: [2841459.661026] kjournald starting. Commit interval 5 seconds
kernel: [2841459.661073] EXT3-fs: dm-4: orphan cleanup on readonly fs
kernel: [2841459.674109] ext3_orphan_cleanup: deleting unreferenced inode 82051
kernel: [2841459.684031] ext3_orphan_cleanup: deleting unreferenced inode 294921
kernel: [2841459.684050] EXT3-fs: dm-4: 2 orphan inodes deleted
kernel: [2841459.684078] EXT3-fs: recovery complete.
kernel: [2841459.895562] EXT3-fs: mounted filesystem with ordered data mode.
50mounted-tests: debug: mounted as ext3 filesystem
Regards,
Sebastian
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages os-prober depends on:
ii libc6 2.11.2-6 Embedded GNU C Library: Shared lib
os-prober recommends no packages.
os-prober suggests no packages.
-- no debconf information
Reply to: