Bug#680320: os-prober: Hangs
Package: os-prober
Version: 1.53
Severity: important
Dear Maintainer,
*** Please consider answering these questions, where appropriate ***
* What led up to the situation?
Ran os-prober
* What exactly did you do (or not do) that was effective (or
ineffective)?
I ran os-prober
* What was the outcome of this action?
/dev/sda1:Windows Vista (loader):Windows:chain
rmdir: failed to remove `/var/lib/os-prober/mount': Device or resource busy
/dev/sda2:Windows Vista (loader):Windows1:chain
/dev/sdg1:unknown Linux distribution:Linux:linux
rmdir: failed to remove `/var/lib/os-prober/mount': Device or resource busy
[ at this point all output stops ]
* What outcome did you expect instead?
A list of operating systems.
*** End of the template - remove these lines ***
njh@packard:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda6 / ext3 errors=remount-ro,noatime 0 1
UUID=38cb96ce-03b3-48e8-bb07-ada30a8f9c54 / ext3 errors=remount-ro,noatime 0 1
# /dev/sdb2 /home ext3 noatime 0 2
UUID=924ab451-776c-4558-bca5-f52dee7a4ea2 /home ext3 noatime 0 2
# /dev/sda5 none swap sw 0 0
UUID=0fa1b1a3-d3cc-4a3c-aa6f-37b5ee44261c none swap sw 0 0
# /dev/hdc /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/cdrom1 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
# /dev/sda2 /mnt/c ntfs-3g defaults,umask=0,nls-utf8 0 0
UUID=BA7657137656CFAD /mnt/c ntfs-3g defaults,umask=0,nls-utf8 00
# /dev/sdb1 /mnt/d ntfs-3g defaults,umask=0,nls-utf8 0 0
UUID=5A3A6E293A6E027D /mnt/d ntfs-3g defaults,umask=0,nls-utf8 00
gateway:/ /mnt/gateway nfs rw,hard,intr,nolock 0 0
gateway:/home /mnt/gateway/home nfs rw,hard,intr,nolock 0 0
gateway:/var /mnt/gateway/var nfs rw,hard,intr,nolock 0 0
gateway:/var/www/mirrors/CPAN /mnt/CPAN nfs ro,intr 0 0
# 192.168.7.97:/Users/nigel/web /mnt/web nfs rw,intr 0 0
/dev/sdg1 /mnt/sdg1 ufs ro,ufstype=sun 0 0
# LABEL=packard-mnt-sdg1 /mnt/sdg1 ufs ro,ufstype=sun 0 0
/dev/sdg8 /mnt/sdg8 ufs ro,ufstype=sun 0 0
# LABEL=packard-mnt-sdg8 /mnt/sdg8 ufs ro,ufstype=sun 0 0
njh@packard:~$
It looks as though os-prober has hung because it hasn't noticed that the
mount command has finished:
28179 pts/0 S 0:00 /bin/sh /usr/lib/os-probes/50mounted-tests /dev/sdg8
28506 pts/0 D 0:00 mount -o ro -t ufs /dev/sdg8 /var/lib/os-prober/mount
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages os-prober depends on:
ii libc6 2.13-34
os-prober recommends no packages.
os-prober suggests no packages.
-- no debconf information
Reply to: