summaryrefslogtreecommitdiffstats
path: root/freeipa.spec.in
diff options
context:
space:
mode:
authorAna Krivokapic <akrivoka@redhat.com>2013-04-19 14:32:20 +0200
committerRob Crittenden <rcritten@redhat.com>2013-04-19 10:57:07 -0400
commit2a8f1b0b16bb1a0af3906c06cffcd96bf152227a (patch)
tree3cafb12c4131e74770adf687af51701a7bd2c55b /freeipa.spec.in
parent9125285a051b133149f887130051b63c6d650971 (diff)
downloadfreeipa-2a8f1b0b16bb1a0af3906c06cffcd96bf152227a.tar.gz
freeipa-2a8f1b0b16bb1a0af3906c06cffcd96bf152227a.tar.xz
freeipa-2a8f1b0b16bb1a0af3906c06cffcd96bf152227a.zip
Handle missing /etc/ipa in ipa-client-install
Make sure /etc/ipa is created and owned by freeipa-python package. Report correct error to user if /etc/ipa is missing during client installation. https://fedorahosted.org/freeipa/ticket/3551
Diffstat (limited to 'freeipa.spec.in')
-rw-r--r--freeipa.spec.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/freeipa.spec.in b/freeipa.spec.in
index 9448a4b48..bf53a3de4 100644
--- a/freeipa.spec.in
+++ b/freeipa.spec.in
@@ -655,7 +655,6 @@ fi
%dir %{_usr}/share/ipa/ui/images
%{_usr}/share/ipa/ui/images/*.png
%{_usr}/share/ipa/ui/images/*.gif
-%dir %{_sysconfdir}/ipa
%dir %{_sysconfdir}/ipa/html
%config(noreplace) %{_sysconfdir}/ipa/html/ffconfig.js
%config(noreplace) %{_sysconfdir}/ipa/html/ffconfig_page.js
@@ -790,6 +789,7 @@ fi
%{python_sitelib}/ipapython-*.egg-info
%{python_sitelib}/freeipa-*.egg-info
%{python_sitearch}/python_default_encoding-*.egg-info
+%dir %attr(0755,root,apache) %config(noreplace) %{_sysconfdir}/ipa/
%ghost %attr(0644,root,apache) %config(noreplace) %{_sysconfdir}/ipa/default.conf
%ghost %attr(0644,root,apache) %config(noreplace) %{_sysconfdir}/ipa/ca.crt