Adding this configuration file with more-or-less neutral configuration is considered a good way how to address this. In addition, if such file is marked as %config(noreplace) in the spec file, it can be safely modified by the administrator to serve his/her needs of log files management. Original rpmlint warning: luci.x86_64: W: log-files-without-logrotate /var/log/luci This package contains files in /var/log/ without adding logrotate configuration for them. Note: the lack of this file has been fixed in the context of work on pkg-update upstream branch which means the fix ties closely to the major change brought from this branch into main-line upstream code in connection with bug #660446
This should be fixed in http://git.fedorahosted.org/git/?p=luci.git;a=commit;h=4cd87d58ea6268cbfac7a9cf1cd11743d560a411 (As in bug #660446 case, note that this is only a single step amongst others in merging with pkg-update branch which contains more changes related to luci packaging, external files etc. and the rest of these changes will be filed as separated subsequent bugs and commited as separated subsequent patches.)
Correction: this should be fixed as of http://git.fedorahosted.org/git/?p=luci.git;a=commitdiff;h=5c85bd0c4eaf32f8f8f3633e9a9b07dacc41116a (one change was forgotten in the previous commit).
To test this, basically this sequence (made after installation) will serve its purpose: # ls -l /etc/logrotate.d/luci -rw-r--r--. 1 root root 164 Dec 7 21:08 /etc/logrotate.d/luci # rpm -qf /etc/logrotate.d/luci luci-* # cat /etc/logrotate.d/luci /var/log/luci/luci.log { missingok notifempty create postrotate /sbin/service luci condrestart 2>/dev/null >/dev/null || : endscript } And to be sure, a check that respective log file is being used by luci: # service luci start # cat /var/log/luci/luci.log /usr/lib/python2.6/site-packages/tw/core/view.py:223: DeprecationWarning: object.__new__() takes no parameters obj = object.__new__(cls, *args, **kw) Starting server in PID 7591. serving on 0.0.0.0:8084 view at https://127.0.0.1:8084