First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 73843
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux bug wranglers <bug-wranglers@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: edoceo <code@edoceo.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 73843 depends on: Show dependency tree
Bug 73843 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-12-08 14:44 0000
Man page for logrotate says this:
FILES
       /var/lib/logrotate/status  Default state file.
       /etc/logrotate.conf        Configuration options.

But the compiled version of logrotate that comes with gentoo is to use
  /var/lib/logrotate.status

Reproducible: Always
Steps to Reproduce:
1.  emerge logrotate
2.  strings /usr/sbin/logrotate |grep status
3.



Expected Results:  
I think the manual should be corrected, or the ebuild should be corrected

------- Comment #1 From Mr. Bones. 2004-12-08 14:47:31 0000 -------
attach a patch for the man page. ;-)

------- Comment #2 From Sergey Kuleshov (RETIRED) 2004-12-09 09:32:50 0000 -------
One line of sed command fixed that :)

------- Comment #3 From edoceo 2004-12-10 12:12:37 0000 -------
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.

First Last Prev Next    No search results available      Search page      Enter new bug