Date: Wed, 29 Oct 2014 08:50:07 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 194678] New: mail/policyd2 startup script throws warning Message-ID: <bug-194678-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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@FreeBSD.org Reporter: reinier@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-194678-13>