[Bug 194678] New: mail/policyd2 startup script throws warning
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Oct 29 08:50:07 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194678
Bug ID: 194678
Summary: mail/policyd2 startup script throws warning
Product: Ports Tree
Version: Latest
Hardware: Any
OS: Any
Status: Needs Triage
Severity: Affects Many People
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: reinier at skoef.nl
Created attachment 148756
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=148756&action=edit
Patch to fix this
During building the policyd port (at least 2.0.12_2), the shebang of
/usr/local/bin/cbpolicyd is rewritten to the found perl-binary (in my and
probably many cases /usr/local/bin/perl). The rc-script however is statically
set to /usr/bin/perl. While this is a symlink to a copy of the same version of
the perl binary as, rc.subr's _find_processes throws a warning when found
interpreter doesn't match the given $command_interpreter:
/usr/local/etc/rc.d/policyd2: WARNING: $command_interpreter /usr/bin/perl !=
/usr/local/bin/perl
Attached is a proposed fix.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list