Hi,
you can use attached patch, which allows whitespace in compressoptions.

It's build against 3.7.9, it shouldn't be hard to apply it to later
versions.

-- 
Vita Cizek
Index: logrotate-3.7.9/config.c
===================================================================
--- logrotate-3.7.9.orig/config.c
+++ logrotate-3.7.9/config.c
@@ -101,7 +139,9 @@ static char *readPath(const char *config
 	chptr = start;
 
 	while( (len = mbrtowc(&pwc, chptr, strlen(chptr), NULL)) != 0 ) {
-		if( len == (size_t)(-1) || len == (size_t)(-2) || !iswprint(pwc) || iswblank(pwc) ) {
+		if( len == (size_t)(-1) || len == (size_t)(-2) || !iswprint(pwc) ||
+		    /* allow more compress options separated by whitespace */
+		    ( strcmp(key, "compressoptions") && iswblank(pwc) ) ) {
 		    message(MESS_ERROR, "%s:%d bad %s path %s\n",
 			    configFile, lineNum, key, start);
 		    return NULL;

Attachment: pgpP7b5lcIfy1.pgp
Description: PGP signature

Reply via email to