Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 92994

Summary: Amavisd-new - gentoo patch for conf puts in wrong quarantine dir and causes startup errors
Product: Gentoo Linux Reporter: Ed Wildgoose <gentoo>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ed Wildgoose 2005-05-17 15:54:19 UTC
After pulling my hair out for a bit after an upgrade to amavisd-new 2.3.1 I
realised that the conf files patch causes a very subtle problem

See here from the ebuild patch:

-$QUARANTINEDIR = '/var/virusmails';
+$QUARANTINEDIR = '$MYHOME/quarantine';

The second line should have double quotes or else the $MYHOME is not expanded! 
This leads to errors in the log files about being "unable to write to dir
$MYHOME/quarantine" - took me a while to realise why!!

Anyway, please can someone change the single quotes for double quotes ASAP,
perhaps it will save someone else some hair pulling!

Thanks

Reproducible: Always
Steps to Reproduce:
/etc/init.d/amavis restart
Actual Results:  
Fails to restart...
Comment 1 Tuan Van (RETIRED) gentoo-dev 2005-05-17 16:05:38 UTC

*** This bug has been marked as a duplicate of 92954 ***