delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/02/22/03:55:23

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,UNPARSEABLE_RELAY
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
Subject: Re: about sysvinit
References: <4B71EE1F DOT 3000906 AT laposte DOT net>
From: "Dr. Volker Zell" <dr DOT volker DOT zell AT oracle DOT com>
Date: Mon, 22 Feb 2010 09:53:45 +0100
In-Reply-To: <4B71EE1F.3000906@laposte.net> (Cyrille Lefevre's message of "Wed, 10 Feb 2010 00:22:07 +0100")
Message-ID: <7zwry5zm5i.fsf@vzell-de.de.oracle.com>
User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.22 (cygwin32)
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

>>>>> Cyrille Lefevre writes:

    > Hi,
    > I use ksh as /bin/sh bcoz pdksh is far more performant than bash
    > (the same heavy script takes around 2.5 mins using ksh and around 6 mins
    > using bash !)
    > $ ls -l /usr/bin/sh
    > lrwxrwxrwx 1 root root 7 2010-02-08 17:11 /usr/bin/sh -> ksh.exe

    > But :

    > package version : *** sysvinit-2.86-3.tar.bz2
    > $ init-config
    > /usr/bin/init-config[26]: source: not found
    > /usr/bin/init-config[158]: csih_make_dir: not found
    > /usr/bin/init-config[163]: csih_make_dir: not found
    > /usr/bin/init-config[168]: csih_make_dir: not found
    > /usr/bin/init-config[173]: csih_make_dir: not found
    > /usr/bin/init-config[178]: csih_make_dir: not found
    > ^C

    > => the first line should be #!/bin/bash, not #!/bin/sh

    > /bin/sh is not necesserally bash. if your script needs
    > bash extensions, you must use #!/bin/bash.

I'll fix this in a new release.

    > also, init seems to PANIC in some way but no core :

I can reproduce it. I'll follow up in a new thread on this.

Ciao
  Volker

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019