]> git.ipfire.org Git - thirdparty/systemd.git/commit
test: avoid double-fsck'ing of the rootfs on Arch
authorFrantisek Sumsal <frantisek@sumsal.cz>
Wed, 13 Mar 2019 09:07:44 +0000 (10:07 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 13 Mar 2019 16:05:31 +0000 (17:05 +0100)
commit0ae4456c93384191b2cc884fdc7542c8c869cdca
tree42861b23d0f9680edf2d528a3d438971a5b65725
parent88f739cb117d5c8a01ca69244b0b867e2960bf10
test: avoid double-fsck'ing of the rootfs on Arch

Since systemd 206 the combination of systemd and mkinitcpio
causes, under certain conditions, the rootfs to be double fsck'd.

Symptoms:
```
:: performing fsck on '/dev/sda1'
systemd: clean, 3523/125488 files, 141738/501760 blocks
********************** WARNING **********************
*                                                   *
*  The root device is not configured to be mounted  *
*  read-write! It may be fsck'd again later.        *
*                                                   *
*****************************************************
<snip>
[  OK  ] Started File System Check on Root Device
```

This occurs when neither 'ro' or 'rw', or only 'ro' is present
on the kernel command line. The solution is to mount the roofs
as read-write on the kernel command line, so systemd knows to not fsck
it again.
test/test-functions