Files
plocate/usr.bin.plocate
Dirk Stoecker eeb80baf09 Accepting request 1108124 from home:manfred999
plocate is vastly superior (speed and database size) to mlocate while still being compatible. Mlocate is not developed since years, most major distributions switched to plocate a long time ago.

This SR adjusts plocate to be compatible to the SUSE version
of mlocate: no setgid, run as nobody, visibility check disabled.
The intention is to have a drop-in replacement for mlocate.

I tested both the RUN_UPDATEDB_AS=nobody and
RUN_UPDATEDB_AS=root variants, works for me (TM). After some
simmering in server:search a submit to Factory is intended.

Second submission, changes see changelog.

OBS-URL: https://build.opensuse.org/request/show/1108124
OBS-URL: https://build.opensuse.org/package/show/server:search/plocate?expand=0&rev=1
2023-09-21 07:04:56 +00:00

12 lines
221 B
Plaintext

# Last Modified: Sun Aug 27 12:14:13 2023
include <tunables/global>
/usr/bin/{p,}locate {
include <abstractions/base>
include <abstractions/nameservice>
/usr/bin/{p,}locate mr,
/var/lib/plocate/plocate.db r,
}