From 62a992bed989cd65a873373af7ab0f2e7de61114 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Sun, 8 May 2016 11:08:42 -0400 Subject: TEST-08: make sure / is remounted rw In this test /etc/fstab is replaced by -.mount unit. This causes systemd-remount-fs.service to not remount / rw, which in turn causes various failures becuase /var is not writable. In particular systemd-tmpfiles-setup.service reports many failures. This is something to possibly fix on its own (see https://github.com/systemd/systemd/issues/791); in the meanwhile let's fix this test so that it doesn't fail, since the point of the test is to check aliases on mount units, and not a ro root. --- test/TEST-08-ISSUE-2730/test.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'test/TEST-08-ISSUE-2730') diff --git a/test/TEST-08-ISSUE-2730/test.sh b/test/TEST-08-ISSUE-2730/test.sh index 92e70b828b..409140157a 100755 --- a/test/TEST-08-ISSUE-2730/test.sh +++ b/test/TEST-08-ISSUE-2730/test.sh @@ -65,6 +65,20 @@ Options=errors=remount-ro,noatime [Install] WantedBy=local-fs.target Alias=root.mount +EOF + + cat >$initdir/etc/systemd/system/systemd-remount-fs.service <