OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: [patch] "post-install" has forgotten to read data_directory value.

From: Victor Duchovni (Victor.DuchovniMorganStanley.com)
Date: Fri Jan 25 2008 - 09:51:48 CST


On Fri, Jan 25, 2008 at 01:19:13PM +0900, YOSHIMURA Keitaro wrote:

> I was found a bug.
> "post-install" has forgotten to read data_directory value.
>
> The value of data_directory fails in chown because of emptiness in
> starting the change of post-install of the owner of data_directory.
> Then, processing of post-install stops because of that.

How are using "post-install". It is not supposed to be invoked directly.
Its value is placed in the environment by the postfix(1) driver. The
supported commands are:

        postfix set-permissions
        postfix upgrade-package
        ...

    not
            post-install set-permissions
        ...

post-install should arguably still read the main.cf file, but this should
not be necessary.

--
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomopostfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.