[systemd-devel] Fail to configure MaxFiles and MaxUse for systemd-journal-remote

Vito Caputo vcaputo at pengaru.com
Fri Feb 3 19:18:39 UTC 2023


Hi Antonio,

It appears the man pages @ freedesktop.org reflect either the latest
state of the main branch, or the newest tag.  Because that was added
to journal-remote in commit f12b399dd6362a03379cb769954ebfb9972236ed,
after v242 released, and the commits only exist in main and the
v253-rc[12] tags:

> commit f12b399dd6362a03379cb769954ebfb9972236ed
> Author: berenddeschouwer <berend.de.schouwer at gmail.com>
> Date:   Sat Dec 17 15:54:16 2022 +0200
> 
>     vacuum journal remote (#25076)
>     
>     * Support vacuuming for journal-remote
>     
>     Co-authored-by: Berend De Schouwer <berend at deschouwer.co.za>
> 
> 

```
$ git tag --contains f12b399dd6362a03379cb769954ebfb9972236ed
v253-rc1
v253-rc2
```

It may make sense to create an issue regarding the docs @ freedesktop
being kept too up to date.  It arguably shouldn't be publicizing
release candidate stuff no distro reasonably ships yet...

Regards,
Vito Caputo


On Fri, Feb 03, 2023 at 11:51:00AM +0100, antonio amaddio wrote:
> Hi Peter,
> 
> Thanks for your answer. That is correct for journald.conf. For
> journal-remote.conf the name of the keys differ (according to:
> https://www.freedesktop.org/software/systemd/man/journal-remote.conf.html).
> 
> Am I wrong?
> 
> On Fri, Feb 3, 2023 at 9:57 AM Peter Hoeg <peter at hoeg.com> wrote:
> 
> > Jan 27 10:20:11 log-server systemd-journal-remote[949021]:
> > /etc/systemd/journal-remote.conf:18: Unknown key name ’MaxFiles’ in section
> > ’Remote’, ignoring.
> >
> > Because there is no key by that name? According to man journald.conf it’s
> > either SystemMaxFiles or RuntimeMaxFiles depending on what you’re looking
> > for.
> >


More information about the systemd-devel mailing list