diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2010-03-22 23:08:10 +0100 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-03-25 12:14:14 -0400 |
commit | a6f5518219fb3358595852eeaa9ad9c3e0410821 (patch) | |
tree | 0914dace03b75336d3b9c2d9b7bcfcc0520703bd /contrib | |
parent | 7c837ddd5b1737b56fc475f7e347efdb067e2330 (diff) | |
download | sssd-a6f5518219fb3358595852eeaa9ad9c3e0410821.tar.gz sssd-a6f5518219fb3358595852eeaa9ad9c3e0410821.tar.bz2 sssd-a6f5518219fb3358595852eeaa9ad9c3e0410821.zip |
Allow running with read only root
Packages /etc/rwtab.d/sssd file that allows SSSD to run on a read-only
root filesystem.
Fixes: #428
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/sssd.spec.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in index 0256ef24..c6c91dbf 100644 --- a/contrib/sssd.spec.in +++ b/contrib/sssd.spec.in @@ -241,6 +241,10 @@ install -m400 src/config/etc/sssd.api.d/* $RPM_BUILD_ROOT%{_sysconfdir}/sssd/sss mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d install -m644 src/examples/logrotate $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/sssd +# Make sure SSSD is able to run on read-only root +mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/rwtab.d +install -m644 src/examples/rwtab $RPM_BUILD_ROOT%{_sysconfdir}/rwtab.d/sssd + # Remove .la files created by libtool rm -f \ $RPM_BUILD_ROOT/%{_lib}/libnss_sss.la \ @@ -297,6 +301,7 @@ rm -rf $RPM_BUILD_ROOT %attr(700,root,root) %dir %{_sysconfdir}/sssd %config(noreplace) %{_sysconfdir}/sssd/sssd.conf %config(noreplace) %{_sysconfdir}/logrotate.d/sssd +%config(noreplace) %{_sysconfdir}/rwtab.d/sssd %config %{_sysconfdir}/sssd/sssd.api.conf %attr(700,root,root) %dir %{_sysconfdir}/sssd/sssd.api.d %config %{_sysconfdir}/sssd/sssd.api.d/ |