diff options
author | David Kaspar [Dee'Kej] <dkaspar@redhat.com> | 2017-04-19 18:23:07 +0200 |
---|---|---|
committer | Dee'Kej <deekej@linuxmail.org> | 2017-04-20 12:50:19 +0200 |
commit | 53330c9b3d38365218a18be14cb2165ebeed9110 (patch) | |
tree | 0e9e81909ca8d58d285eb36da30d1d030e145467 /systemd | |
parent | a4c819353f3311d41ec7a8f6ab5d1dc29154a751 (diff) | |
download | initscripts-53330c9b3d38365218a18be14cb2165ebeed9110.tar initscripts-53330c9b3d38365218a18be14cb2165ebeed9110.tar.gz initscripts-53330c9b3d38365218a18be14cb2165ebeed9110.tar.bz2 initscripts-53330c9b3d38365218a18be14cb2165ebeed9110.tar.xz initscripts-53330c9b3d38365218a18be14cb2165ebeed9110.zip |
rhel-autorelabel: synchronize cached writes before reboot
This should prevent boot loops when 'touch /.autorelabel' has been used.
Resolves: RHBZ#1385272
Diffstat (limited to 'systemd')
-rwxr-xr-x | systemd/rhel-autorelabel | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/systemd/rhel-autorelabel b/systemd/rhel-autorelabel index d87acd29..2c2099f2 100755 --- a/systemd/rhel-autorelabel +++ b/systemd/rhel-autorelabel @@ -33,6 +33,7 @@ relabel_selinux() { fi rm -f /.autorelabel /usr/lib/dracut/dracut-initramfs-restore + sync systemctl --force reboot } |