abrt version: 1.1.18 architecture: x86_64 Attached file: backtrace, 131971 bytes cmdline: /usr/sbin/logrotate /etc/logrotate.conf component: logrotate Attached file: coredump, 438272 bytes crash_function: readConfigFile executable: /usr/sbin/logrotate kernel: 2.6.38.6 package: logrotate-3.7.9-2.fc14 rating: 4 reason: Process /usr/sbin/logrotate was killed by signal 7 (SIGBUS) release: Fedora release 14 (Laughlin) time: 1309292637 uid: 500 comment ----- Evety time cron runs logrotate i recive folowing e-mail: /etc/cron.daily/logrotate: /etc/cron.daily/logrotate: line 3: 7808 Bus error /usr/sbin/logrotate /etc/logrotate.conf > /dev/null 2>&1 How to reproduce ----- 1. just running "/usr/sbin/logrotate /etc/logrotate.conf > /dev/null 2>&1" in cron script
Created attachment 511087 [details] File: backtrace
Hi, sorry for delay, I wasn't online during last week. Can you check what's the size of your config files in /etc/logrotate.d/ directory? Logrotate in F14 has known bug when config file is exactly 4096*N bytes long. It's fixed in F15, but the fix was too complex to be added into F14, but I think I could backport it now.
Hello, here is output of ls $ ls -la celkem 84 drwxr-xr-x. 2 root root 4096 10. čec 13.39 . drwxr-xr-x. 171 root root 12288 11. čec 21.33 .. -rw-r--r--. 1 root root 71 29. čen 11.48 cups -rw-r--r--. 1 root root 188 18. srp 2005 denyhosts -rw-r--r--. 1 root root 147 15. kvě 23.47 exim -rw-r--r--. 1 root root 140 21. pro 2010 glusterfs -rw-r--r--. 1 root root 185 27. říj 2010 httpd -rw-r----- 1 root named 170 6. čec 22.49 named -rw-r--r--. 1 root root 136 16. lis 2010 ppp -rw-r--r--. 1 root root 213 7. dub 15.48 proftpd -rw-r--r--. 1 root root 296 28. čen 2010 psacct -rw-r--r--. 1 root root 106 12. pro 2010 rpmorphan -rw-r--r--. 1 root root 115 1. dub 18.16 samba -rw-r--r--. 1 root root 121 24. čen 20.49 setroubleshoot -rw-r--r--. 1 root root 435 6. kvě 11.49 squid -rw-r--r--. 1 root root 0 2. dub 2010 sssd -rw-r--r--. 1 root root 228 9. zář 2010 syslog -rw-r--r--. 1 root root 403 17. bře 12.33 tor -rw-r--r--. 1 root root 100 13. kvě 2010 wpa_supplicant -rw-r--r--. 1 root root 100 31. kvě 20.36 yum Problem was empty file sssd. After removing it, everything works fine. Thanks for helping me. Petr
Yes, that's also in 4096*N category :). I will try to backport the fix to F14, but it will need some time to test it properly.
logrotate-3.7.9-4.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/logrotate-3.7.9-4.fc14
Package logrotate-3.7.9-4.fc14: * should fix your issue, * was pushed to the Fedora 14 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing logrotate-3.7.9-4.fc14' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/logrotate-3.7.9-4.fc14 then log in and leave karma (feedback).
logrotate-3.7.9-4.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.