test(aa-log): cleanup dummy journalctl.

This commit is contained in:
Alexandre Pujol 2022-10-16 12:47:00 +01:00
parent c15f2fbb7b
commit 178e45c84b
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC

View File

@ -2,7 +2,7 @@
# Dummy output for journalctl --user -b -u dbus.service -o json
cat <<-_EOF
{"MESSAGE":"apparmor=\"ALLOWED\" operation=\"dbus_method_call\" bus=\"session\" path=\"/org/freedesktop/systemd1\" interface=\"org.freedesktop.systemd1.Manager\" member=\"SetEnvironment\" mask=\"send\" name=\"org.freedesktop.systemd1\" pid=2202 label=\"gnome-session-binary\" peer_pid=2070 peer_label=\"unconfined\"","_SYSTEMD_UNIT":"user@1000.service","_MACHINE_ID":"5ae7ab47ad014f699b6b60833dfad879","_CAP_EFFECTIVE":"0","SYSLOG_IDENTIFIER":"dbus-daemon","_SYSTEMD_CGROUP":"/user.slice/user-1000.slice/user@1000.service/app.slice/dbus.service","__MONOTONIC_TIMESTAMP":"4648713","_SELINUX_CONTEXT":"dbus-daemon (complain)\n","_SYSTEMD_OWNER_UID":"1000","_PID":"2115","_SYSTEMD_USER_UNIT":"dbus.service","_SYSTEMD_USER_SLICE":"app.slice","_AUDIT_SESSION":"2","SYSLOG_FACILITY":"1","_CMDLINE":"/usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only","SYSLOG_RAW":"<13>Sep 23 19:08:22 dbus-daemon[2115]: apparmor=\"ALLOWED\" operation=\"dbus_method_call\" bus=\"session\" path=\"/org/freedesktop/systemd1\" interface=\"org.freedesktop.systemd1.Manager\" member=\"SetEnvironment\" mask=\"send\" name=\"org.freedesktop.systemd1\" pid=2202 label=\"gnome-session-binary\" peer_pid=2070 peer_label=\"unconfined\"\n"}
{"MESSAGE":"apparmor=\"ALLOWED\" operation=\"dbus_method_call\" bus=\"session\" path=\"/org/freedesktop/DBus\" interface=\"org.freedesktop.DBus\" member=\"UpdateActivationEnvironment\" mask=\"send\" name=\"org.freedesktop.DBus\" pid=2202 label=\"gnome-session-binary\" peer_label=\"dbus-daemon\"","_SYSTEMD_UNIT":"user@1000.service","_MACHINE_ID":"5ae7ab47ad014f699b6b60833dfad879","__MONOTONIC_TIMESTAMP":"4649441","_PID":"2115","_CMDLINE":"/usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only","_SYSTEMD_USER_UNIT":"dbus.service","_SYSTEMD_USER_SLICE":"app.slice","_SYSTEMD_OWNER_UID":"1000","_SELINUX_CONTEXT":"dbus-daemon (complain)\n","_CAP_EFFECTIVE":"0","SYSLOG_TIMESTAMP":"Sep 23 19:08:22 ","PRIORITY":"5","_UID":"1000","_SYSTEMD_CGROUP":"/user.slice/user-1000.slice/user@1000.service/app.slice/dbus.service","_TRANSPORT":"syslog","_HOSTNAME":"ubuntu","SYSLOG_RAW":"<13>Sep 23 19:08:22 dbus-daemon[2115]: apparmor=\"ALLOWED\" operation=\"dbus_method_call\" bus=\"session\" path=\"/org/freedesktop/DBus\" interface=\"org.freedesktop.DBus\" member=\"UpdateActivationEnvironment\" mask=\"send\" name=\"org.freedesktop.DBus\" pid=2202 label=\"gnome-session-binary\" peer_label=\"dbus-daemon\"\n"}
{"MESSAGE":"apparmor=\"ALLOWED\" operation=\"dbus_method_call\" bus=\"session\" path=\"/org/freedesktop/systemd1\" interface=\"org.freedesktop.systemd1.Manager\" member=\"SetEnvironment\" mask=\"send\" name=\"org.freedesktop.systemd1\" pid=2202 label=\"gnome-session-binary\" peer_pid=2070 peer_label=\"unconfined\""}
{"MESSAGE":"apparmor=\"ALLOWED\" operation=\"dbus_method_call\" bus=\"session\" path=\"/org/freedesktop/DBus\" interface=\"org.freedesktop.DBus\" member=\"UpdateActivationEnvironment\" mask=\"send\" name=\"org.freedesktop.DBus\" pid=2202 label=\"gnome-session-binary\" peer_label=\"dbus-daemon\""}
_EOF
exit 0