Bug 483186

Summary: Please add hook to /etc/init.d/postfix for optional chroot support
Product: [Fedora] Fedora Reporter: Dax Kelson <dkelson>
Component: postfixAssignee: Miroslav Lichvar <mlichvar>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 9CC: mlichvar, twoerner
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-05-26 13:03:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch to add chroot hook to /etc/init.d/postfix none

Description Dax Kelson 2009-01-30 03:42:51 UTC
Created attachment 330428 [details]
Patch to add chroot hook to /etc/init.d/postfix

Description of problem:

Parts of postfix can be chrooted, in particular, smtpd.

When chrooting postfix, it is very nice if the libraries and config files in the chroot can be automatically updated when postfix is started.

Please apply this very simple patch to /etc/init.d/postfix so that sys admin's who do want to chroot postfix can use this hook to do so in a clean way without having to modify the /etc/init.d/postfix script (which can causes .rpmnew files on upgrades).

Comment 1 Miroslav Lichvar 2009-05-26 13:03:00 UTC
Implemented in postfix-2.6.1-1.fc12, in a slightly different way.

If /etc/postfix/chroot-update is an executable, it will be run on start/reload.

Thanks.