[Bug 126936] locate.updatedb(8): updatedb fails silently when attempting to search a disconnected samba share

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Apr 12 08:55:41 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=126936

Thomas Corell <fbsd-bug-reports at dum.dk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fbsd-bug-reports at dum.dk

--- Comment #1 from Thomas Corell <fbsd-bug-reports at dum.dk> ---
This bug is still around. I'm not sure, if I should open a new bug-report or
add to this bug-report ?

Had a hard time to track it down on a FreeBSD 11, with a generic kernel.

However running it the "right way" it does nothing, except a empty
locate-database:
---
# time sh /etc/periodic/weekly/310.locate

Rebuilding locate database:
0.159u 0.341s 0:00.74 66.2%     77+206k 38+0io 0pf+0w
---

Running /usr/libexec/locate.updatedb as root "works", except that it is not
recommended.

My work-around was to use PRUNEPATHS in /etc/locate.rc, and add '/mnt'. Then
/etc/periodic/weekly/310.locate runs as expected.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list