summaryrefslogtreecommitdiffstats
path: root/freeipa.spec.in
diff options
context:
space:
mode:
authorMartin Basti <mbasti@redhat.com>2014-11-11 13:00:18 +0100
committerJan Cholasta <jcholast@redhat.com>2014-11-18 18:49:42 +0000
commit7c176b708eb855ea8774ad36ba72fd31952a8895 (patch)
treef3dcea465d1cb229720e0a0275c8938545833d98 /freeipa.spec.in
parent4c670919a5b15b70ff6efb50e9bb60eb45cecdba (diff)
downloadfreeipa-7c176b708eb855ea8774ad36ba72fd31952a8895.tar.gz
freeipa-7c176b708eb855ea8774ad36ba72fd31952a8895.tar.xz
freeipa-7c176b708eb855ea8774ad36ba72fd31952a8895.zip
Fix named working directory permissions
Just adding dir to specfile doesnt work, because is not guarantee the named is installed, during RPM installation. Ticket: https://fedorahosted.org/freeipa/ticket/4716 Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Diffstat (limited to 'freeipa.spec.in')
-rw-r--r--freeipa.spec.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/freeipa.spec.in b/freeipa.spec.in
index cda6d42d2..2856048f8 100644
--- a/freeipa.spec.in
+++ b/freeipa.spec.in
@@ -428,7 +428,6 @@ mkdir -p %{buildroot}%{_usr}/share/ipa/html/
/bin/touch %{buildroot}%{_usr}/share/ipa/html/preferences.html
mkdir -p %{buildroot}%{_initrddir}
mkdir %{buildroot}%{_sysconfdir}/sysconfig/
-mkdir -p %{buildroot}%{_localstatedir}/named/dyndb-ldap/ipa/
install -m 644 init/ipa_memcached.conf %{buildroot}%{_sysconfdir}/sysconfig/ipa_memcached
install -m 644 init/ipa-dnskeysyncd.conf %{buildroot}%{_sysconfdir}/sysconfig/ipa-dnskeysyncd
install -m 644 init/ipa-ods-exporter.conf %{buildroot}%{_sysconfdir}/sysconfig/ipa-ods-exporter
@@ -669,7 +668,6 @@ fi
%config(noreplace) %{_sysconfdir}/sysconfig/ipa-ods-exporter
%dir %attr(0700,apache,apache) %{_localstatedir}/run/ipa_memcached/
%dir %attr(0700,root,root) %{_localstatedir}/run/ipa/
-%dir %attr(0770,named,named) %{_localstatedir}/named/dyndb-ldap/ipa/
# NOTE: systemd specific section
%{_tmpfilesdir}/%{name}.conf
%attr(644,root,root) %{_unitdir}/ipa.service
@@ -783,6 +781,7 @@ fi
%attr(700,root,root) %dir %{_localstatedir}/lib/ipa/sysupgrade
%attr(755,root,root) %dir %{_localstatedir}/lib/ipa/pki-ca
%ghost %{_localstatedir}/lib/ipa/pki-ca/publish
+%ghost %{_localstatedir}/named/dyndb-ldap/ipa
%attr(755,root,root) %{_libdir}/krb5/plugins/kdb/ipadb.so
%{_mandir}/man1/ipa-replica-conncheck.1.gz
%{_mandir}/man1/ipa-replica-install.1.gz