mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-23 12:34:15 +00:00
* Don't run klogd in tests to prevent duplicate kernel messages in the
log output. (It wasn't running anyway because the preStart command was broken.) Note that "dmesg -c" doesn't have an effect on klogd, and "klogd -o" is broken. svn path=/nixos/trunk/; revision=26273
This commit is contained in:
parent
416c60550e
commit
6160100a9a
@ -86,9 +86,8 @@ in
|
||||
# Send all of /var/log/messages to the serial port.
|
||||
services.syslogd.extraConfig = "*.* /dev/ttyS0";
|
||||
|
||||
# Clear the kernel log buffer before starting klogd to prevent it
|
||||
# from printing messages that we have already seen.
|
||||
jobs.klogd.preStart = "dmesg -c > /dev/null";
|
||||
# Don't run klogd. Kernel messages appear on the serial console anyway.
|
||||
jobs.klogd.startOn = mkOverride 50 "";
|
||||
|
||||
# Prevent tests from accessing the Internet.
|
||||
networking.defaultGateway = mkOverride 150 "";
|
||||
|
Loading…
Reference in New Issue
Block a user