Skip to content

regression: journald enables audit subsystem even when explicitly instructed not to do so #39057

@arianvp

Description

@arianvp

systemd version the issue has been seen with

258

Used distribution

NixOS Unstable

Linux kernel version used

6.12.44

CPU architectures issue was seen on

aarch64-linux

Component

systemd-journald

Expected behaviour you didn't see

In NixOS, we explicitly set Audit= (to the empty string) so that journald neither enables nor disables the audit subsystem. This is to work around #15324 because if you enable the audit subsystem without auditd running (or something else listening on the audit unicast socket) the audit subsystem will start flooding the console login console with messages.

We test this in our integration test suite

This integration test started failing in the pull request that moves us from 257 to 258

The journald.conf docs state

Audit=
Takes a boolean value. If enabled systemd-journald will turn
on kernel auditing on start-up. If disabled it will turn it
off. If unset it will neither enable nor disable it, leaving
the previous state unchanged

I expect that when auditd is not installed and the following journald.conf:

[Journal]
Audit=

that the audit subsystem is not enabled

Unexpected behaviour you saw

The config option seems to be ignored and the audit subsystem is enabled anyway.

machine # [    3.965724] systemd-journald[366]: Collecting audit messages is enabled.

Steps to reproduce the problem

Create a /etc/systemd/journald.conf with

[Journal]
Audit=

Additional program output to the terminal or log subsystem illustrating the issue

