Re: journald und gespeicherte Daten
Norbert Preining - 12.01.20, 01:26:39 CET:
> On Sun, 12 Jan 2020, Norbert Preining wrote:
> > Das habe ich auch so gelesen, nur keine Erklärung warum es auf zwei
> > verschiedenen Systemen verschieden läuft...
>
> Ohhh, ich glaub ich hab es in systemd-journald.service manpage
> gefunden
>
> The journal service stores log data either persistently below
> /var/log/journal or in a volatile way below /run/log/journal/ (in the
> latter case it is lost at reboot). By default, log data is stored
> persistently if /var/log/journal/ exists during boot, with an
> implicit fallback to volatile storage otherwise. Use Storage= in
> journald.conf(5) to configure where log data is placed, independently
> of the existence of /var/log/journal/.
>
> On systems where /var/log/journal/ does not exist yet but where
> persistent logging is desired (and the default journald.conf is
> used), it is sufficient to create the directory, and ensure it has
> the correct access modes and ownership:
>
> mkdir -p /var/log/journal
> systemd-tmpfiles --create --prefix /var/log/journal
> See journald.conf(5) for information about the configuration of
this
> service.
>
> Ahhh, also muss man das mit Hand anlegen ... jaja, danke dass das
> nicht in journald.conf manpage steht.
Hmmm… okay, jetzt verstehe ich worüber Du gestolpert bist.
Nunja, meine Systeme laufen mittlerweile alle ohne Systemd.
Ciao,
--
Martin
Reply to: