[systemd-devel] percentage values in journald.conf

Lennart Poettering lennart at poettering.net
Thu Oct 2 11:52:52 PDT 2014


On Fri, 19.09.14 11:31, Christian Hesse (list at eworm.de) wrote:

> Hello everybody,
> 
> I am just trying to give journald some useful configuration on my system with
> a dedicated log partition. The man page speaks about default values in
> percent, so I tried:
> 
> SystemMaxUse=75%
> SystemKeepFree=25%
> 
> However this is ignored. Are values in percent supposed to work?

No, this is currently not supported.

> Either we should make this work (I would prefer) or mention in man page more
> clearly that values are expected in absolut values, not percentage.

I'd be delighted to take a patch that makes this work, but it's not
trivial, since we need to resolve the percentage value only at the
moment we really need to know it, not any earlier, since it is
entirely dynamic...

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list