Sebastian Andrzej Siewior wrote:
* Nigel Horne | 2008-11-18 21:35:14 [+0000]:

According to your strace output it seems that mlocate skips your root
device. Could you start |/usr/bin/updatedb.mlocate --debug-pruning

and paste what you get?

conf_block:
prune_bind_mounts\000
you remove all bind mounts

-----------------------
Rebuilding bind_mount_paths:
`/', opts `rw,noatime,errors=remount-ro'
`/lib/init/rw', opts `rw,nosuid,mode=0755'
`/proc', opts `rw,noexec,nosuid,nodev'
`/sys', opts `rw,noexec,nosuid,nodev'
`/proc/bus/usb', opts `rw'
`/dev', opts `rw,mode=0755'
`/dev/shm', opts `rw,nosuid,nodev'
`/dev/pts', opts `rw,noexec,nosuid,gid=5,mode=620'
`/sys/fs/fuse/connections', opts `rw'
`/home', opts `rw,noatime'
`/mnt/c', opts `rw,allow_other,blksize=4096'
`/mnt/d', opts `rw,allow_other,blksize=4096'
`/', opts `rw,bind'
=> adding `/'
`/home', opts `rw,bind'
=> adding `/home'
`/var/lib/nfs/rpc_pipefs', opts `rw'
`/net', opts `rw,fd=4,pgrp=3012,minproto=2,maxproto=4'
`/smb', opts `rw,fd=4,pgrp=2980,minproto=2,maxproto=4'
...done
Skipping `/': bind mount

and your root is bind mounted. Your setup may be be broken somehow. I
guess your / mount point is twice in /etc/mtab with ext3 and with a bind
mount. Once you get rid of this, your mlocate will work again.

Do you have a special fstab, initrd hooks or something else that would
explain it? Maybe it is a leftover from an earlier install and will work
once you remove that line.

Its a clean installation, the disc was formatted before installation.
If something is wrong it's nothing I've done!

Here is my /etc/mtab

/dev/sda6 / ext3 rw,noatime,errors=remount-ro 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid,mode=0755 0 0
proc /proc proc rw,noexec,nosuid,nodev 0 0
sysfs /sys sysfs rw,noexec,nosuid,nodev 0 0
procbususb /proc/bus/usb usbfs rw 0 0
udev /dev tmpfs rw,mode=0755 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /dev/pts devpts rw,noexec,nosuid,gid=5,mode=620 0 0
fusectl /sys/fs/fuse/connections fusectl rw 0 0
/dev/sdb2 /home ext3 rw,noatime 0 0
/dev/sda2 /mnt/c fuseblk rw,allow_other,blksize=4096 0 0
/dev/sdb1 /mnt/d fuseblk rw,allow_other,blksize=4096 0 0
/ / bind rw,bind 0 0
/home /home bind rw,bind 0 0
rpc_pipefs /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0
automount(pid3573) /net autofs rw,fd=4,pgrp=3573,minproto=2,maxproto=4 0 0
automount(pid3544) /smb autofs rw,fd=4,pgrp=3544,minproto=2,maxproto=4 0 0


Sebastian


--
Nigel Horne
ClamAV, The Open-Source GPL Multi-Platform Anti-Virus tool-kit




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to