diff options
author | Jeremy Katz <katzj@redhat.com> | 2008-04-08 14:06:09 -0400 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2008-04-08 14:47:22 -0400 |
commit | ff9a3eb34dbc2c2c07d9e46d5f6dbc56504dad7f (patch) | |
tree | 3455c53a5070103c1d3e0335cc3ea81d0d9f6566 /upgrade.py | |
parent | 6956d76e2eaf35190bcfbdccf3436d513c40f9cc (diff) | |
download | anaconda-ff9a3eb34dbc2c2c07d9e46d5f6dbc56504dad7f.tar.gz anaconda-ff9a3eb34dbc2c2c07d9e46d5f6dbc56504dad7f.tar.xz anaconda-ff9a3eb34dbc2c2c07d9e46d5f6dbc56504dad7f.zip |
Log a message if we disable selinux on upgrade
Diffstat (limited to 'upgrade.py')
-rw-r--r-- | upgrade.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/upgrade.py b/upgrade.py index c126ca84d..78a50522f 100644 --- a/upgrade.py +++ b/upgrade.py @@ -451,6 +451,7 @@ def upgradeMountFilesystems(anaconda): ctx = selinux.getfilecon(anaconda.rootPath + "/.autorelabel")[1] if not ctx or ctx == "unlabeled": flags.selinux = False + log.info("Disabled SELinux for upgrade based on /.autorelabel") except Exception, e: log.warning("error checking selinux state: %s" %(e,)) |