In Fedora 15 if you boot with SELinux disabled and then reboot with it enabled,
the usual automatic relabeling does not happen.
This fixes it. It depends on a new systemd feature that will be in v23.
Some cleanups for the fedora-autorelabel script are also included.
---
Michal Schmidt (4):
bump the required systemd version in the .spec
separate "touch /.autorelabel" to a new unit
simplify the check for plymouth in fedora-autorelabel
let systemd check the conditions for fedora-autorelabel
Makefile | 1 +
initscripts.spec | 4 ++-
systemd/fedora-autorelabel | 30 +++---------------------
systemd/system/fedora-autorelabel-mark.service | 15 ++++++++++++
systemd/system/fedora-autorelabel.service | 1 +
5 files changed, 23 insertions(+), 28 deletions(-)
create mode 100644 systemd/system/fedora-autorelabel-mark.service
--
Michal