Bug 437100
| Summary: | rt3 unable to log into /var/log/rt3/rt.log | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Xavier Bachelot <xavier> |
| Component: | rt3 | Assignee: | Ralf Corsepius <rc040203> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | rawhide | CC: | k.georgiou |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2008-04-10 17:08:54 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Xavier Bachelot
2008-03-12 13:31:50 UTC
On a related matter, no logrotate conf is shipped.
Something like that should do :
/var/log/rt3/rt.log {
compress
missingok
notifempty
rotate 5
size 100k
}
rt3-3.6.5-2.fc8 has been submitted as an update for Fedora 8 rt3-3.6.3-3.fc7 has been submitted as an update for Fedora 7 rt3-3.6.3-3.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update rt3'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F7/FEDORA-2008-2644 There's typo in the commit and thus the logrotate file is created as
rt3.logrotate in a rt3 subdir :
--- rt3.spec.orig 2008-03-26 14:05:39.000000000 +0100
+++ rt3.spec 2008-03-26 14:06:53.000000000 +0100
@@ -210,7 +210,7 @@
install -d -m755 ${RPM_BUILD_ROOT}%{RT3_LOGDIR}
# install log rotation stuff
-mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d/rt3
+mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d
install -m 644 rt3.logrotate ${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d/rt3
install -d -m755 ${RPM_BUILD_ROOT}%{RT3_LOCALSTATEDIR}
What is currently in cvs works for me, thanks. |