Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14353 - sysklogd ebuild does not compile in support for largefiles
Summary: sysklogd ebuild does not compile in support for largefiles
Status: RESOLVED DUPLICATE of bug 14606
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-22 02:49 UTC by Andrew Johnson
Modified: 2005-07-17 13:06 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Johnson 2003-01-22 02:49:53 UTC
The apps-admin/sysklogd does not seem to force the use of the
"-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" flags during compilation and
therefore the resulting syslog daemon cannot handle largefiles properly. Are we
expecting folks to add this to their CFLAGS or should this be added to the
ebuild? I would think most people would want their syslog daemon to handle files
>2GB, as it is not at all uncommon for log files to get that large.

I have noted that Apache does include these flags... I'm not sure why some
ebuilds include them and some do not.
Comment 1 SpanKY gentoo-dev 2003-01-22 11:35:29 UTC
sometimes largefile support means slower execution time 
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-01-22 11:36:52 UTC
how about using logrotate to solve getting that large files ?
Comment 3 Andrew Johnson 2003-01-25 18:00:48 UTC
Sure, rotating more often is one way to solve the problem. But the thing is,
syslogd crashes when it tries to write to a file over 2GB (at least in my case
it did).

It seems to me that sysklogd should not depend on logrotate in such a way that
it will crash unless logrotate runs on time. This is why I consider this a bug
that needs to be fixed.
Comment 4 Bruce A. Locke (RETIRED) gentoo-dev 2003-01-26 23:19:20 UTC

*** This bug has been marked as a duplicate of 14606 ***