selinux/policycoreutils/scripts
Dan Walsh 1730f7ca36 policycoreutils: fixfiles: relabel only after specific date
Turn verbose on for full relabel

Add check to see if / has a label, if not then force a full relabel.

Add ability to record OPTIONS into the the /.autorelabel file.

fixfiles -F onboot
writes out /.autorelabel with -F

fixfiles -B onboot
writes on /autorelaebl with -N BOOTDATE recorded.

The goal is to allow boot up sequence that sees /.autorelabel to hand any
options store in it, to fixfiles restore

OPTIONS=`cat /.autorelabel`
fixfiles $OPTIONS restore

Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Dan Walsh <dwalsh@redhat.com>
2013-02-05 20:14:49 -05:00
..
.gitignore policycoreutils: setfiles/restorecon minor improvements 2012-09-12 12:16:00 -04:00
chcat policycoreutils: Don't add user site directory to sys.path 2011-08-03 18:02:36 -04:00
chcat.8 policycoreutils: chcat man page typo 2011-08-03 18:02:37 -04:00
fixfiles policycoreutils: fixfiles: relabel only after specific date 2013-02-05 20:14:49 -05:00
fixfiles.8 policycoreutils: setfiles: estimate percent progress 2013-02-01 12:08:51 -05:00
genhomedircon.8 policycoreutils: genhomedircon: manual page improvements 2012-09-12 12:16:00 -04:00
Makefile policycoreutils: genhomedircon generation to allow spec file to pass in SEMODULE_PATH 2013-02-05 20:14:49 -05:00