[systemd-devel] systemd-clean and large files

Lennart Poettering lennart at poettering.net
Tue Apr 26 10:59:28 PDT 2011


On Mon, 25.04.11 19:23, Kay Sievers (kay.sievers at vrfy.org) wrote:

> 
> On Mon, Apr 25, 2011 at 12:12, jean-michel.pollion at laposte.net
> <jean-michel.pollion at laposte.net> wrote:
> >
> > I'm trying to use the systemd-tmpfiles-clean service with a backup directory, but it always fails to start, with the "Value too large for defined data type" error, which I think means largefile support is not enabled by default on these tools (I'm on a 32 bit system) and probably others, as I have lots of files > 2GB in this directory.
> > Is this intentional or a bug?
> > I think that's a bug anyway, as that means that putting a correct conf file in /etc/tmpfiles.d can make the service fail, so /tmp and other directories will not be cleaned. Supporting largefile would be nice though.
> 
> Does adding:
>   AC_SYS_LARGEFILE
> to:
>   configure.ac
> make it work?

This has now been made the default in git.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list