Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jun 2024 16:39:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 280019] mail/postfix: post-install script not found when installed with 'pkg -r <rootdir>'
Message-ID:  <bug-280019-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280019

            Bug ID: 280019
           Summary: mail/postfix: post-install script not found when
                    installed with 'pkg -r <rootdir>'
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: otis@FreeBSD.org
          Reporter: me@svmhdvn.name
             Flags: maintainer-feedback?(otis@FreeBSD.org)
          Assignee: otis@FreeBSD.org

When installing postfix with 'pkg -r <rootdir> install', at the extraction
phase, I get the following error:

[1/1] Extracting postfix-3.9.0_1,1: 100%
/bin/sh: cannot open /usr/local/libexec/postfix/post-install: No such file =
or
directory

Presumably, this is because files/pkg-install.in takes the DAEMONDIR from
SUB_LIST and isn't dynamic to the chroot installation DESTDIR.

This is a problem because the post-install script fixes permissions, so wit=
hout
this, the RC script fails to run because the /var/spool/postfix directory is
installed with the wrong permissions.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-280019-7788>