Hide Forgot
Description of problem:/etc/logrotate.d/yum is empty, so logrotate command gives a bus error. Version-Release number of selected component (if applicable):3.2.28-5.fc14.noarch How reproducible:run "logrotate /etc/logrotate.conf" (e.g. as a daily cron job) Steps to Reproduce: 1. 2. 3. Actual result: Erreur du bus (core dumped) Expected results:no error Additional info: I copied the file from an old backup
That file isn't zero length: % cat /etc/logrotate.d/yum /var/log/yum.log { missingok notifempty size 30k yearly create 0600 root root } ...but it's marked as a config. file, so the sysadmin. can change it. Logrotate shouldn't crash on zero length files anyway.
But it does with this report : /etc/cron.daily/logrotate: line 3: 20333 Bus error (core dumped) /usr/sbin/logrotate /etc/logrotate.conf > /dev/null 2>&1 I found the cause running "logrotate -v /etc/logrotate.conf" which crashed after rotating "/var/log/wpa_supplicant.log".