Am 03.02.20 um 08:50 schrieb Marc Haber:
> So I now suspect that the x bit gets set during the log rotation. What
> umask is the process doing the log rotation running with?

The rotation is done by journald itself [1] iirc

As for the umask:
$ systemctl show systemd-journald.service -p UMask
UMask=0022

You should be able to trigger an explicit rotation by sending the
journald process SIGUSR2
$ systemctl kill --signal=USR2 systemd-journald.service

This should make it easier for you to check your theory.

Regards,
Michael


[1]
https://salsa.debian.org/systemd-team/systemd/blob/debian/master/src/journal/journald-server.c#L442
https://salsa.debian.org/systemd-team/systemd/blob/debian/master/src/journal/journal-file.c#L3500

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to