Hello!
I only briefly tested this, but I believe you can use journal namespaces.
I tweaked the Service stanza in systemd-journald-audit.socket to
"systemd-journald@audit.service" restarted everything and now I have audit
messages separated
in /var/log/journal/4339da6539564b07a62c1604525309ff.audit
Good idea!
But...that doesn't address how to have a size/date retention that's specific to
that entry.
But the trickiest issue is how to have specific audit types (again, namely
syslog 'authpriv') have the same kind of namespace assignment. This would be
like what you would filter via '-t' or
OS = Fedora 39
Systemd version = 254.13
I have an application running via a user level system unit file.
The UID is > 999.
I'm expecting the application journal entries to be a local entry in
$XDG_STATE_HOME/log, but it's using the user level journal in /var/log/journal.
FYI, I'm not expressly
systemd.exec(5) reads:
> In order to reference the path a credential may be read from within a
> ExecStart= command line use "${CREDENTIALS_DIRECTORY}/mycred", e.g.
> "ExecStart=cat ${CREDENTIALS_DIRECTORY}/mycred". In order to reference the
> path a credential may be read from within a Environment
Hi,
I've been unsuccessfully trying to migrate my user units to use credentials for
storing gpg passphrases to encrypt stored state.
I've reduced this to the following MWE:
> [Service]
> # generated by
> # printf %s test | systemd-creds encrypt --user --name=test-password -p - -
> SetCredentialEncr
On Mon, Aug 12, 2024 at 5:28 PM Gesh wrote:
> systemd.exec(5) reads:
> > In order to reference the path a credential may be read from within a
> > ExecStart= command line use "${CREDENTIALS_DIRECTORY}/mycred", e.g.
> > "ExecStart=cat ${CREDENTIALS_DIRECTORY}/mycred". In order to reference
> the
>
On 12.08.2024 22:36, SCOTT FIELDS wrote:
OS = Fedora 39
Systemd version = 254.13
I have an application running via a user level system unit file.
The UID is > 999.
I'm expecting the application journal entries to be a local entry in
$XDG_STATE_HOME/log, but it's using the user level journal i
Hi systemd-devel,
When using the systemd-logind design for suspend, systemd services can receive
the PrepareForSleep DBus signal from systemd-logind with the Boolean argument
false to know when the system is exiting from suspend -
https://systemd.io/INHIBITOR_LOCKS/
We want to be able to measu