Bug 483186 - Please add hook to /etc/init.d/postfix for optional chroot support
Summary: Please add hook to /etc/init.d/postfix for optional chroot support
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: postfix
Version: 9
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Miroslav Lichvar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-01-30 03:42 UTC by Dax Kelson
Modified: 2009-05-26 13:03 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-05-26 13:03:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patch to add chroot hook to /etc/init.d/postfix (1.05 KB, patch)
2009-01-30 03:42 UTC, Dax Kelson
no flags Details | Diff

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.


Note You need to log in before you can comment on or make changes to this bug.