Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 544248 - mail-mta/postfix-3.0.0: stabilization request
Summary: mail-mta/postfix-3.0.0: stabilization request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Keywording and Stabilization (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2015-03-23 16:14 UTC by Eray Aslan
Modified: 2015-04-14 10:58 UTC (History)
1 user (show)

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 Eray Aslan gentoo-dev 2015-03-23 16:14:27 UTC
Arches, please test and mark stable =mail-mta/postfix-3.0.0.  Thank you.

TARGET KEYWORDS ="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86"
Comment 1 Agostino Sarubbo gentoo-dev 2015-03-24 17:44:38 UTC
amd64 stable
Comment 2 Agostino Sarubbo gentoo-dev 2015-03-25 14:02:19 UTC
x86 stable
Comment 3 Agostino Sarubbo gentoo-dev 2015-03-28 21:37:04 UTC
ppc stable
Comment 4 Joe M 2015-03-30 23:33:42 UTC
Hello,

This is not stable on amd64. With a root only file system, it breaks with this issue:

Mar 30 19:26:19 master postfix/postfix-script[23643]: fatal: unable to create missing queue directories
Mar 30 19:26:19 master postfix/postfix-script[23644]: fatal: Postfix integrity check failed!

When I brought this up on #postfix, I was told that the post-install script is deprecated and unused anymore.


<joe9>  I am trying to debug this shell script:  http://codepad.org/EqVgLoUj . But, for some reason, I cannot see the output of the echo commands that I added in Line 481. Any
       suggestions on how to write output so I can see it.  [18:00]
<rob0> joe9, what is the goal of this script?
<joe9> rob0: I am trying to figure out why postfix does not start with a read-only root filesystem (/var is writable). This started happening from v 3.0  [18:10]
<joe9> just want to check if anyone had noticed this issue.
<Patrickdk> that depends on what you set for all your paths  [18:14]
<pj> which patch is under /var?
<pj> *path
<pj> oh, /var/spool  [18:15]
<Patrickdk> for me, I need atleast /var/lib/postfix and /var/spool/postfix
<pj> yeah, also /var/lib/postfix  [18:16]
<pj>  /var/spool/postfix at least to me makes sense that it needs to be writable  [18:17]
<Patrickdk> atleast for postscreen and stuff to work
<pj> yep
<pj> well, all the queues are under /var/spool/postfix
<pj> certainly postfix needs to be able to write to its queues  [18:18]
<joe9> ok, thanks. my queues are under /var/spool/postfix too
<joe9>  and it is writable and owned by postfix.
<joe9> I think it is something else.
<joe9> I am debugging this script . I will keep you posted when I have something more.
<rob0> Anyway 2> redirects stderr, 1> redirects stdout  [18:21]
<Patrickdk> 3> does?
<pj> joe9: you do reqalize that post-install is deprecated, right?
<rob0> redirects FD #3, whatever you have assigned to 3
<pj> you should be using make install
<Patrickdk> never used post-install before  [18:22]
<pj> that's the wscript that he pasted, he's trying to use post-install
<Patrickdk> taht script he is using edned at 2.9? maybe 2.10  [18:23]
<Patrickdk> doesn't seem to have 2.11 or 3.0 support  [18:24]
<Patrickdk> lets guess, he now has a mixture of postfix versions installed, and didn't follow the 3.0 upgrade readme
<pj> it's in 3.0 still, but it's been deprecated.  docs say to use make install or one of the make install variants.  [18:25]
<rob0> joe9, how did you do the upgrade?
<rob0> oh, I bet the problem is the read-only /etc
<joe9> rob0: I use gentoo and it did the upgrade with the portage package manager  [18:26]
<pj> regardless he should be using make upgrade for an upgrade or make install otherwise
<rob0> You can, of course, define a different config_directory at compile time.
<pj> ahhh, probably portage is outdated.
<joe9> Patrickdk: oh, good point. Thank you so much. It probably has to do with portage and postfix  [18:27]
<joe9> Patrickdk: It only happens when I start postfix using the runscript script to start postfix.  [18:28]
<pj> joe9: I would drop an email to the portage maintainer for postfix (or file a bug) and let him know that it should be using make install now.
<pj> or make upgrade
<joe9> ok, thanks. folks. It is probable that this script is geared towards the old postfix  http://codepad.org/jH1N2nKt  [18:29]
<joe9> This is how postfix is started by runscript
<pj> ahhh, that looks fine to me at a glance  [18:30]
<joe9> pj, yes, that looks fine. let me see what "postfix ..start" does.
<joe9> fyi, this is the portage install log:  http://lpaste.net/129895  [18:52]
<pj> interesting, the install log doesn't actually say what commands are being run.  [18:54]
<joe9> http://lpaste.net/129896  [18:56]
<joe9> Patrickdk: pj: Is there any way that I can find the 3.0 upgrade readme online?  [19:03]
<pj> not sure about online, it's in the postfix source, though  [19:04]
<pj> wel, there's no UPGRADE doc, but there is INSTALL which covers upgrading  [19:06]
<pj> here ya go: http://www.postfix.org/INSTALL.html  [19:07]

Thanks
Joe
Comment 5 Joe M 2015-03-31 04:19:33 UTC
Please ignore the above comment. It is an upstream bug caused by a read-only config directory.

Sorry for the confusion.
Comment 6 Agostino Sarubbo gentoo-dev 2015-03-31 07:50:47 UTC
ppc64 stable
Comment 7 Agostino Sarubbo gentoo-dev 2015-04-01 08:29:48 UTC
sparc stable
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2015-04-02 04:19:42 UTC
Stable for HPPA.
Comment 9 Markus Meier gentoo-dev 2015-04-09 20:54:23 UTC
arm stable
Comment 10 Agostino Sarubbo gentoo-dev 2015-04-13 08:37:38 UTC
alpha stable
Comment 11 Agostino Sarubbo gentoo-dev 2015-04-14 10:58:17 UTC
ia64 stable. Closing.