Bug #315

logrotate does not create logrotate.d directory

Added by aa latchm almost 2 years ago. Updated almost 2 years ago.

Status:Closed Start date:03/09/2010
Priority:Normal Due date:
Assignee:Natanael Copa % Done:

100%

Category:Aports
Target version:Alpine 1.10.1 Estimated time:0.15 hour

Description

Tested on alpine-1.10.0.

On fresh install of logrotate, it does not create logrotate.d, which is expected by default in the stock /etc/logrotate.conf. Thus the following error occurs when trying to run logrotate:

# /usr/sbin/logrotate /etc/logrotate.conf 
error: cannot stat /etc/logrotate.d: No such file or directory

Note: this error will not be seen if another package has been installed which includes /etc/logrotate.d/* files, such as mini_httpd

Associated revisions

Revision a3041b9c
Added by Natanael Copa almost 2 years ago

main/logrotate: include the /etc/logrotate.d dir

fixes #315

Revision 138eb646
Added by Natanael Copa almost 2 years ago

main/logrotate: include the /etc/logrotate.d dir

fixes #315
(cherry picked from commit a3041b9cb7ed70bb5894ef4d909d7bd7781fa691)

History

Updated by Natanael Copa almost 2 years ago

  • Target version changed from Alpine 1.10.0 to Alpine 1.10.1

Updated by Natanael Copa almost 2 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Updated by Natanael Copa almost 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF