Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45142 - postfix upgrade removes "hold" directory
Summary: postfix upgrade removes "hold" directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Max Kalika (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-19 11:06 UTC by Norberto Bensa
Modified: 2004-03-22 13:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Norberto Bensa 2004-03-19 11:06:07 UTC
Well, I've been having this problem since ages. Everytime I upgrade postfix, /var/spool/postfix/hold is removed and postfix doesn't start anymore. I need to mkdir the directory manually. 

I've took a look to /etc/postfix/post-install, but it seems that it doesn't create "hold" on its own.

I've tried "touch /var/spool/postfix/hold/.keep" but then postfix complains about a "bogus file name: hold/.keep"

Am I the only one having this problem?

Reproducible: Always
Steps to Reproduce:
1. emerge postfix
Actual Results:  
/var/spool/postfix/hold removed, postfix doesn't start. 

Expected Results:  
keep /var/spool/postfix/hold. Postfix happy :-)
Comment 1 Norberto Bensa 2004-03-19 11:09:54 UTC
Oh... There was a fix but only for postfix 1.x. I'm using 2.0.19-r2.

*postfix-1.1.11.20020917 (19 Sep 2002)

  23 Sep 2002; Nick Hadaway <raker@gentoo.org>
  postfix-1.1.11.20020917.ebuild :
  Added /var/spool/postfix/hold directory to install.  This seems to fix
  some postfix start problems.

Comment 2 Max Kalika (RETIRED) gentoo-dev 2004-03-22 13:34:59 UTC
Fixed in versions 2.0.19, -r1 and -r2. To be sure this doesn't happen on next upgrade, re-emerge postfix now.