[Bug 279623] net-mgmt/netdisco: env: perl: No such file or directory on FreeBSD 14.1

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 10 Jun 2024 10:06:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279623

            Bug ID: 279623
           Summary: net-mgmt/netdisco: env: perl: No such file or
                    directory on FreeBSD 14.1
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: einar@isnic.is
                CC: dgeo@centrale-med.fr
             Flags: maintainer-feedback?(dgeo@centrale-med.fr)
                CC: dgeo@centrale-med.fr

I deployed a new host to run netdisco, on 14.1-RELEASE, but when I tried to
start netdisco with `service netdisco start` I got this error:

env: perl: No such file or directory

I still had my old 13.2-RELEASE host, and after some time found the problem was
that the root user on the old host had /bin/csh as login shell, while 14.1
defaults to /bin/sh.

I can fix it for me by setting the root users login shell to csh, but we need
to fix the rc script for netdisco to work out of the box on 14

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