does systemd.install need to create /var/log/journal/remote/ ?
Task Info (Flyspray) | |
---|---|
Opened By | Damjan Georgievski (damjan) |
Task ID | 74500 |
Type | Feature Request |
Project | Arch Linux |
Category | Packages: Core |
Version | None |
OS | All |
Opened | 2022-04-18 21:00:25 UTC |
Status | Assigned |
Assignee | Christian Hesse (eworm) |
Details
This more of a suggestion,
afaik the lines[1] in systemd.install file that create /var/log/journal/remote/ are not needed, since the systemd-journal-remote.service has LogsDirectory=journal/remote and will create the directory automatically when/if needed.
The only difference I can see is that, systemd will create the directory as: drwxr-xr-x 2 systemd-journal-remote systemd-journal-remote 4096 Apr 18 22:48 /var/log/journal/remote/
and the install script as: drwxr-sr-x+ 2 root systemd-journal-remote 4096 Aug 2 2019 /var/log/journal/remote
but I guess systemd knows better here?
[1] https://github.com/archlinux/svntogit-packages/blob/packages/systemd/trunk/systemd.install#L39-L41