Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 500174 - mail-filter/postgrey patch for race-condition in init-script
Summary: mail-filter/postgrey patch for race-condition in init-script
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Stefan G. Weichinger
Depends on: 519232
  Show dependency tree
Reported: 2014-02-03 12:17 UTC by Lutz Schildt
Modified: 2018-02-07 18:15 UTC (History)
5 users (show)

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

fix race-condition in init-script (postgrey.diff,757 bytes, patch)
2014-02-03 12:17 UTC, Lutz Schildt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lutz Schildt 2014-02-03 12:17:08 UTC
Created attachment 369432 [details, diff]
fix race-condition in init-script

There is a race-condition in the init-script of postgrey which may result in the subshell deleting the private/postgrey socket that has just been created by postgrey. Postfix would then not be able to access the socket.
Comment 1 Julian Ospald 2014-08-13 14:10:53 UTC
+*postgrey-1.35-r1 (13 Aug 2014)
+*postgrey-1.34-r3 (13 Aug 2014)
+  13 Aug 2014; Julian Ospald <> +postgrey-1.34-r3.ebuild,
+  +postgrey-1.35-r1.ebuild, +files/postgrey-1.34-perl-5.18.patch,
+  +files/
+  bump 1.34 to eapi=5, fix init script wrt #500174, backport upstream patch for
+  1.34 to work with perl-5.18, fix broken style
Comment 2 Julian Ospald 2014-08-13 14:13:43 UTC
either update to postgrey-1.35-r1 or postgrey-1.34-r3