From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jun 16 18:08:38 2015 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5B7EADAB for ; Tue, 16 Jun 2015 18:08:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3DB33910 for ; Tue, 16 Jun 2015 18:08:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5GI8cZO055632 for ; Tue, 16 Jun 2015 18:08:38 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 200918] sysutils/bacula-server Date: Tue, 16 Jun 2015 18:08:38 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dweimer@dweimer.net X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: dvl@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jun 2015 18:08:38 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200918 Bug ID: 200918 Summary: sysutils/bacula-server Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: dvl@FreeBSD.org Reporter: dweimer@dweimer.net Flags: maintainer-feedback?(dvl@FreeBSD.org) Assignee: dvl@FreeBSD.org Bacula appears to be running under an environment that has only /bin,/sbin,/usr/bin,/usr/sbin in its PATH environment variable. After the perl 5.20 version update this breaks the following default script. /usr/local/share/bacula/make_catalog_backup.pl The first line is #!/usr/bin/env perl After the perl 5.20 update the symlink /usr/bin/perl is removed, ideally the service should be running with the correct environment to include /usr/local/bin and /usr/local/sbin in the path. tested by creating a script with the single line. env Called it from an admin job scheduled to run the test script, and received the following output from the admin job, as the PATH variable in the environment. PATH=/sbin:/bin:/usr/sbin:/usr/bin Can be worked around by changing the scripts first line to #!/usr/local/bin/perl 20150513: AFFECTS: users of lang/perl5* AUTHOR: mat@FreeBSD.org The default Perl version has been switched to Perl 5.20. If you are using binary packages to upgrade your system, you do not have anything to do, pkg upgrade will do the right thing. For the other people, assuming you are migrating from 5.18 to 5.20, do: Portupgrade users: portupgrade -o lang/perl5.20 -f lang/perl5.18 portupgrade -f `pkg shlib -R libperl.so.5.18|tail +2` Portmaster users: portmaster -o lang/perl5.20 lang/perl5.18 portmaster -f `pkg shlib -R libperl.so.5.18|tail +2` NOTE: Perl has been removed from base more than ten years ago, so it was way past time for the /usr/bin/perl symlink to be removed from the port. If for some strange reason, you still need it, you will have to create it manually. IMPORTANT: In case you have not updated your system in a while, and specifically, followed the 20141126 instructions regarding the new Perl layout, you should follow those more extensive instructions rather than the conservative presented here. -- You are receiving this mail because: You are the assignee for the bug.