diff options
author | Rob Crittenden <rcritten@redhat.com> | 2009-11-03 15:26:00 -0500 |
---|---|---|
committer | Jason Gerard DeRose <jderose@redhat.com> | 2009-11-04 04:07:38 -0700 |
commit | da58b0cc75ffd59e34729d3caedaa715d8dd2584 (patch) | |
tree | c8c806cc8e143bbbce7943ad3e481fb0985327df /install/tools/ipa-server-install | |
parent | 5782b882a725a0a626630cd361c6c4d3455449be (diff) | |
download | freeipa-da58b0cc75ffd59e34729d3caedaa715d8dd2584.tar.gz freeipa-da58b0cc75ffd59e34729d3caedaa715d8dd2584.tar.xz freeipa-da58b0cc75ffd59e34729d3caedaa715d8dd2584.zip |
Add SELinux policy for UI assets
This also removes the Index option of /ipa-assets as well as the
deprecated IPADebug option.
No need to build or install ipa_webgui anymore. Leaving in the code
for reference purposes for now.
Diffstat (limited to 'install/tools/ipa-server-install')
-rwxr-xr-x | install/tools/ipa-server-install | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/install/tools/ipa-server-install b/install/tools/ipa-server-install index 462db64e7..a2e9c7a38 100755 --- a/install/tools/ipa-server-install +++ b/install/tools/ipa-server-install @@ -674,7 +674,8 @@ def main(): krb = krbinstance.KrbInstance(fstore) krb.create_instance(ds_user, realm_name, host_name, domain_name, dm_password, master_password) - # Render webui assets: + # Render webui assets: + ipautil.run(["/sbin/restorecon", ASSETS_DIR]) render_assets() # Create a HTTP instance @@ -691,6 +692,7 @@ def main(): os.remove(pw_name) else: http.create_instance(realm_name, host_name, domain_name, autoconfig=True, self_signed_ca=not options.ca) + ipautil.run(["/sbin/restorecon", "/var/cache/ipa/sessions"]) # Create the config file fstore.backup_file("/etc/ipa/ipa.conf") |