Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 559572 - app-admin/logrotate: misses large file support
Summary: app-admin/logrotate: misses large file support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lfs-tracker
  Show dependency tree
 
Reported: 2015-09-04 07:18 UTC by Tomasz Chilinski
Modified: 2015-09-12 03:41 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
added AC_SYS_LARGEFILE check in configure.ac (logrotate-3.9.1-configure-largefile-support.patch,291 bytes, patch)
2015-09-04 07:18 UTC, Tomasz Chilinski
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tomasz Chilinski 2015-09-04 07:18:14 UTC
Created attachment 410972 [details, diff]
added AC_SYS_LARGEFILE check in configure.ac

Logrotate source package misses large file support so it is impossible to rotate files larger than 2 GiB. Attached patch modifies configure.ac from source package to allow configure script detect _FILE_OFFSET_BITS definition and add related compilation flags to Makefile.
Comment 1 Maxim Britov 2015-09-07 08:48:53 UTC
error: stat of /var/log/squid/access.log failed: Value too large for defined data type


Thanks for patch. logrotate works for me now.