|
|
285127 |
Summary: Rotates, compresses, removes and mails system log files
|
|
|
285127 |
Name: logrotate
|
|
|
285127 |
Version: 3.8.6
|
|
|
285127 |
Release: 15%{?dist}
|
|
|
285127 |
License: GPL+
|
|
|
285127 |
Group: System Environment/Base
|
|
|
285127 |
URL: https://github.com/logrotate/logrotate
|
|
|
285127 |
Source: https://fedorahosted.org/releases/l/o/logrotate/logrotate-%{version}.tar.gz
|
|
|
285127 |
Source1: rwtab
|
|
|
285127 |
Patch0: logrotate-3.8.6-force.patch
|
|
|
285127 |
Patch1: logrotate-3.8.6-r465.patch
|
|
|
285127 |
Patch2: logrotate-3.8.6-sortglob.patch
|
|
|
285127 |
Patch3: logrotate-3.8.6-r460.patch
|
|
|
285127 |
Patch4: logrotate-3.8.6-compress-subject.patch
|
|
|
285127 |
Patch5: logrotate-3.8.6-olddircopy.patch
|
|
|
285127 |
Patch6: logrotate-3.8.6-state-clean.patch
|
|
|
285127 |
|
|
|
285127 |
# fix #1381719 - make /var/lib/logrotate/logrotate.status the default state file
|
|
|
285127 |
Patch7: logrotate-3.8.6-statusfile.patch
|
|
|
285127 |
|
|
|
285127 |
# fix #1192936 - provide diagnostic in case log does not need rotating
|
|
|
285127 |
Patch9: logrotate-3.8.6-diagnostic.patch
|
|
|
285127 |
|
|
|
285127 |
# fix #1375638 - make olddir respect the missingok flag
|
|
|
285127 |
Patch10: logrotate-3.8.6-olddir-missingok.patch
|
|
|
285127 |
|
|
|
285127 |
# fix #1369438 - heap buffer overflow when using long date format
|
|
|
285127 |
Patch11: logrotate-3.8.6-longdate-crash.patch
|
|
|
285127 |
|
|
|
285127 |
# fix #1377335 - make 'createolddir' preserve sticky bit
|
|
|
285127 |
Patch12: logrotate-3.8.6-createolddir.patch
|
|
|
285127 |
|
|
|
285127 |
# fix #1374331 - preserve SELinux context with 'compress' and 'sharedscripts'
|
|
|
285127 |
Patch13: logrotate-3.8.6-selinux.patch
|
|
|
285127 |
|
|
|
285127 |
# fix #1387533 - make 'su' directive accept usernames starting with digits
|
|
|
285127 |
Patch14: logrotate-3.8.6-su-username.patch
|
|
|
285127 |
|
|
|
285127 |
# fix #1461907 - make 'copy' and 'copytruncate' work together
|
|
|
285127 |
Patch15: logrotate-3.8.6-copy-and-copytruncate.patch
|
|
|
285127 |
|
|
|
285127 |
# fix #1465720 - trigger weekly rotations more predictably
|
|
|
285127 |
Patch16: logrotate-3.8.6-weekly.patch
|
|
|
285127 |
|
|
|
285127 |
# fix #1472984 - improve the error message for bad config file mode
|
|
|
285127 |
Patch17: logrotate-3.8.6-config-mode-err.patch
|
|
|
285127 |
|
|
|
285127 |
# fix #1483800 - update references to project page
|
|
|
285127 |
Patch18: logrotate-3.8.6-upstream-url.patch
|
|
|
285127 |
|
|
|
285127 |
Requires: coreutils >= 5.92 popt
|
|
|
285127 |
BuildRequires: libselinux-devel popt-devel libacl-devel acl
|
|
|
285127 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
285127 |
|
|
|
285127 |
%description
|
|
|
285127 |
The logrotate utility is designed to simplify the administration of
|
|
|
285127 |
log files on a system which generates a lot of log files. Logrotate
|
|
|
285127 |
allows for the automatic rotation compression, removal and mailing of
|
|
|
285127 |
log files. Logrotate can be set to handle a log file daily, weekly,
|
|
|
285127 |
monthly or when the log file gets to a certain size. Normally,
|
|
|
285127 |
logrotate runs as a daily cron job.
|
|
|
285127 |
|
|
|
285127 |
Install the logrotate package if you need a utility to deal with the
|
|
|
285127 |
log files on your system.
|
|
|
285127 |
|
|
|
285127 |
%prep
|
|
|
285127 |
%setup -q
|
|
|
285127 |
|
|
|
285127 |
%patch0 -p1 -b .force
|
|
|
285127 |
%patch1 -p1 -b .r465
|
|
|
285127 |
%patch2 -p1 -b .sortglob
|
|
|
285127 |
%patch3 -p1 -b .r460
|
|
|
285127 |
%patch4 -p1 -b .compressmail
|
|
|
285127 |
%patch5 -p1 -b .olddircopy
|
|
|
285127 |
%patch6 -p1 -b .stateclean
|
|
|
285127 |
%patch7 -p1
|
|
|
285127 |
%patch9 -p1
|
|
|
285127 |
%patch10 -p1
|
|
|
285127 |
%patch11 -p1
|
|
|
285127 |
%patch12 -p1
|
|
|
285127 |
%patch13 -p1
|
|
|
285127 |
%patch14 -p1
|
|
|
285127 |
%patch15 -p1
|
|
|
285127 |
%patch16 -p1
|
|
|
285127 |
%patch17 -p1
|
|
|
285127 |
%patch18 -p1
|
|
|
285127 |
|
|
|
285127 |
%build
|
|
|
285127 |
make %{?_smp_mflags} RPM_OPT_FLAGS="$RPM_OPT_FLAGS" WITH_SELINUX=yes WITH_ACL=yes
|
|
|
285127 |
|
|
|
285127 |
%check
|
|
|
285127 |
make test
|
|
|
285127 |
|
|
|
285127 |
%install
|
|
|
285127 |
rm -rf $RPM_BUILD_ROOT
|
|
|
285127 |
make PREFIX=$RPM_BUILD_ROOT MANDIR=%{_mandir} install
|
|
|
285127 |
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d
|
|
|
285127 |
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/cron.daily
|
|
|
285127 |
mkdir -p $RPM_BUILD_ROOT/%{_localstatedir}/lib/logrotate
|
|
|
285127 |
|
|
|
285127 |
install -p -m 644 examples/logrotate-default $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.conf
|
|
|
285127 |
install -p -m 755 examples/logrotate.cron $RPM_BUILD_ROOT/%{_sysconfdir}/cron.daily/logrotate
|
|
|
285127 |
|
|
|
285127 |
# Make sure logrotate is able to run on read-only root
|
|
|
285127 |
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/rwtab.d
|
|
|
285127 |
install -m644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/rwtab.d/logrotate
|
|
|
285127 |
|
|
|
285127 |
%pre
|
|
|
285127 |
# If /var/lib/logrotate/logrotate.status does not exist, create it and copy
|
|
|
285127 |
# the /var/lib/logrotate.status in it (if it exists). We have to do that in pre
|
|
|
285127 |
# script, otherwise the /var/lib/logrotate/logrotate.status would not be there,
|
|
|
285127 |
# because during the update, it is removed/renamed.
|
|
|
285127 |
if [ ! -d %{_localstatedir}/lib/logrotate/ -a -f %{_localstatedir}/lib/logrotate.status ]; then
|
|
|
285127 |
mkdir -p %{_localstatedir}/lib/logrotate
|
|
|
285127 |
cp -a %{_localstatedir}/lib/logrotate.status %{_localstatedir}/lib/logrotate
|
|
|
285127 |
fi
|
|
|
285127 |
|
|
|
285127 |
%clean
|
|
|
285127 |
rm -rf $RPM_BUILD_ROOT
|
|
|
285127 |
|
|
|
285127 |
%files
|
|
|
285127 |
%defattr(-,root,root)
|
|
|
285127 |
%doc CHANGES COPYING
|
|
|
285127 |
%attr(0755, root, root) %{_sbindir}/logrotate
|
|
|
285127 |
%attr(0644, root, root) %{_mandir}/man8/logrotate.8*
|
|
|
285127 |
%attr(0644, root, root) %{_mandir}/man5/logrotate.conf.5*
|
|
|
285127 |
%attr(0700, root, root) %config(noreplace) %{_sysconfdir}/cron.daily/logrotate
|
|
|
285127 |
%attr(0644, root, root) %config(noreplace) %{_sysconfdir}/logrotate.conf
|
|
|
285127 |
%attr(0755, root, root) %dir %{_sysconfdir}/logrotate.d
|
|
|
285127 |
%attr(0755, root, root) %dir %{_localstatedir}/lib/logrotate
|
|
|
285127 |
%attr(0644, root, root) %ghost %verify(not size md5 mtime) %{_localstatedir}/lib/logrotate/logrotate.status
|
|
|
285127 |
%config(noreplace) %{_sysconfdir}/rwtab.d/logrotate
|
|
|
285127 |
|
|
|
285127 |
%changelog
|
|
|
285127 |
* Mon Sep 25 2017 Kamil Dudka <kdudka@redhat.com> - 3.8.6-15
|
|
|
285127 |
- fix #1483800 - update references to project page
|
|
|
285127 |
- fix #1472984 - improve the error message for bad config file mode
|
|
|
285127 |
- fix #1465720 - trigger weekly rotations more predictably
|
|
|
285127 |
- fix #1461907 - make 'copy' and 'copytruncate' work together
|
|
|
285127 |
|
|
|
285127 |
* Tue Jan 24 2017 Kamil Dudka <kdudka@redhat.com> - 3.8.6-14
|
|
|
285127 |
- fix #1381719 - make /var/lib/logrotate/logrotate.status the default state file
|
|
|
285127 |
- fix #1387533 - make 'su' directive accept usernames starting with digits
|
|
|
285127 |
|
|
|
285127 |
* Tue Sep 13 2016 Kamil Dudka <kdudka@redhat.com> - 3.8.6-13
|
|
|
285127 |
- fix #1393247 - migration of state file from previous versions of logrotate
|
|
|
285127 |
- fix #1374331 - preserve SELinux context with 'compress' and 'sharedscripts'
|
|
|
285127 |
- fix #1377335 - make 'createolddir' preserve sticky bit
|
|
|
285127 |
- fix #1369438 - heap buffer overflow when using long date format
|
|
|
285127 |
- fix #1375638 - make olddir respect the missingok flag
|
|
|
285127 |
|
|
|
285127 |
* Thu Jul 14 2016 Kamil Dudka <kdudka@redhat.com> - 3.8.6-12
|
|
|
285127 |
- make the /var/lib/logrotate directory owned by logrotate (#1272236)
|
|
|
285127 |
|
|
|
285127 |
* Mon Jul 11 2016 Kamil Dudka <kdudka@redhat.com> - 3.8.6-11
|
|
|
285127 |
- fix #1354203 - remove the fix for bug #1321980
|
|
|
285127 |
|
|
|
285127 |
* Fri Jul 01 2016 Kamil Dudka <kdudka@redhat.com> - 3.8.6-10
|
|
|
285127 |
- fix #1192936 - provide diagnostic in case log does not need rotating
|
|
|
285127 |
- fix #1321980 - do not exit if status file is corrupted
|
|
|
285127 |
|
|
|
285127 |
* Fri Jul 01 2016 Jan Kaluza <jkaluza@redhat.com> - 3.8.6-9
|
|
|
285127 |
- fix #1272236 - add missing rwtab file
|
|
|
285127 |
|
|
|
285127 |
* Fri Mar 11 2016 Jan Kaluza <jkaluza@redhat.com> - 3.8.6-8
|
|
|
285127 |
- fix #1201252 - delete unused entries in state file, fix bad performance
|
|
|
285127 |
with big state file
|
|
|
285127 |
- fix #1272236 - move logrotate.status to /var/lib/logrotate and add it to rwtab.d
|
|
|
285127 |
|
|
|
285127 |
* Mon Nov 09 2015 Jan Kaluza <jkaluza@redhat.com> - 3.8.6-7
|
|
|
285127 |
- fix #1163437 - support olddir on different device with copy or copytruncate
|
|
|
285127 |
|
|
|
285127 |
* Tue Oct 06 2015 Jan Kaluza <jkaluza@redhat.com> - 3.8.6-6
|
|
|
285127 |
- fix #1244156 - make filename in subject consistent when used with compress
|
|
|
285127 |
|
|
|
285127 |
* Thu Apr 23 2015 Jan Kaluza <jkaluza@redhat.com> - 3.8.6-5
|
|
|
285127 |
- mention copy/copytruncate/renamecopy influence to olddir option (#1175292)
|
|
|
285127 |
- delete last log when dateformat cannot be sorted alphabetically (#1174208)
|
|
|
285127 |
- mark cron.daily/logrotate as config file (#1174207)
|
|
|
285127 |
- create olddir diectory if it does not exist (#1187161)
|
|
|
285127 |
|
|
|
285127 |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 3.8.6-4
|
|
|
285127 |
- Mass rebuild 2014-01-24
|
|
|
285127 |
|
|
|
285127 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 3.8.6-3
|
|
|
285127 |
- Mass rebuild 2013-12-27
|
|
|
285127 |
|
|
|
285127 |
* Mon Oct 07 2013 Jan Kaluza <jkaluza@redhat.com> - 3.8.6-2
|
|
|
285127 |
- fix -f/--force option (#1015017)
|
|
|
285127 |
- use mode 0700 for crontab script (#1012764)
|
|
|
285127 |
|
|
|
285127 |
* Wed Jul 31 2013 Jan Kaluza <jkaluza@redhat.com> - 3.8.6-1
|
|
|
285127 |
- new upstream version 3.8.6
|
|
|
285127 |
|
|
|
285127 |
* Wed Jul 10 2013 Jan Kaluza <jkaluza@redhat.com> - 3.8.5-2
|
|
|
285127 |
- fix #982409 - do not crash when no logs are rotated and "sharedscripts" and
|
|
|
285127 |
"prerotate" is used
|
|
|
285127 |
|
|
|
285127 |
* Mon Jun 10 2013 Jan Kaluza <jkaluza@redhat.com> - 3.8.5-1
|
|
|
285127 |
- new upstream version 3.8.5
|
|
|
285127 |
|
|
|
285127 |
* Tue May 14 2013 Jan Kaluza <jkaluza@redhat.com> - 3.8.4-2
|
|
|
285127 |
- do not try to parse config files bigger than 16MB
|
|
|
285127 |
- remove unused patches
|
|
|
285127 |
|
|
|
285127 |
* Tue Apr 30 2013 Jan Kaluza <jkaluza@redhat.com> - 3.8.4-1
|
|
|
285127 |
- new upstream version 3.8.4
|
|
|
285127 |
|
|
|
285127 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.3-2
|
|
|
285127 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
285127 |
|
|
|
285127 |
* Thu Oct 04 2012 Jan Kaluza <jkaluza@redhat.com> 3.8.3-1
|
|
|
285127 |
- new upstream version 3.8.3
|
|
|
285127 |
|
|
|
285127 |
* Thu Jul 19 2012 Jan Kaluza <jkaluza@redhat.com> 3.8.2-1
|
|
|
285127 |
- new upstream version 3.8.2
|
|
|
285127 |
- tests are enabled during build
|
|
|
285127 |
|
|
|
285127 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.1-4
|
|
|
285127 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
285127 |
|
|
|
285127 |
* Wed Jan 04 2012 Jan Kaluza <jkaluza@redhat.com> 3.8.1-3
|
|
|
285127 |
- fix #736054 - check for missing '{' in config file
|
|
|
285127 |
|
|
|
285127 |
* Mon Oct 03 2011 Jan Kaluza <jkaluza@redhat.com> 3.8.1-2
|
|
|
285127 |
- fix #742731 - man page syntax, formatting, and spelling fixes
|
|
|
285127 |
|
|
|
285127 |
* Tue Sep 06 2011 Jan Kaluza <jkaluza@redhat.com> 3.8.1-1
|
|
|
285127 |
- new upstream version 3.8.1
|
|
|
285127 |
|
|
|
285127 |
* Mon Aug 08 2011 Jan Kaluza <jkaluza@redhat.com> 3.8.0-5
|
|
|
285127 |
- fix #723797 - added maxsize option
|
|
|
285127 |
|
|
|
285127 |
* Wed Aug 01 2011 Jan Kaluza <jkaluza@redhat.com> 3.8.0-4
|
|
|
285127 |
- fix #726980 - work properly when acl_get_fd is supported,
|
|
|
285127 |
but acl_set_fd is not
|
|
|
285127 |
|
|
|
285127 |
* Fri Jul 22 2011 Jan Kaluza <jkaluza@redhat.com> 3.8.0-3
|
|
|
285127 |
- fix #723547 - fixed size directive parsing
|
|
|
285127 |
|
|
|
285127 |
* Wed Jul 20 2011 Jan Kaluza <jkaluza@redhat.com> 3.8.0-2
|
|
|
285127 |
- fix #722825 - do not redirect logrotate output in cron script
|
|
|
285127 |
|
|
|
285127 |
* Tue Jun 21 2011 Jan Kaluza <jkaluza@redhat.com> 3.8.0-1
|
|
|
285127 |
- new upstream version 3.8.0
|
|
|
285127 |
- removed unused patches
|
|
|
285127 |
|
|
|
285127 |
* Tue May 31 2011 Jan Kaluza <jkaluza@redhat.com> 3.7.9-11
|
|
|
285127 |
- fix #709034 - work properly when ACLs are not supported
|
|
|
285127 |
|
|
|
285127 |
* Mon May 30 2011 Jan Kaluza <jkaluza@redhat.com> 3.7.9-10
|
|
|
285127 |
- fix #708367 - fixed mail directive parsing
|
|
|
285127 |
|
|
|
285127 |
* Mon Mar 28 2011 Jan Kaluza <jkaluza@redhat.com> 3.7.9-9
|
|
|
285127 |
- fix #689061 - added Url
|
|
|
285127 |
|
|
|
285127 |
* Mon Mar 21 2011 Jan Kaluza <jkaluza@redhat.com> 3.7.9-8
|
|
|
285127 |
- fix #688520 - fixed CVE-2011-1154, CVE-2011-1155 and CVE-2011-1098
|
|
|
285127 |
|
|
|
285127 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.7.9-7
|
|
|
285127 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
285127 |
|
|
|
285127 |
* Wed Feb 02 2011 Jan Kaluza <jkaluza@redhat.com> 3.7.9-6
|
|
|
285127 |
- fix #671926 - fixed crash when tabooext is used in config file
|
|
|
285127 |
|
|
|
285127 |
* Wed Dec 15 2010 Jan Kaluza <jkaluza@redhat.com> 3.7.9-5
|
|
|
285127 |
- fix #661181 - fixed SIGBUS when config file is empty or 4096 bytes
|
|
|
285127 |
- fix #666677 - preserve ACLs when rotating files
|
|
|
285127 |
|
|
|
285127 |
* Tue Oct 19 2010 Jan Kaluza <jkaluza@redhat.com> 3.7.9-4
|
|
|
285127 |
- fix #644309 - mention all logrotate params in man page
|
|
|
285127 |
|
|
|
285127 |
* Wed Sep 29 2010 Jan Kaluza <jkaluza@redhat.com> 3.7.9-3
|
|
|
285127 |
- fix #638629 - better size directive description
|
|
|
285127 |
|
|
|
285127 |
* Mon Aug 09 2010 Jan Kaluza <jkaluza@redhat.com> 3.7.9-2
|
|
|
285127 |
- fixed AUTHORS in man page
|
|
|
285127 |
|
|
|
285127 |
* Mon Jun 28 2010 Jan Kaluza <jkaluza@redhat.com> 3.7.9-1
|
|
|
285127 |
- new upstream version 3.7.9
|
|
|
285127 |
|
|
|
285127 |
* Tue Jun 22 2010 Jan Kaluza <jkaluza@redhat.com> 3.7.8-12
|
|
|
285127 |
- fix #602643 - update manpage to reflect scripts changes
|
|
|
285127 |
- fix #606675 - pass currently rotated file as argument to
|
|
|
285127 |
postrotate/prerotate script in nosharedscripts mode
|
|
|
285127 |
|
|
|
285127 |
* Tue Jun 15 2010 Jan Kaluza <jkaluza@redhat.com> 3.7.8-11
|
|
|
285127 |
- fix #603040 - do not remove log if there is an error in
|
|
|
285127 |
rotate process
|
|
|
285127 |
|
|
|
285127 |
* Tue Apr 20 2010 Jan Kaluza <jkaluza@redhat.com> 3.7.8-10
|
|
|
285127 |
- fix #602643 - logrotate "size" directive cannot exceed
|
|
|
285127 |
1895825408 bytes
|
|
|
285127 |
|
|
|
285127 |
* Tue Apr 20 2010 Daniel Novotny <dnovotny@redhat.com> 3.7.8-9
|
|
|
285127 |
- revert the "create 0640 root adm" permission change (#489038)
|
|
|
285127 |
|
|
|
285127 |
* Tue Apr 06 2010 Daniel Novotny <dnovotny@redhat.com> 3.7.8-8
|
|
|
285127 |
- fix #578115 - missingok problem with globs
|
|
|
285127 |
|
|
|
285127 |
* Mon Jan 11 2010 Daniel Novotny <dnovotny@redhat.com> 3.7.8-7
|
|
|
285127 |
- fix #489038 - RFE: useful permissions on log files
|
|
|
285127 |
|
|
|
285127 |
* Wed Dec 09 2009 Henrique Martins <bugzilla-redhat-2009@martins.cc> 3.7.8-6
|
|
|
285127 |
- fix #545919 (rotate non-writable files when copy is set)
|
|
|
285127 |
|
|
|
285127 |
* Tue Sep 29 2009 Daniel Novotny <dnovotny@redhat.com> 3.7.8-5
|
|
|
285127 |
- fix #525659 (man page for logrotate.conf)
|
|
|
285127 |
|
|
|
285127 |
* Thu Sep 17 2009 Daniel Novotny <dnovotny@redhat.com> 3.7.8-4
|
|
|
285127 |
- fix #517321 (logrotate blocking anacron)
|
|
|
285127 |
|
|
|
285127 |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.7.8-3
|
|
|
285127 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
285127 |
|
|
|
285127 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.7.8-2
|
|
|
285127 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
285127 |
|
|
|
285127 |
* Mon Feb 02 2009 Daniel Novotny <dnovotny@redhat.com> 3.7.8-1
|
|
|
285127 |
- new upstream version 3.7.8
|
|
|
285127 |
|
|
|
285127 |
* Fri Nov 21 2008 Daniel Novotny <dnovotny@redhat.com> 3.7.7-4
|
|
|
285127 |
- fix #468926 (segfault with very large /var/log/messages)
|
|
|
285127 |
|
|
|
285127 |
* Thu Nov 20 2008 Daniel Novotny <dnovotny@redhat.com> 3.7.7-3
|
|
|
285127 |
- less aggressive approach to the fix
|
|
|
285127 |
|
|
|
285127 |
* Thu Nov 20 2008 Daniel Novotny <dnovotny@redhat.com> 3.7.7-2
|
|
|
285127 |
- fix #471463 (selinux problems with logrotate)
|
|
|
285127 |
|
|
|
285127 |
* Mon May 19 2008 Tomas Smetana <tsmetana@redhat.com> 3.7.7-1
|
|
|
285127 |
- new upstream version
|
|
|
285127 |
|
|
|
285127 |
* Wed Apr 23 2008 Tomas Smetana <tsmetana@redhat.com> 3.7.6-4
|
|
|
285127 |
- improve patch for #432330
|
|
|
285127 |
- fix #437748 - don't forget to close log files
|
|
|
285127 |
|
|
|
285127 |
* Mon Feb 11 2008 Tomas Smetana <tsmetana@redhat.com> 3.7.6-3
|
|
|
285127 |
- fix #432330 segfault on corrupted status file
|
|
|
285127 |
|
|
|
285127 |
* Mon Jan 21 2008 Tomas Smetana <tsmetana@redhat.com> 3.7.6-2.2
|
|
|
285127 |
- fix #429454 - logrotate fails due to invalid pointer
|
|
|
285127 |
|
|
|
285127 |
* Wed Jan 09 2008 Tomas Smetana <tsmetana@redhat.com> 3.7.6-2.1
|
|
|
285127 |
- fix the selinux patch
|
|
|
285127 |
|
|
|
285127 |
* Wed Jan 09 2008 Tomas Smetana <tsmetana@redhat.com> 3.7.6-2
|
|
|
285127 |
- fix #427274 - logrotate fails to preserve SELinux file contexts
|
|
|
285127 |
- fix #427661 - SELinux stops vsftpd from working correctly
|
|
|
285127 |
|
|
|
285127 |
* Thu Sep 27 2007 Tomas Smetana <tsmetana@redhat.com> 3.7.6-1.3
|
|
|
285127 |
- popt-devel dependency was still missing
|
|
|
285127 |
|
|
|
285127 |
* Thu Sep 27 2007 Tomas Smetana <tsmetana@redhat.com> 3.7.6-1.2
|
|
|
285127 |
- add missing dependencies to spec file
|
|
|
285127 |
|
|
|
285127 |
* Thu Aug 23 2007 Tomas Smetana <tsmetana@redhat.com> 3.7.6-1.1
|
|
|
285127 |
- rebuild
|
|
|
285127 |
|
|
|
285127 |
* Tue Aug 07 2007 Tomas Smetana <tsmetana@redhat.com> 3.7.6-1
|
|
|
285127 |
- new upstream version
|
|
|
285127 |
- fix #248565 logrotate never rotates /var/log/btmp
|
|
|
285127 |
- fix compile warnings
|
|
|
285127 |
- tabooext accepts wildcards (related #247816)
|
|
|
285127 |
- fix minor errors and update man page (related #250059)
|
|
|
285127 |
- fix handling of size directive (related #247410)
|
|
|
285127 |
|
|
|
285127 |
* Thu May 31 2007 Tomas Smetana <tsmetana@redhat.com> 3.7.5-5
|
|
|
285127 |
- fix ignoring pre/postrotate arguments (related #241766)
|
|
|
285127 |
|
|
|
285127 |
* Wed May 23 2007 Tomas Smetana <tsmetana@redhat.com> 3.7.5-4
|
|
|
285127 |
- use dateext in the default config file (#240292)
|
|
|
285127 |
- add options to use shred for deleting files -- adapt patch sent by
|
|
|
285127 |
Peter Eckersley <pde@eff.org> (#239934)
|
|
|
285127 |
- ignore .cfsaved files by default (#223476)
|
|
|
285127 |
|
|
|
285127 |
* Sat Mar 31 2007 Peter Vrabec <pvrabec@redhat.com> 3.7.5-3
|
|
|
285127 |
- add error checking before running prerotate and postrotate scripts
|
|
|
285127 |
|
|
|
285127 |
* Thu Mar 29 2007 Peter Vrabec <pvrabec@redhat.com> 3.7.5-2
|
|
|
285127 |
- fix error hadnling after prerotate, postrotate, firstaction
|
|
|
285127 |
script failure. (http://qa.mandriva.com/show_bug.cgi?id=29979)
|
|
|
285127 |
|
|
|
285127 |
* Thu Mar 01 2007 Peter Vrabec <pvrabec@redhat.com> 3.7.5-1
|
|
|
285127 |
- new upstream release.
|
|
|
285127 |
|
|
|
285127 |
* Fri Feb 09 2007 Peter Vrabec <pvrabec@redhat.com> 3.7.4-13
|
|
|
285127 |
- another spec file fixes (#226104)
|
|
|
285127 |
|
|
|
285127 |
* Thu Feb 08 2007 Peter Vrabec <pvrabec@redhat.com> 3.7.4-12
|
|
|
285127 |
- fix problem with compress_options_list (#227706)
|
|
|
285127 |
- fix spec file to meet Fedora standards (#226104)
|
|
|
285127 |
|
|
|
285127 |
* Tue Jan 23 2007 Peter Vrabec <pvrabec@redhat.com> 3.7.4-11
|
|
|
285127 |
- logrotate won't stop if there are some errors in configuration
|
|
|
285127 |
or glob failures (#166510, #182062)
|
|
|
285127 |
|
|
|
285127 |
* Wed Jan 10 2007 Peter Vrabec <pvrabec@redhat.com> 3.7.4-10
|
|
|
285127 |
- fix some rpmlint issues
|
|
|
285127 |
|
|
|
285127 |
* Tue Jan 09 2007 Peter Vrabec <pvrabec@redhat.com> 3.7.4-9
|
|
|
285127 |
- allow multibyte characters in readPath() (#122145)
|
|
|
285127 |
|
|
|
285127 |
* Fri Jan 05 2007 Peter Vrabec <pvrabec@redhat.com> 3.7.4-8
|
|
|
285127 |
- "size" option was ignored in config files (#221341)
|
|
|
285127 |
|
|
|
285127 |
* Sun Oct 01 2006 Jesse Keating <jkeating@redhat.com> - 3.7.4-7
|
|
|
285127 |
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
|
|
|
285127 |
|
|
|
285127 |
* Tue Sep 26 2006 Peter Vrabec <pvrabec@redhat.com> 3.7.4-6
|
|
|
285127 |
- fix leaking file descriptor (#205072)
|
|
|
285127 |
|
|
|
285127 |
* Wed Aug 09 2006 Dan Walsh <dwalsh@redhat.com> 3.7.4-5
|
|
|
285127 |
- Use selinux raw functions
|
|
|
285127 |
|
|
|
285127 |
* Mon Jul 24 2006 Peter Vrabec <pvrabec@redhat.com> 3.7.4-4
|
|
|
285127 |
- make error message, about ignoring certain config files,
|
|
|
285127 |
a debug message instead (#196052)
|
|
|
285127 |
|
|
|
285127 |
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3.7.4-3.1
|
|
|
285127 |
- rebuild
|
|
|
285127 |
|
|
|
285127 |
* Tue Jun 13 2006 Peter Vrabec <pvrabec@redhat.com> 3.7.4-3
|
|
|
285127 |
- rename ENOSUP to ENOTSUP
|
|
|
285127 |
|
|
|
285127 |
* Tue Jun 13 2006 Peter Vrabec <pvrabec@redhat.com> 3.7.4-2
|
|
|
285127 |
- clean up a couple of SELinux problems. Patch from Daniel J. Walsh.
|
|
|
285127 |
|
|
|
285127 |
* Wed May 17 2006 Peter Vrabec <pvrabec@redhat.com> 3.7.4-1
|
|
|
285127 |
- add new "minsize" option (#173088)
|
|
|
285127 |
|
|
|
285127 |
* Tue Mar 28 2006 Peter Vrabec <pvrabec@redhat.com> 3.7.3-3
|
|
|
285127 |
- correct man page "extension" option description (#185318)
|
|
|
285127 |
|
|
|
285127 |
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 3.7.3-2.2.1
|
|
|
285127 |
- bump again for double-long bug on ppc(64)
|
|
|
285127 |
|
|
|
285127 |
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 3.7.3-2.2
|
|
|
285127 |
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
285127 |
|
|
|
285127 |
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
285127 |
- rebuilt
|
|
|
285127 |
|
|
|
285127 |
* Sun Nov 13 2005 Peter Vrabec <pvrabec@redhat.com> 3.7.3-2
|
|
|
285127 |
- fix_free_segfaults (#172918)
|
|
|
285127 |
|
|
|
285127 |
* Sat Nov 12 2005 Peter Vrabec <pvrabec@redhat.com> 3.7.3-1
|
|
|
285127 |
- new upstream release
|
|
|
285127 |
- indent sources
|
|
|
285127 |
|
|
|
285127 |
* Fri Nov 11 2005 Peter Vrabec <pvrabec@redhat.com> 3.7.2-12
|
|
|
285127 |
- fix_free_segfaults (#172918)
|
|
|
285127 |
|
|
|
285127 |
* Mon Nov 07 2005 Peter Vrabec <pvrabec@redhat.com> 3.7.2-11
|
|
|
285127 |
- man description for "nodateext" option (#171577)
|
|
|
285127 |
- remove not working "pattern" option (#171577)
|
|
|
285127 |
|
|
|
285127 |
* Tue Oct 25 2005 Peter Vrabec <pvrabec@redhat.com> 3.7.2-10
|
|
|
285127 |
- some more clean up (#171587)
|
|
|
285127 |
|
|
|
285127 |
* Thu Oct 20 2005 Peter Vrabec <pvrabec@redhat.com> 3.7.2-9
|
|
|
285127 |
- fix_free_segfaults (#171093)
|
|
|
285127 |
|
|
|
285127 |
* Tue Oct 18 2005 Peter Vrabec <pvrabec@redhat.com> 3.7.2-8
|
|
|
285127 |
- fix leaks of tabooExts
|
|
|
285127 |
|
|
|
285127 |
* Sat Oct 15 2005 Peter Vrabec <pvrabec@redhat.com> 3.7.2-7
|
|
|
285127 |
- fix_free_segfaults (#170904)
|
|
|
285127 |
|
|
|
285127 |
* Wed Oct 12 2005 Peter Vrabec <pvrabec@redhat.com> 3.7.2-6
|
|
|
285127 |
- code clean up (#169885)
|
|
|
285127 |
|
|
|
285127 |
* Mon Oct 10 2005 Peter Vrabec <pvrabec@redhat.com> 3.7.2-5
|
|
|
285127 |
- fix bug introduced in logrotate 3.7.2-3(#169858)
|
|
|
285127 |
- fix some memory leaks (#169888)
|
|
|
285127 |
|
|
|
285127 |
* Fri Sep 23 2005 Peter Vrabec <pvrabec@redhat.com> 3.7.2-4
|
|
|
285127 |
- do not run compression program in debug mode (#166912)
|
|
|
285127 |
|
|
|
285127 |
* Wed Sep 07 2005 Peter Vrabec <pvrabec@redhat.com> 3.7.2-3
|
|
|
285127 |
- even when sharedscript option used, do postrotate
|
|
|
285127 |
script before compress (#167575)
|
|
|
285127 |
|
|
|
285127 |
* Wed Aug 17 2005 Peter Vrabec <pvrabec@redhat.com> 3.7.2-2
|
|
|
285127 |
- allow yearly rotations(#134612)
|
|
|
285127 |
|
|
|
285127 |
* Mon Aug 01 2005 Peter Vrabec <pvrabec@redhat.com> 3.7.2-1
|
|
|
285127 |
- new upstream release
|
|
|
285127 |
|
|
|
285127 |
* Tue Jul 26 2005 Peter Vrabec <pvrabec@redhat.com> 3.7.1-14
|
|
|
285127 |
- fix some "error running script" messages
|
|
|
285127 |
|
|
|
285127 |
* Tue Jul 26 2005 Peter Vrabec <pvrabec@redhat.com> 3.7.1-13
|
|
|
285127 |
- fix man page (#163458,#163366)
|
|
|
285127 |
|
|
|
285127 |
* Wed Jun 22 2005 Peter Vrabec <pvrabec@redhat.com> 3.7.1-12
|
|
|
285127 |
- enhance logrotate with "dateext", "maxage"
|
|
|
285127 |
|
|
|
285127 |
* Thu Mar 31 2005 Dan Walsh <dwalsh@redhat.com> 3.7.1-10
|
|
|
285127 |
- use security_getenforce() instead of selinux_getenforcemode
|
|
|
285127 |
|
|
|
285127 |
* Thu Mar 17 2005 Dan Walsh <dwalsh@redhat.com> 3.7.1-9
|
|
|
285127 |
- Add selinux_getenforce() calls to work when not in enforcing mode
|
|
|
285127 |
|
|
|
285127 |
* Thu Mar 17 2005 Peter Vrabec <pvrabec@redhat.com> 3.7.1-8
|
|
|
285127 |
- rebuild
|
|
|
285127 |
|
|
|
285127 |
* Tue Feb 22 2005 Peter Vrabec <pvrabec@redhat.com>
|
|
|
285127 |
- do not use tmpfile to run script anymore (#149270)
|
|
|
285127 |
|
|
|
285127 |
* Fri Feb 18 2005 Peter Vrabec <pvrabec@redhat.com>
|
|
|
285127 |
- remove logrotate-3.7.1-share.patch, it doesn't solve (#140353)
|
|
|
285127 |
|
|
|
285127 |
* Mon Dec 13 2004 Peter Vrabec <pvrabec@redhat.com> - 3.7.1-5
|
|
|
285127 |
- Add section to logrotate.conf for "/var/log/btmp" (#117844)
|
|
|
285127 |
|
|
|
285127 |
* Mon Dec 13 2004 Peter Vrabec <pvrabec@redhat.com> - 3.7.1-4
|
|
|
285127 |
- Typo and missing information in man page (#139346)
|
|
|
285127 |
|
|
|
285127 |
* Mon Dec 06 2004 Peter Vrabec <pvrabec@redhat.com> - 3.7.1-3
|
|
|
285127 |
- compressed logfiles and logrotate (#140353)
|
|
|
285127 |
|
|
|
285127 |
* Tue Oct 19 2004 Miloslav Trmac <mitr@redhat.com> - 3.7.1-2
|
|
|
285127 |
- Fix sending mails (#131583)
|
|
|
285127 |
- Preserve file attributes when compressing files (#121523, original patch by
|
|
|
285127 |
Daniel Himler)
|
|
|
285127 |
|
|
|
285127 |
* Fri Jul 16 2004 Elliot Lee <sopwith@redhat.com> 3.7.1-1
|
|
|
285127 |
- Fix #126490 typo
|
|
|
285127 |
|
|
|
285127 |
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
285127 |
- rebuilt
|
|
|
285127 |
|
|
|
285127 |
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
285127 |
- rebuilt
|
|
|
285127 |
|
|
|
285127 |
* Mon Jan 26 2004 Dan Walsh <dwalsh@redhat.com> 3.6.10-4
|
|
|
285127 |
- fix is_selinux_enabled call
|
|
|
285127 |
|
|
|
285127 |
* Fri Sep 5 2003 Dan Walsh <dwalsh@redhat.com> 3.6.10-3
|
|
|
285127 |
- Turn off selinux
|
|
|
285127 |
|
|
|
285127 |
* Fri Sep 5 2003 Dan Walsh <dwalsh@redhat.com> 3.6.10-2.sel
|
|
|
285127 |
- Turn on selinux
|
|
|
285127 |
|
|
|
285127 |
* Wed Aug 06 2003 Erik Troan <ewt@redhat.com>
|
|
|
285127 |
- always use compressext for the extension for compressed
|
|
|
285127 |
files; before compresscmd and compressext had to agree
|
|
|
285127 |
- moved all compression to one code block
|
|
|
285127 |
- compression, scripts don't use system() anymore
|
|
|
285127 |
- compress and maillast didn't work together properly
|
|
|
285127 |
- delaycompress and mailfirst didn't work properly
|
|
|
285127 |
- don't use system() for mailing (or uncompressing) logs anymore
|
|
|
285127 |
- use "-s" for speciying the subjected of mailed logs
|
|
|
285127 |
|
|
|
285127 |
* Thu Jul 24 2003 Elliot Lee <sopwith@redhat.com> 3.6.10-1
|
|
|
285127 |
- Fix #100546, change selinux port.
|
|
|
285127 |
|
|
|
285127 |
* Wed Jul 18 2003 Dan Walsh <dwalsh@redhat.com> 3.6.9-2
|
|
|
285127 |
- Port to SELinux 2.5
|
|
|
285127 |
|
|
|
285127 |
* Wed Jul 09 2003 Elliot Lee <sopwith@redhat.com> 3.6.9-1
|
|
|
285127 |
- Fix #90229, #90274, #89458, #91408
|
|
|
285127 |
|
|
|
285127 |
* Mon Jan 20 2003 Elliot Lee <sopwith@redhat.com> 3.6.8-1
|
|
|
285127 |
- Old patch from pm@debian.org
|
|
|
285127 |
|
|
|
285127 |
* Tue Jan 14 2003 Elliot Lee <sopwith@redhat.com> 3.6.7-1
|
|
|
285127 |
- Fixes from bugzilla
|
|
|
285127 |
|
|
|
285127 |
* Fri Nov 15 2002 Elliot Lee <sopwith@redhat.com> 3.6.6-1
|
|
|
285127 |
- Commit patch from Fidelis Assis <fidelis@embratel.net.br>
|
|
|
285127 |
|
|
|
285127 |
* Thu Jun 20 2002 Elliot Lee <sopwith@redhat.com> 3.6.5-1
|
|
|
285127 |
- Commit fix for #65299
|
|
|
285127 |
|
|
|
285127 |
* Mon Apr 15 2002 Elliot Lee <sopwith@redhat.com> 3.6.4-1
|
|
|
285127 |
- Commit fix for #62560
|
|
|
285127 |
|
|
|
285127 |
* Wed Mar 13 2002 Elliot Lee <sopwith@redhat.com> 3.6.3-1
|
|
|
285127 |
- Apply various bugfix patches from the openwall people
|
|
|
285127 |
|
|
|
285127 |
* Tue Jan 29 2002 Elliot Lee <sopwith@redhat.com> 3.6.2-1
|
|
|
285127 |
- Fix bug #55809 (include logrotate.status in "files")
|
|
|
285127 |
- Fix bug #58328 (incorrect error detection when reading state file)
|
|
|
285127 |
- Allow 'G' size specifier from bug #57242
|
|
|
285127 |
|
|
|
285127 |
* Mon Dec 10 2001 Preston Brown <pbrown@redhat.com>
|
|
|
285127 |
- noreplace config file
|
|
|
285127 |
|
|
|
285127 |
* Wed Nov 28 2001 Preston Brown <pbrown@redhat.com> 3.6-1
|
|
|
285127 |
- patch from Alexander Kourakos <awk@awks.org> to stop the shared
|
|
|
285127 |
postrotate/prerotate scripts from running if none of the log(s) need
|
|
|
285127 |
rotating. All log files are now checked for rotation in one batch,
|
|
|
285127 |
rather than sequentially.
|
|
|
285127 |
- more fixes from Paul Martin <pm@debian.org>
|
|
|
285127 |
|
|
|
285127 |
* Thu Nov 8 2001 Preston Brown <pbrown@redhat.com> 3.5.10-1
|
|
|
285127 |
- fix from paul martin <pm@debian.org> for zero-length state files
|
|
|
285127 |
|
|
|
285127 |
* Tue Sep 4 2001 Preston Brown <pbrown@redhat.com>
|
|
|
285127 |
- fix segfault when logfile is in current directory.
|
|
|
285127 |
|
|
|
285127 |
* Tue Aug 21 2001 Preston Brown <pbrown@redhat.com>
|
|
|
285127 |
- fix URL for source location
|
|
|
285127 |
|
|
|
285127 |
* Thu Aug 2 2001 Preston Brown <pbrown@redhat.com>
|
|
|
285127 |
- man page cleanups, check for negative rotation counts
|
|
|
285127 |
|
|
|
285127 |
* Mon Jul 2 2001 Preston Brown <pbrown@redhat.com>
|
|
|
285127 |
- more minor manpage updates (#45625)
|
|
|
285127 |
|
|
|
285127 |
* Thu Jun 21 2001 Preston Brown <pbrown@redhat.com> 3.5.6-1
|
|
|
285127 |
- enable LFS support (debian bug #100810)
|
|
|
285127 |
- quote filenames for running compress commands or pre/postrotate cmds (#21348)
|
|
|
285127 |
- deprecate "errors" directive (see bug #16544 for explanation)
|
|
|
285127 |
- update man page
|
|
|
285127 |
- configurable compression command by Colm Buckley <colm@tuatha.org>
|
|
|
285127 |
|
|
|
285127 |
* Fri Jun 1 2001 Preston Brown <pbrown@redhat.com> 3.5.5-1
|
|
|
285127 |
- be less strict about whitespace near filenames. Patch from Paul Martin <pm@debian.org>.
|
|
|
285127 |
|
|
|
285127 |
* Thu Jan 4 2001 Bill Nottingham <notting@redhat.com>
|
|
|
285127 |
- %%defattr
|
|
|
285127 |
|
|
|
285127 |
* Wed Jan 03 2001 Preston Brown <pbrown@redhat.com>
|
|
|
285127 |
- see CHANGES
|
|
|
285127 |
|
|
|
285127 |
* Tue Aug 15 2000 Erik Troan <ewt@redhat.com>
|
|
|
285127 |
- see CHANGES
|
|
|
285127 |
|
|
|
285127 |
* Sun Jul 23 2000 Erik Troan <ewt@redhat.com>
|
|
|
285127 |
- see CHANGES
|
|
|
285127 |
|
|
|
285127 |
* Tue Jul 11 2000 Erik Troan <ewt@redhat.com>
|
|
|
285127 |
- support spaces in filenames
|
|
|
285127 |
- added sharedscripts
|
|
|
285127 |
|
|
|
285127 |
* Sun Jun 18 2000 Matt Wilson <msw@redhat.com>
|
|
|
285127 |
- use %%{_mandir} for man pages
|
|
|
285127 |
|
|
|
285127 |
* Thu Feb 24 2000 Erik Troan <ewt@redhat.com>
|
|
|
285127 |
- don't rotate lastlog
|
|
|
285127 |
|
|
|
285127 |
* Thu Feb 03 2000 Erik Troan <ewt@redhat.com>
|
|
|
285127 |
- gzipped manpages
|