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

Bug 500174

Summary: mail-filter/postgrey patch for race-condition in init-script
Product: Gentoo Linux Reporter: Lutz Schildt <ls>
Component: [OLD] ServerAssignee: Stefan G. Weichinger <lists>
Status: RESOLVED FIXED    
Severity: normal CC: hasufell, mgorny, net-mail+disabled, proxy-maint, qnikst
Priority: Normal Keywords: PATCH, STABLE
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=369159
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 519232    
Bug Blocks:    
Attachments: fix race-condition in init-script

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 <hasufell@gentoo.org> +postgrey-1.34-r3.ebuild,
+  +postgrey-1.35-r1.ebuild, +files/postgrey-1.34-perl-5.18.patch,
+  +files/postgrey-1.34-r3.rc.new:
+  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