Package: plocate
Version: 1.1.1-2
Followup-For: Bug #976427

Hi,
ow...@bugs.debian.org (2020-12-07 at 1009.05 +0000):
>  plocate (1.1.1-2) unstable; urgency=medium
>  .
>    * Install a new /etc/cron.daily/plocate, for non-systemd users;
>      based on work by GSR, which based it on the mlocate cron job.
>      (Closes: #976427)

Script must be chmod a+x or Debian's cron ignores it (see run-parts(8)
and all other scripts under /etc/cron.daily/).

And the ulimit line is missing, so when testing manually it fails with
---8<---
/some/dir/somewhere: Too many open files
Hint: Try `ulimit -n 8192' or similar (current limit is 4096).
--->8---

A big limit is needed, or the binary must be changed to work inside
typical limits (IIRC soft 1024 / hard 4096 are the defaults for non
privileged accounts, root must be ignoring soft one).

When run for personal databases the solution must come from the
binary, as users will not be able to raise limit beyond the hard
number.

Cheers,
GSR
 

Reply via email to