Hallo,
* Helge Deller [Wed, Sep 28 2022, 12:46:53PM]:
> Package: apt-cacher-ng
> Severity: 3.7.4-1
> Tags: lfs, hppa, patch
>
> Please enable large file support.
> apt-cacher-ng uses readdir() which can fail on 32-bit arches
> running on large discs.

This does not make sense. readdir() does not care about large discs. It
might care about the file number in a directory. And while there are
some limitations with readdir for virtual filesystems (like NFS) there
should be no issue with local filesystem where kernel is maintaining the
internal handle with proper means.

So do you have your cache on NFS with thousands of files in a single
directory?

> Sometimes I see a cron job warning:
> /etc/cron.daily/apt-cacher-ng:
> Aborted
> run-parts: /etc/cron.daily/apt-cacher-ng exited with return code 134
>
> Change is trivial, just add "future=+lfs" to DEB_BUILD_MAINT_OPTIONS:

This does not make sense. That would only inject a couple of runtime
influencing defines. apt-cacher-ng has been adding those defines since
the early days of its creation.

And how would that affect readdir related syscalls?

Best regards,
Eduard.

--
Wenn wir bedenken, daß wir alle verrückt sind, ist das Leben erklärt.
                -- Mark Twain (eigl. Samuel Langhorne Clemens)

Reply via email to