From owner-freebsd-ports Thu Mar 15 3:40: 8 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C797837B71A for ; Thu, 15 Mar 2001 03:40:05 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f2FBe5d00639; Thu, 15 Mar 2001 03:40:05 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8BE2637B718 for ; Thu, 15 Mar 2001 03:39:12 -0800 (PST) (envelope-from nobody@FreeBSD.org) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f2FBdCr00492; Thu, 15 Mar 2001 03:39:12 -0800 (PST) (envelope-from nobody) Message-Id: <200103151139.f2FBdCr00492@freefall.freebsd.org> Date: Thu, 15 Mar 2001 03:39:12 -0800 (PST) From: so@i-clue.de To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/25824: The netatalk startup script does not specify its shell [Patch] Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 25824 >Category: ports >Synopsis: The netatalk startup script does not specify its shell [Patch] >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Mar 15 03:40:05 PST 2001 >Closed-Date: >Last-Modified: >Originator: Christoph Sold >Release: FreeBSD 4.2-STABLE #4: Tue Feb 13 18:11:45 >Organization: i-clue GmbH >Environment: FreeBSD amnesix.i-clue.de 4.2-STABLE FreeBSD 4.2-STABLE #4: Tue Feb 13 18:11:45 CET 2001 so@amnesix.i-clue.de:/usr/src/sys/compile/AMNESIX-4.2-S i386 >Description: The netatalk startup script does not specify its shell in the hash-bang line. This yields strange error messages when executing it with another shell such as tcsh. >How-To-Repeat: Execute "/usr/local/etc/rc.d/netatalk.sh start" with tcsh or csh. >Fix: root@amnesix:/usr/local/etc/rc.d# diff -u netatalk.sh netatalk.sh.orig --- netatalk.sh Thu Mar 15 12:33:50 2001 +++ netatalk.sh.orig Thu Mar 15 12:33:40 2001 @@ -1,3 +1,4 @@ +#!/bin/sh # # AppleTalk daemons. Make sure not to start atalkd in the background: # its data structures must have time to stablize before running the >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message