[gnome-ostree] testing: Avoid systemd journal rate limit suppression
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-ostree] testing: Avoid systemd journal rate limit suppression
- Date: Fri, 10 May 2013 17:56:31 +0000 (UTC)
commit c0a50a9ef1ddc667819b965c16485105f60eb543
Author: Colin Walters <walters verbum org>
Date: Fri May 10 13:55:54 2013 -0400
testing: Avoid systemd journal rate limit suppression
We want to get all the output.
src/js/libqa.js | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/js/libqa.js b/src/js/libqa.js
index 27e938a..00f6fa7 100644
--- a/src/js/libqa.js
+++ b/src/js/libqa.js
@@ -161,6 +161,9 @@ function injectExportJournal(currentDir, currentEtcDir, cancellable) {
exportScript.copy(exportBin, Gio.FileCopyFlags.OVERWRITE, cancellable, null, null);
GSystem.file_chmod(exportBin, 493, cancellable);
exportScriptService.copy(multiuserWantsDir.get_child(exportScriptService.get_basename()),
Gio.FileCopyFlags.OVERWRITE, cancellable, null, null);
+ let journalConfPath = currentEtcDir.resolve_relative_path('systemd/journald.conf');
+ journalConfPath.replace_contents('[Journal]\n\
+RateLimitInterval=0\n', null, false, Gio.FileCreateFlags.REPLACE_DESTINATION, cancellable);
}
function injectTestUserCreation(currentDir, currentEtcDir, username, params, cancellable) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]