* 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.

Sebastian



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

Reply via email to