registry team mailing list archive
-
registry team
-
Mailing list archive
-
Message #24536
[Bug 662312] [NEW] Cannot handle spaces in compressoptions
Public bug reported:
Binary package hint: logrotate
I set these options in /etc/logrotate.conf:
compress
compresscmd /usr/bin/xz
uncompresscmd /usr/bin/unxz
compressoptions -7 -e -T 1
compressext xz
Compression fails with:
/etc/cron.daily/logrotate:
error: /etc/logrotate.conf:23 bad compressoptions path -7 -e -T 1
run-parts: /etc/cron.daily/logrotate exited with return code 1
logrotate fails if the compressoptions setting has any spaces. This is
also upstream Debian bug #159797 <http://bugs.debian.org/cgi-
bin/bugreport.cgi?bug=159797> -- reported in 2002!
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.
** Affects: logrotate (Ubuntu)
Importance: Undecided
Status: New
** Affects: logrotate (Debian)
Importance: Unknown
Status: Unknown
** Bug watch added: Debian Bug tracker #159797
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=159797
** Also affects: logrotate (Debian) via
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=159797
Importance: Unknown
Status: Unknown
--
Cannot handle spaces in compressoptions
https://bugs.launchpad.net/bugs/662312
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for Debian.
Follow ups
References