- don't force sync io for all filesystems

This commit is contained in:
Michal Hlavinka 2011-01-21 10:51:57 +01:00
parent 0e6583ceaa
commit 80ce5e6958

View File

@ -1,6 +1,6 @@
Name: cyrus-imapd
Version: 2.3.16
Release: 6%{?dist}
Release: 7%{?dist}
%define ssl_pem_file %{_sysconfdir}/pki/%{name}/%{name}.pem
@ -307,8 +307,13 @@ rm -rf %{buildroot}
%post
/sbin/chkconfig --add %{name}
# Force synchronous updates, usually only on extX filesystems
chattr -R +S $i %{_var}/lib/imap/{user,quota} %{_var}/spool/imap 2>/dev/null ||:
# Force synchronous updates, usually only on ext2 filesystems
for i in %{_var}/lib/imap/{user,quota} %{_var}/spool/imap
do
if [ "$(find $i -maxdepth 0 -printf %%F)" = "ext2" ]; then
chattr -R +S $i 2>/dev/null ||:
fi
done
# Create SSL certificates
exec > /dev/null 2> /dev/null
@ -479,6 +484,9 @@ fi
%{_mandir}/man1/*
%changelog
* Fri Jan 21 2011 Michal Hlavinka <mhlavink@redhat.com> - 2.3.16-7
- don't force sync io for all filesystems
* Fri Jul 07 2010 Michal Hlavinka <mhlavink@redhat.com> - 2.3.16-6
- follow licensing guideline update
- devel sub-package has to have virtual static provides (#609604)