Summary: | logrotate man page is not correct | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | edoceo <code> |
Component: | [OLD] Unspecified | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED FIXED | ||
Severity: | trivial | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
edoceo
2004-12-08 14:44:08 UTC
attach a patch for the man page. ;-) One line of sed command fixed that :) Just looked at the debian sources for logrotate, latest version. The source with the manual states /var/lib/logrotate/status, but the code looks like: linux-00 logrotate-3.7-r1 # grep '/var/lib' * config.h: #define STATEFILE "/var/lib/logrotate.status" logrotate.8:log files. The default state file is \fI/var/lib/logrotate/status\fR. logrotate.8:\fI/var/lib/logrotate/status\fR logrotate.spec:mkdir -p $RPM_BUILD_ROOT/var/lib logrotate.spec:touch $RPM_BUILD_ROOT/var/lib/logrotate.status logrotate.spec:%attr(0644, root, root) %verify(not size md5 mtime) %config(noreplace) /var/lib/logrotate.status So the man page patch was the way to go. |