Bug 483186 - Please add hook to /etc/init.d/postfix for optional chroot support
Please add hook to /etc/init.d/postfix for optional chroot support
Product: Fedora
Classification: Fedora
Component: postfix (Show other bugs)
All Linux
low Severity medium
: ---
: ---
Assigned To: Miroslav Lichvar
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2009-01-29 22:42 EST by Dax Kelson
Modified: 2009-05-26 09:03 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-05-26 09:03:00 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

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

  None (edit)
Description Dax Kelson 2009-01-29 22:42:51 EST
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 09:03:00 EDT
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.


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