Cannot handle spaces in compressoptions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
logrotate (Debian) |
Fix Released
|
Unknown
|
|||
logrotate (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: logrotate
I set these options in /etc/logrotate.
compress
compresscmd /usr/bin/xz
uncompresscmd /usr/bin/unxz
compressoptions -7 -e -T 1
compressext xz
Compression fails with:
/etc/
error: /etc/logrotate.
run-parts: /etc/cron.
logrotate fails if the compressoptions setting has any spaces. This is also upstream Debian bug #159797 <http://
Like the original report, this one has a workaround:
compressoptions -7eT1
Eventually someone will need options which cannot be jammed into a single space-free string.
Changed in logrotate (Debian): | |
status: | Unknown → Confirmed |
Changed in logrotate (Debian): | |
status: | Confirmed → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.