logrotate does not create logrotate.d directory
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
(from redmine: issue id 315, created on 2010-03-09, closed on 2010-03-12)
- Changesets:
- Revision a3041b9c on 2010-03-10T19:39:01Z:
main/logrotate: include the /etc/logrotate.d dir
fixes #315
- Revision 138eb646 on 2010-03-10T19:39:56Z:
main/logrotate: include the /etc/logrotate.d dir
fixes #315
(cherry picked from commit a3041b9cb7ed70bb5894ef4d909d7bd7781fa691)