From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29594 invoked by alias); 22 Sep 2016 01:20:23 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 29104 invoked by uid 89); 22 Sep 2016 01:20:22 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS,TBC autolearn=no version=3.3.2 spammy=sk:inetuti, csih, dx, Query X-HELO: mail-yw0-f178.google.com Received: from mail-yw0-f178.google.com (HELO mail-yw0-f178.google.com) (209.85.161.178) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 22 Sep 2016 01:20:12 +0000 Received: by mail-yw0-f178.google.com with SMTP id t67so80390532ywg.3 for ; Wed, 21 Sep 2016 18:20:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=UiQuv+ImqrKr+LV6UsCcYnDrUFHI2gUxI3EelqfetrE=; b=foEFjPZ8az3KS3gzAIxLvT8oia/3JGrhgwYYSCqRSCKxsHYXV3qP7eHOTOFo1+XHXP GwWiudU8WTQ3gUywn74e4O5duUuBvflM80X+KFxsFgsfOWkNDlckDD64i1wWd7af/6K+ 1EH579gz91sg2Ar6Eky4IGsd1y+o9cHo3DfFeu1IL8azj3LOkLmX2U4YsjsWTCw92Hnt 249rGhtrdBt1jGCWddyr8oXrfcXbQb5WZUbukJ2Tg7l9V8BGKH59Rzxbp4yQZmseyfNN sRhNnhzl66Cs0UVUsKmxSM8LcJLUAnCRNVgclPX1xOGJ1fXdp3sOejMoF+KMXIYgnY60 4GrA== X-Gm-Message-State: AE9vXwNGZWiXld2BOybbIBmv5aoKDzYydJRC0QsaTlsSi/GDvQL3+P/B8igxc1HXPJVJNpgO3KpSiVcQ36kbew== X-Received: by 10.13.226.193 with SMTP id l184mr37147326ywe.282.1474507210977; Wed, 21 Sep 2016 18:20:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.164.130 with HTTP; Wed, 21 Sep 2016 18:20:10 -0700 (PDT) From: shu Date: Thu, 22 Sep 2016 08:15:00 -0000 Message-ID: Subject: basename , grep , dirname commands not found when using iu-config , syslogd-config, cygwin-service-installation-helper.sh To: cygwin@cygwin.com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2016-09/txt/msg00277.txt.bz2 error message example : /usr/bin/iu-config: line 10: basename: command not found When i do some uninstall/install inetutils-server package i will met error message: inetutils-server.sh exit code 1 i checked setup.log, found it is cause by a command : C:\progwvd\ide\cygwin\bin\bash.exe --norc --noprofile "/etc/posti nstall/inetutils-server.sh" so i write "set -x" in inetutils-server.sh. found command error msg "grep: command not found" -------this can be fixed by changing to full path like /usr/bin/basename. And "The permissions on the directory /var are not correct." -----------this is can be fixed by chmod permission.it is maybe cause by me. After those fixs, i can using C:\progwvd\ide\cygwin\bin\bash.exe --norc --noprofile "/etc/posti nstall/inetutils-server.sh" without error. Do not know how to contribute those source code. so raise it as a bug. hope someone can fix it. Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\niesh>C:\progwvd\ide\cygwin\bin\bash.exe --norc --noprofile "/etc/posti nstall/inetutils-server.sh" + '[' '!' -f /etc/ftpusers ']' + '[' '!' -f /etc/ftpwelcome ']' + '[' '!' -f /etc/inetd.conf ']' + '[' '!' -f /etc/shells ']' + '[' '!' -f /etc/motd ']' + '[' '!' -f /etc/syslog.conf ']' + '[' '!' -f /etc/xinetd.d/ftpd ']' + '[' '!' -f /etc/xinetd.d/talk ']' + '[' '!' -f /etc/xinetd.d/telnet ']' + '[' '!' -f /etc/xinetd.d/uucp ']' + export IU_CONFIG_AUTO_ANSWER_NO=1 + IU_CONFIG_AUTO_ANSWER_NO=1 + /usr/bin/iu-config /usr/bin/iu-config: line 10: basename: command not found /usr/bin/iu-config: line 11: dirname: command not found /usr/share/csih/cygwin-service-installation-helper.sh: line 761: grep: command n ot found /usr/share/csih/cygwin-service-installation-helper.sh: line 2472: awk: command n ot found /usr/share/csih/cygwin-service-installation-helper.sh: line 2473: awk: command n ot found *** Warning: The permissions on the directory /var are not correct. *** Warning: They must match the regexp d..x.....[xt] *** ERROR: Problem with /var directory. Exiting. + export SYSLOGD_CONFIG_AUTO_ANSWER_NO=1 + SYSLOGD_CONFIG_AUTO_ANSWER_NO=1 + /usr/bin/syslogd-config /usr/bin/syslogd-config: line 10: basename: command not found /usr/bin/syslogd-config: line 11: dirname: command not found /usr/share/csih/cygwin-service-installation-helper.sh: line 761: grep: command n ot found /usr/share/csih/cygwin-service-installation-helper.sh: line 2472: awk: command n ot found /usr/share/csih/cygwin-service-installation-helper.sh: line 2473: awk: command n ot found *** Warning: The permissions on the directory /var are not correct. *** Warning: They must match the regexp d..x.....[xt] *** ERROR: Problem with /var directory. Exiting. C:\Users\niesh>C:\progwvd\ide\cygwin\bin\bash.exe --norc --noprofile "/etc/posti nstall/inetutils-server.sh" + '[' '!' -f /etc/ftpusers ']' + '[' '!' -f /etc/ftpwelcome ']' + '[' '!' -f /etc/inetd.conf ']' + '[' '!' -f /etc/shells ']' + '[' '!' -f /etc/motd ']' + '[' '!' -f /etc/syslog.conf ']' + '[' '!' -f /etc/xinetd.d/ftpd ']' + '[' '!' -f /etc/xinetd.d/talk ']' + '[' '!' -f /etc/xinetd.d/telnet ']' + '[' '!' -f /etc/xinetd.d/uucp ']' + export IU_CONFIG_AUTO_ANSWER_NO=1 + IU_CONFIG_AUTO_ANSWER_NO=1 + /usr/bin/iu-config *** Warning: The permissions on the directory /etc/inetd.d are not correct. *** Warning: They must match the regexp drwxr.xr.x *** Info: Note that the inetd service and the xinetd service must not *** Info: both be active at the same time. The easiest way to ensure *** Info: this is to only install one or the other as a service. *** Query: Do you want to install the inetd super-server as a service? (yes/no) no Configuration finished. Have fun! + export SYSLOGD_CONFIG_AUTO_ANSWER_NO=1 + SYSLOGD_CONFIG_AUTO_ANSWER_NO=1 + /usr/bin/syslogd-config /usr/bin/syslogd-config: line 10: basename: command not found /usr/bin/syslogd-config: line 11: dirname: command not found *** Warning: The following function requires administrator privileges! *** Query: Do you want to install syslogd as service? (yes/no) no Configuration finished. Have fun! -- 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