* 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:
Eelco Dolstra 2011-03-11 12:56:04 +00:00
parent 416c60550e
commit 6160100a9a

View file

@ -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 "";