FS#30347 - [logrotate] dayly cron job fails to compress - doesn't find gzip

Attached to Project: Arch Linux
Opened by zless (roentgen) - Monday, 18 June 2012, 21:23 GMT
Last edited by Pierre Schmitz (Pierre) - Monday, 18 June 2012, 22:18 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Pierre Schmitz (Pierre)
Allan McRae (Allan)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Since the gzip upgrade which moved the executable to usr/bin logrotate cannot compress the log files anymore.

Additional info:
logrotate 3.8.1-1
gzip 1.5-1

Output from fcron <systab@linux> /usr/sbin/run-cron /etc/cron.daily

error: failed to compress log /var/log/samba/log.smbd.1
error: failed to compress log /var/log/zm/zma_m1.log.1
This task depends upon

Closed by  Pierre Schmitz (Pierre)
Monday, 18 June 2012, 22:18 GMT
Reason for closing:  Fixed
Comment by Eric Belanger (Snowman) - Monday, 18 June 2012, 21:44 GMT
Allan: maybe other packages are also broken by the move to /usr/bin
Comment by Allan McRae (Allan) - Monday, 18 June 2012, 22:00 GMT
I guess a simple rebuild fixes this... Anything assuming gzip is in /bin is broken.
Comment by Pierre Schmitz (Pierre) - Monday, 18 June 2012, 22:07 GMT
I am patching logrotate. (no, there is no configure script for logrotate)

Loading...