From a16e7bc7bb41e58fb1fc5d9e9224e85332aed8eb Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Jun 18 2018 09:03:46 +0000 Subject: selinux-autorelabel: Use plymouth --quit rather then --hide-splash plymouth by defaults waits for 5 seconds before showing the splash so that the splash simply gets skipped on real quick boots. In my testing it seems that --hide-splash is a no-op when run before the 5 seconds have passed and the splash is shown, causing the splash to still be there during a relabel. Note this problem only shows when *not* using disk-encryption. Switching to plymouth --quit fixes this. Signed-off-by: Hans de Goede --- diff --git a/selinux-autorelabel b/selinux-autorelabel index 173c7f0..b17bd8d 100755 --- a/selinux-autorelabel +++ b/selinux-autorelabel @@ -35,7 +35,7 @@ relabel_selinux() { AUTORELABEL= . /etc/selinux/config echo "0" > /sys/fs/selinux/enforce - [ -x /bin/plymouth ] && plymouth --hide-splash + [ -x /bin/plymouth ] && plymouth --quit if [ "$AUTORELABEL" = "0" ]; then echo