daandemeyer / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
Brian Stinson 2593d8
From 27d1acaa1d4c9299db461f0f1922c573be6a52c0 Mon Sep 17 00:00:00 2001
Brian Stinson 2593d8
From: Frantisek Sumsal <fsumsal@redhat.com>
Brian Stinson 2593d8
Date: Mon, 21 Oct 2019 18:39:39 +0200
Brian Stinson 2593d8
Subject: [PATCH] test: bump the second partition's size to 50M
Brian Stinson 2593d8
Brian Stinson 2593d8
The former size (10M) caused systemd-journald to crash with SIGABRT when
Brian Stinson 2593d8
used on a LUKS2 partition, as the LUKS2 metadata consume a significant
Brian Stinson 2593d8
part of the 10M partition, thus leaving no space for the journal file
Brian Stinson 2593d8
itself (relevant for TEST-02-CRYPTSETUP). This change has been present
Brian Stinson 2593d8
in upstream for a while anyway.
Brian Stinson 2593d8
Brian Stinson 2593d8
Related: #1761519
Brian Stinson 2593d8
rhel-only
Brian Stinson 2593d8
---
Brian Stinson 2593d8
 test/test-functions | 2 +-
Brian Stinson 2593d8
 1 file changed, 1 insertion(+), 1 deletion(-)
Brian Stinson 2593d8
Brian Stinson 2593d8
diff --git a/test/test-functions b/test/test-functions
Brian Stinson 2593d8
index af9d16140f..fe25a501da 100644
Brian Stinson 2593d8
--- a/test/test-functions
Brian Stinson 2593d8
+++ b/test/test-functions
Brian Stinson 2593d8
@@ -433,7 +433,7 @@ create_empty_image() {
Brian Stinson 2593d8
     [ -b "$LOOPDEV" ] || return 1
Brian Stinson 2593d8
     echo "LOOPDEV=$LOOPDEV" >> $STATEFILE
Brian Stinson 2593d8
     sfdisk "$LOOPDEV" <
Brian Stinson 2593d8
-,390M
Brian Stinson 2593d8
+,350M
Brian Stinson 2593d8
 ,
Brian Stinson 2593d8
 EOF
Brian Stinson 2593d8