Date: Wed, 12 Apr 2017 08:55:40 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 126936] locate.updatedb(8): updatedb fails silently when attempting to search a disconnected samba share Message-ID: <bug-126936-8-RMHMX5ZsN5@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-126936-8@https.bugs.freebsd.org/bugzilla/> References: <bug-126936-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D126936 Thomas Corell <fbsd-bug-reports@dum.dk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fbsd-bug-reports@dum.dk --- Comment #1 from Thomas Corell <fbsd-bug-reports@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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-126936-8-RMHMX5ZsN5>