machine # [    2.401705] systemd[1]: systemd 258 running in system mode (+PAM +AUDIT -SELINUX +APPARMOR +IMA +IPE +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN -IPTC +KMOD +LIBCRYPTSETUP +LIBCRYPTSETUP_PLUGINS +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +BPF_FRAMEWORK -BTF -XKBCOMMON +UTMP -SYSVINIT +LIBARCHIVE)
machine # [    2.407120] systemd[1]: Detected virtualization qemu.
machine # [    2.408345] systemd[1]: Detected architecture arm64.
machine # [    2.409731] systemd[1]: Detected first boot.
machine # [    2.414651] systemd[1]: Initializing machine ID from random generator.
machine # [    2.424252] systemd[1]: Hostname set to <machine>.
machine # [    2.558732] systemd[1]: bpf-restrict-fs: LSM BPF program attached
machine # [    2.727943] systemd[1]: Applying preset policy.
machine # [    3.242538] systemd[1]: Populated /etc with preset unit settings.
machine # [    3.646381] systemd[1]: Queued start job for default target Multi-User System.
machine # [    3.679578] systemd[1]: Created slice Slice /system/getty.
machine # [    3.680966] systemd[1]: Created slice Slice /system/modprobe.
machine # [    3.682340] systemd[1]: Created slice User and Session Slice.
machine # [    3.683490] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
machine # [    3.684681] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
machine # [    3.685848] systemd[1]: Expecting device /dev/hvc0...
machine # [    3.686789] systemd[1]: Expecting device /dev/ttyAMA0...
machine # [    3.687729] systemd[1]: Expecting device /sys/subsystem/net/devices/eth1...
machine # [    3.688663] systemd[1]: Reached target Local Encrypted Volumes.
machine # [    3.689638] systemd[1]: Reached target Virtual Machines and Containers.
machine # [    3.690693] systemd[1]: Reached target Path Units.
machine # [    3.691740] systemd[1]: Reached target Remote File Systems.
machine # [    3.692737] systemd[1]: Reached target Slice Units.
machine # [    3.693669] systemd[1]: Reached target Swaps.
machine # [    3.699557] systemd[1]: Listening on Process Core Dump Socket.
machine # [    3.704726] systemd[1]: Listening on Credential Encryption/Decryption.
machine # [    3.706461] systemd[1]: Listening on Journal Audit Socket.
machine # [    3.707470] systemd[1]: Listening on Journal Socket (/dev/log).
machine # [    3.708390] systemd[1]: Listening on Journal Sockets.
machine # [    3.709328] systemd[1]: Listening on Userspace Out-Of-Memory (OOM) Killer Socket.
machine # [    3.710401] systemd[1]: Make TPM PCR Policy was skipped because of an unmet condition check (ConditionSecurity=measured-uki).
machine # [    3.711840] systemd[1]: Listening on udev Control Socket.
machine # [    3.712817] systemd[1]: Listening on udev Kernel Socket.
machine # [    3.717434] systemd[1]: Mounting Huge Pages File System...
machine # [    3.720764] systemd[1]: Mounting POSIX Message Queue File System...
machine # [    3.724000] systemd[1]: Mounting Kernel Debug File System...
machine # [    3.727190] systemd[1]: Mounting Kernel Trace File System...
machine # [    3.732739] systemd[1]: Starting Create List of Static Device Nodes...
machine # [    3.736458] systemd[1]: Starting Load Kernel Module 9pnet_virtio...
machine # [    3.737769] systemd[1]: Load Kernel Module configfs was skipped because of an unmet condition check (ConditionKernelModuleLoaded=!configfs).
machine # [    3.742090] systemd[1]: Mounting Kernel Configuration File System...
machine # [    3.743067] systemd[1]: Load Kernel Module drm was skipped because of an unmet condition check (ConditionKernelModuleLoaded=!drm).
machine # [    3.744324] systemd[1]: Load Kernel Module efi_pstore was skipped because of an unmet condition check (ConditionKernelModuleLoaded=!efi_pstore).
machine # [    3.775809] systemd[1]: Starting Load Kernel Module fuse...
machine # [    3.776969] systemd[1]: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/).
machine # [    3.779124] systemd[1]: Clear Stale Hibernate Storage Info was skipped because of an unmet condition check (ConditionPathExists=/sys/firmware/efi/efivars/HibernateLocation-8cf2644b-4b0b-428f-9387-6d876050dc67).
machine # [    3.785769] systemd[1]: Starting Journal Service...
machine # [    3.792549] systemd[1]: Starting Load Kernel Modules...
machine # [    3.797220] systemd[1]: Starting Userspace Out-Of-Memory (OOM) Killer...
machine # [    3.801284] systemd[1]: Starting Remount Root and Kernel File Systems...
machine # [    3.802471] systemd[1]: Early TPM SRK Setup was skipped because of an unmet condition check (ConditionSecurity=measured-uki).
machine # [    3.810052] systemd[1]: Starting Coldplug All udev Devices...
machine # [    3.814882] systemd[1]: Mounted Huge Pages File System.
machine # [    3.816385] systemd[1]: Mounted POSIX Message Queue File System.
machine # [    3.818550] systemd[1]: Mounted Kernel Debug File System.
machine # [    3.820270] systemd[1]: Mounted Kernel Trace File System.
machine # [    3.822369] systemd[1]: Mounted Kernel Configuration File System.
machine # [    3.825426] systemd[1]: Finished Create List of Static Device Nodes.
machine # [    3.831718] systemd[1]: Starting Create Static Device Nodes in /dev gracefully...
machine # [    3.850080] systemd[1]: modprobe@9pnet_virtio.service: Deactivated successfully.
machine # [    3.851723] systemd[1]: Finished Load Kernel Module 9pnet_virtio.
machine # [    3.909253] EXT4-fs (vda): re-mounted 7d7bae62-c15f-4974-971e-c8168ec2b181.
machine # [    3.916189] systemd[1]: Finished Remount Root and Kernel File Systems.
machine # [    3.917289] systemd[1]: Platform Persistent Storage Archival was skipped because of an unmet condition check (ConditionDirectoryNotEmpty=/sys/fs/pstore).
machine # [    3.920986] systemd[1]: Starting Load/Save OS Random Seed...
machine # [    3.922550] systemd[1]: TPM SRK Setup was skipped because of an unmet condition check (ConditionSecurity=measured-uki).
machine # [    3.925039] systemd[1]: Finished Load Kernel Modules.
machine # [    3.929164] systemd[1]: Starting Firewall...
machine # [    3.932396] systemd[1]: Starting Apply Kernel Variables...
machine # [    3.945269] fuse: init (API version 7.41)
machine # [    3.952767] systemd[1]: [email protected]: Deactivated successfully.
machine # [    3.954369] systemd[1]: Finished Load Kernel Module fuse.
machine # [    3.965724] systemd-journald[366]: Collecting audit messages is enabled.
machine # [    4.020778] systemd[1]: Finished Load/Save OS Random Seed.
machine # [    4.021795] audit: type=1130 audit(1758439004.160:2): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-random-seed comm="systemd" exe="/nix/store/d22w2yd0if78msr8ciwjr5a5b24zwdhb-systemd-258/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
machine # [    4.024709] systemd[1]: Reached target First Boot Complete.
machine # [    4.037678] systemd[1]: Started Userspace Out-Of-Memory (OOM) Killer.
machine # [    4.039296] audit: type=1130 audit(1758439004.176:3): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-oomd comm="systemd" exe="/nix/store/d22w2yd0if78msr8ciwjr5a5b24zwdhb-systemd-258/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
machine # [    4.048332] systemd[1]: Finished Create Static Device Nodes in /dev gracefully.
machine # [    4.050059] audit: type=1130 audit(1758439004.188:4): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-tmpfiles-setup-dev-early comm="systemd" exe="/nix/store/d22w2yd0if78msr8ciwjr5a5b24zwdhb-systemd-258/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
machine # [    4.054269] audit: type=1334 audit(1758439004.192:5): prog-id=71 op=LOAD
machine # [    4.055857] audit: type=1334 audit(1758439004.192:6): prog-id=72 op=LOAD
machine # [    4.058958] systemd[1]: Starting Create Static Device Nodes in /dev...
machine # [    4.079761] systemd[1]: Finished Apply Kernel Variables.
machine # [    4.080799] audit: type=1130 audit(1758439004.216:7): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-sysctl comm="systemd" exe="/nix/store/d22w2yd0if78msr8ciwjr5a5b24zwdhb-systemd-258/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
machine # [    4.089342] systemd[1]: Started Journal Service.
machine # [    4.090830] audit: type=1130 audit(1758439004.228:8): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-journald comm="systemd" exe="/nix/store/d22w2yd0if78msr8ciwjr5a5b24zwdhb-systemd-258/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
machine # [    4.088945] systemd-modules-load[367]: Module 'atkbd' is built in
machine # [    4.090930] systemd-modules-load[367]: Module 'loop' is built in[    4.097348] audit: type=1334 audit(1758439004.232:9): prog-id=73 op=LOAD
machine # 
machine # [    4.099128] audit: type=1334 audit(1758439004.232:10): prog-id=74 op=LOAD
machine # [    4.101546] systemd-oomd[368]: No swap; memory pressure usage will be degraded
machine # [    4.106163] systemd[1]: Starting Flush Journal to Persistent Storage...
machine # [    4.192147] systemd[1]: Finished Create Static Device Nodes in /dev.
machine # [    4.192733] systemd[1]: Reached target Preparation for Local File Systems.
machine # [    4.193410] systemd[1]: Starting Rule-based Manager for Device Events and Files...
machine # [    4.198285] systemd[1]: Finished Flush Journal to Persistent Storage.
machine # [    4.277732] systemd-udevd[405]: Using default interface naming scheme 'v258'.
machine # [    4.433186] systemd[1]: Started Rule-based Manager for Device Events and Files.
machine # [    4.523214] systemd[1]: Finished Coldplug All udev Devices.
machine # [    4.575187] systemd[1]: Load Kernel Module fuse was skipped because of an unmet condition check (ConditionKernelModuleLoaded=!fuse).
machine # [    4.607246] systemd[1]: Load Kernel Module fuse was skipped because of an unmet condition check (ConditionKernelModuleLoaded=!fuse).
machine # [    4.675180] systemd[1]: Found device /dev/hvc0.
machine # [    4.700761] systemd[1]: Found device /dev/ttyAMA0.
machine # [    4.813834] systemd[1]: Mounting /run/wrappers...
machine # [    4.815954] systemd[1]: Mounting FUSE Control File System...
machine # [    4.850139] systemd[1]: Mounted FUSE Control File System.
machine # [    4.855452] systemd[1]: Mounted /run/wrappers.
machine # [    4.857726] systemd[1]: Reached target Local File Systems.
machine # [    4.861781] systemd[1]: Listening on Boot Entries Service Socket.
machine # [    4.865629] systemd[1]: Starting Create SUID/SGID Wrappers...
machine # [    4.869465] systemd[1]: Update Boot Loader Random Seed was skipped because no trigger condition checks were met.
machine # [    4.874045] systemd[1]: Starting Save Transient machine-id to Disk...
machine # [    4.879421] systemd[1]: Starting Create System Files and Directories...
machine # [    4.888899] (udev-worker)[444]: eth1: Config file /etc/systemd/network/40-eth1.link is applied to device based on potentially unpredictable interface name.
machine # [    4.898551] (udev-worker)[444]: Network interface NamePolicy= disabled on kernel command line.
machine # [    4.902706] (udev-worker)[441]: Network interface NamePolicy= disabled on kernel command line.
machine # [    4.972473] systemd[1]: etc-machine\x2did.mount: Deactivated successfully.
machine # [    4.976986] systemd[1]: Finished Save Transient machine-id to Disk.
machine # [    5.015977] kauditd_printk_skb: 107 callbacks suppressed
machine # [    5.015981] audit: type=1130 audit(1758439005.152:58): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-tmpfiles-setup comm="systemd" exe="/nix/store/d22w2yd0if78msr8ciwjr5a5b24zwdhb-systemd-258/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
machine # [    5.015566] systemd[1]: Finished Create System Files and Directories.
machine # [    5.021508] audit: type=1334 audit(1758439005.156:59): prog-id=87 op=LOAD
machine # [    5.023184] audit: type=1334 audit(1758439005.156:60): prog-id=88 op=LOAD
machine # [    5.026915] audit: type=1334 audit(1758439005.164:61): prog-id=89 op=LOAD
machine # [    5.027975] audit: type=1334 audit(1758439005.164:62): prog-id=90 op=LOAD
machine # [    5.024221] systemd[1]: Starting Rebuild Journal Catalog...
machine # [    5.027664] systemd[1]: Starting Record System Boot/Shutdown in UTMP...
machine # [    5.041437] mousedev: PS/2 mouse device common for all mice
machine # [    5.079824] audit: type=1325 audit(1758439005.216:63): table=filter:32 family=2 entries=1 op=nft_register_rule pid=500 comm="iptables"
machine # [    5.082829] audit: type=1300 audit(1758439005.216:63): arch=c00000b7 syscall=211 success=yes exit=448 a0=3 a1=ffffec91b770 a2=0 a3=1 items=0 ppid=379 pid=500 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="iptables" exe="/nix/store/rj478f7yn1y0hp0ibw1k9hjwgx4izdps-iptables-1.8.11/bin/xtables-nft-multi" key=(null)
machine # [    5.091248] audit: type=1327 audit(1758439005.216:63): proctitle=69707461626C6573002D77002D41006E69786F732D6677002D6D00636F6E6E747261636B002D2D637473746174650045535441424C49534845442C52454C41544544002D6A006E69786F732D66772D616363657074
machine # [    5.101806] audit: type=1325 audit(1758439005.240:64): table=filter:33 family=10 entries=1 op=nft_register_rule pid=509 comm="ip6tables"
machine # [    5.103883] audit: type=1300 audit(1758439005.240:64): arch=c00000b7 syscall=211 success=yes exit=448 a0=3 a1=ffffcb281c00 a2=0 a3=1 items=0 ppid=379 pid=509 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="ip6tables" exe="/nix/store/rj478f7yn1y0hp0ibw1k9hjwgx4izdps-iptables-1.8.11/bin/xtables-nft-multi" key=(null)
machine # [    5.115086] systemd[1]: Found device Virtio network device.
machine # [    5.131485] systemd[1]: Finished Record System Boot/Shutdown in UTMP.
machine # [    5.193218] systemd[1]: Finished Rebuild Journal Catalog.
machine # [    5.195122] systemd[1]: Starting Update is Completed...
machine # [    5.259800] systemd[1]: Finished Update is Completed.
machine # [    5.492163] systemd[1]: Finished Firewall.
machine # [    5.603249] systemd[1]: suid-sgid-wrappers.service: Deactivated successfully.
machine # [    5.606862] systemd[1]: Finished Create SUID/SGID Wrappers.
machine # [    5.609925] systemd[1]: Reached target System Initialization.
machine # [    5.613305] systemd[1]: Started Discard unused filesystem blocks once a week.
machine # [    5.616433] systemd[1]: Started Daily Cleanup of Temporary Directories.
machine # [    5.621226] systemd[1]: Reached target Timer Units.
machine # [    5.625603] systemd[1]: Listening on D-Bus System Message Bus Socket.
machine # [    5.629432] systemd[1]: Listening on Nix Daemon Socket.
machine # [    5.635598] systemd[1]: Listening on Hostname Service Socket.
machine # [    5.640403] systemd[1]: Reached target Socket Units.
machine # [    5.645745] systemd[1]: Reached target Basic System.
machine # [    5.651943] systemd[1]: Started backdoor.service.
machine # [    5.656840] systemd[1]: Starting Import lastlog data into lastlog2 database...
machine # [    5.663854] systemd[1]: Starting Name Service Cache Daemon (nsncd)...
machine # [    5.668896] systemd[1]: Started Reset console on configuration changes.
machine # [    5.674461] systemd[1]: Starting resolvconf update...
machine # [    5.677553] systemd[1]: Starting D-Bus System Message Bus...
machine # connecting to host...
machine # [    5.740602] systemd[1]: Started Name Service Cache Daemon (nsncd).
machine # [    5.747242] nsncd[604]: Sep 21 07:16:45.884 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"
machine # [    5.754520] systemd[1]: Reached target Host and Network Name Lookups.
machine # [    5.757073] systemd[1]: Reached target User and Group Name Lookups.
machine # [    5.759799] systemd[1]: Starting User Login Management...
machine # [    5.762211] systemd[1]: Finished Import lastlog data into lastlog2 database.
machine: Guest shell says: b'Spawning backdoor root shell...\n'
machine: connected to guest root shell
machine: (connecting took 6.00 seconds)
machine: (finished: waiting for the VM to finish booting, in 6.36 seconds)
machine # [    5.848889] dbus-daemon[607]: dbus[607]: Unknown username "systemd-timesync" in message bus configuration file
machine # [    5.912868] systemd-logind[617]: Watching system buttons on /dev/input/event1 (QEMU QEMU USB Keyboard)
machine # [    5.916104] systemd-logind[617]: Watching system buttons on /dev/input/event0 (gpio-keys)
machine # [    5.917695] systemd-logind[617]: New seat seat0.
machine # [    5.978158] systemd[1]: Started User Login Management.
machine # [    5.979706] systemd[1]: Stopped target Host and Network Name Lookups.
machine # [    5.982547] systemd[1]: Stopping Host and Network Name Lookups...
machine # [    5.983463] systemd[1]: Stopped target User and Group Name Lookups.
machine # [    5.991659] systemd[1]: Stopping User and Group Name Lookups...
machine # [    5.995178] systemd[1]: Stopping Name Service Cache Daemon (nsncd)...
machine # [    6.000185] systemd[1]: nscd.service: Deactivated successfully.
machine # [    6.002352] systemd[1]: Stopped Name Service Cache Daemon (nsncd).
machine # [    6.005742] systemd[1]: Starting Name Service Cache Daemon (nsncd)...
machine # [    6.008817] systemd[1]: Started D-Bus System Message Bus.
machine # [    6.018826] dbus-daemon[607]: [system] Successfully activated service 'org.freedesktop.systemd1'
machine # [    6.031745] input: QEMU Virtio Keyboard as /devices/platform/4010000000.pcie/pci0000:00/0000:00:08.0/virtio7/input/input3
machine # [    6.067296] systemd[1]: Started Name Service Cache Daemon (nsncd).
machine # [    6.074041] nsncd[671]: Sep 21 07:16:46.213 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"
machine # [    6.076402] systemd[1]: Reached target Host and Network Name Lookups.
machine # [    6.078838] systemd[1]: Reached target User and Group Name Lookups.
machine # [    6.099019] systemd[1]: Finished resolvconf update.
machine # [    6.099469] systemd[1]: Reached target Preparation for Network.
machine # [    6.103923] systemd[1]: Starting DHCP Client...
machine # [    6.107133] systemd[1]: Starting Address configuration of eth1...
machine # [    6.230742] network-addresses-eth1-start[703]: adding address 192.168.1.4/24... done
machine # [    6.245324] network-addresses-eth1-start[703]: adding address 2001:db8:1::4/64... done
machine # [    6.267862] systemd[1]: Finished Address configuration of eth1.
machine # [    6.272191] systemd[1]: Starting Networking Setup...
machine # [    6.279660] dhcpcd[708]: dhcpcd-10.2.4 starting
machine # [    6.299845] dhcpcd[722]: dev: loaded udev
machine # [    6.346555] 8021q: 802.1Q VLAN Support v1.8
machine # [    6.348216] 8021q: adding VLAN 0 to HW filter on device eth1
machine # [    6.431509] cfg80211: Loading compiled-in X.509 certificates for regulatory database
machine # [    6.470223] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
machine # [    6.471494] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
machine # [    6.475647] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
machine # [    6.476950] cfg80211: failed to load regulatory.db
machine # [    6.502338] systemd[1]: Finished Networking Setup.
machine # [    6.502762] systemd[1]: Reached target Network.
machine # [    6.506024] systemd[1]: Starting Permit User Sessions...
machine # [    6.516567] systemd[1]: Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
machine # [    6.548296] systemd[1]: Starting Virtual Console Setup...
machine # [    6.565160] systemd-logind[617]: Watching system buttons on /dev/input/event3 (QEMU Virtio Keyboard)
machine # [    6.577126] systemd[1]: systemd-vconsole-setup.service: Deactivated successfully.
machine # [    6.577822] systemd[1]: Stopped Virtual Console Setup.
machine # [    6.581740] systemd[1]: Starting Virtual Console Setup...
machine # [    6.582296] systemd[1]: Finished Permit User Sessions.
machine # [    6.589736] 8021q: adding VLAN 0 to HW filter on device eth0
machine # [    6.586900] dhcpcd[722]: eth0: waiting for carrier
machine # [    6.589666] systemd[1]: Started Getty on tty1.
machine # [    6.590398] systemd[1]: Reached target Login Prompts.
machine # [    7.130369] systemd[1]: Finished Virtual Console Setup.
machine # [    7.233087] dhcpcd[722]: eth0: carrier acquired
machine # [    7.248272] dhcpcd[722]: DUID 00:01:00:01:30:62:62:df:52:54:00:12:34:56
machine # [    7.248912] dhcpcd[722]: eth0: IAID 00:12:34:56
machine # [    7.249314] dhcpcd[722]: eth0: adding address fe80::5054:ff:fe12:3456
machine # [    8.402702] dhcpcd[722]: eth0: soliciting a DHCP lease
machine # [    8.413396] dhcpcd[722]: eth0: offered 10.0.2.15 from 10.0.2.2
machine # [    8.424518] dhcpcd[722]: eth0: probing address 10.0.2.15/24
machine # [    8.850822] dhcpcd[722]: eth0: soliciting an IPv6 router
machine # [    8.855224] dhcpcd[722]: eth0: Router Advertisement from fe80::2
machine # [    8.858707] dhcpcd[722]: eth0: adding address fec0::5054:ff:fe12:3456/64
machine # [    8.860231] dhcpcd[722]: eth0: adding route to fec0::/64
machine # [    8.861460] dhcpcd[722]: eth0: adding default route via fe80::2
machine # [   13.000437] dhcpcd[722]: eth0: leased 10.0.2.15 for 86400 seconds
machine # [   13.000607] dhcpcd[722]: eth0: adding route to 10.0.2.0/24
machine # [   13.000669] dhcpcd[722]: eth0: adding default route via 10.0.2.2
machine # [   13.158926] systemd[1]: Started DHCP Client.
machine # [   13.164533] kauditd_printk_skb: 89 callbacks suppressed
machine # [   13.164536] audit: type=1130 audit(1758439013.300:135): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=dhcpcd comm="systemd" exe="/nix/store/d22w2yd0if78msr8ciwjr5a5b24zwdhb-systemd-258/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
machine # [   13.162663] systemd[1]: Reached target Multi-User System.
machine # [   13.163873] systemd[1]: Startup finished in 2.269s (kernel) + 10.893s (userspace) = 13.163s.
machine: (finished: waiting for unit multi-user.target, in 14.63 seconds)
machine: must succeed: journalctl --grep=systemd
machine: (finished: must succeed: journalctl --grep=systemd, in 0.07 seconds)
subtest: no audit messages
machine: must succeed: systemd-analyze cat-config systemd/journald.conf
machine: (finished: must succeed: systemd-analyze cat-config systemd/journald.conf, in 0.05 seconds)
# /etc/systemd/journald.conf -> /nix/store/i5z15kjqv50l1vv1ls6y3j3419ayd0kl-etc-systemd-journald.conf
[Journal]
Storage=persistent
RateLimitInterval=30s
RateLimitBurst=10000


Audit=
ForwardToConsole=yes
TTYPath=/dev/ttyAMA0
MaxLevelConsole=debug


machine: must fail: journalctl _TRANSPORT=audit --grep 'unit=systemd-journald'
!!! Test "no audit messages" failed with error: "command `journalctl _TRANSPORT=audit --grep 'unit=systemd-journald'` unexpectedly succeeded"
!!! Traceback (most recent call last):
!!!   File "<string>", line 6, in <module>
!!!     machine.fail("journalctl _TRANSPORT=audit --grep 'unit=systemd-journald'")
!!! 
!!! RequestedAssertionFailed: command `journalctl _TRANSPORT=audit --grep 'unit=systemd-journald'` unexpectedly succeeded

Metadata

Metadata

Assignees

Labels

bug 🐛Programming errors, that need preferential fixingjournalregression ⚠️A bug in something that used to work correctly and broke through some recent commit

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions