diff options
author | Alyssa Ross <hi@alyssa.is> | 2022-06-21 21:35:51 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2022-06-26 18:12:11 +0000 |
commit | e2617706ed138e27f912871cf4a3dd30cf6aa079 (patch) | |
tree | 0e44fca1ba599e44dfa131c577ce1a507f83522e /nixos | |
parent | 17b00794360dc3161f5e5a24d7d8f635fea774eb (diff) |
nixosTests.virtualbox: fix logging service
This used to be StandardOutput=syslog, which was removed because syslog is deprecated, but that caused the test to fail. So bring it back, but set it to the non-deprecated "journal" value instead (which is what systemd interprets "syslog" as now anyway). Fixes: 962e15aebcc ("nixos: remove StandardOutput=syslog, StandardError=syslog lines")
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/tests/virtualbox.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/tests/virtualbox.nix b/nixos/tests/virtualbox.nix index 95eff74d1e5b7..ad8819562a2fb 100644 --- a/nixos/tests/virtualbox.nix +++ b/nixos/tests/virtualbox.nix @@ -191,6 +191,7 @@ let systemd.services."vboxtestlog-${name}@" = { description = "VirtualBox Test Machine Log For ${name}"; serviceConfig.StandardInput = "socket"; + serviceConfig.StandardOutput = "journal"; serviceConfig.SyslogIdentifier = "GUEST-${name}"; serviceConfig.ExecStart = "${pkgs.coreutils}/bin/cat"; }; |