Summary: | mail/postfix: post-install script not found when installed with 'pkg -r <rootdir>' | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Siva Mahadevan <me> | ||||
Component: | Individual Port(s) | Assignee: | Juraj Lutter <otis> | ||||
Status: | In Progress --- | ||||||
Severity: | Affects Only Me | CC: | me | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(otis) |
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Siva Mahadevan
2024-06-27 16:39:54 UTC
Thanks for the report. I will need to test this scenario and come up with a fix. (In reply to Juraj Lutter from comment #1) A very quick way to reproduce this is: 1) bsdinstall jail testjail 2) pkg -r $PWD/testjail install postfix Observe the above error message and the permissions of the /var/spool/postfix folder inside the jail directory Created attachment 251751 [details] [PATCH] mail/postfix: fix pkg -r installation This fixes the issue and other related dormant issues/style fixups. This patch follows the upstream post-install guidelines found here https://www.postfix.org/PACKAGE_README.html (see section "Installing a pre-built Postfix package"). Any updates on reviewing my patch? |