[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: journald und gespeicherte Daten



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.

systemd, wie immer, PITA.

Norbert

--
PREINING Norbert                               http://www.preining.info
Accelia Inc. + IFMGA ProGuide + TU Wien + JAIST + TeX Live + Debian Dev
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13


Reply to: