delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/12/10/23:26:40

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <a13b5a590812102025i3e68d2a4y6bcfaa02ea4c43aa@mail.gmail.com>
Date: Wed, 10 Dec 2008 23:25:58 -0500
From: "Robert Pendell" <shinji AT elite-systems DOT org>
To: cygwin AT cygwin DOT com
Subject: ssh-host-config produces script warning
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-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

NOTE: Resending below message once.  It got flagged as html the first
time around.  Not sure if it made it though as it wasn't archived yet.

While setting up sshd using ssh-host-config it produces a script error
when working with the mount command but still continued to process
through to completion.  This is on a clean cygwin 1.7 install with
nothing else setup yet other than inetd itself.  (I setup sshd as a
inetd service).

The offending line is 79 where it shows the following command:

mount -t -f "${_win_etcdir}" "${_my_etcdir}"

I found removing the -t part allows the script to complete properly
(or so it seems during my debug run).  This particular segment code is
related to parsing the services file in windows and potentially
removing that line from it.  Anyways it appears to be installed
properly and I did a localhost test to check that.

Here is the script error produced when the -t is there during the script run.

mount: unknown option -- t
Usage: mount [OPTION] [<win32path> <posixpath>]
Display information about mounted filesystems, or mount a filesystem

  -c, --change-cygdrive-prefix  change the cygdrive path prefix to <posixpath>
  -f, --force                   force mount, don't warn about missing mount

  point directories
  -h, --help                    output usage information and exit
  -m, --mount-entries           write fstab entries to replicate mount points
                                and cygdrive prefixes
  -o, --options X[,X...]        specify mount options
  -p, --show-cygdrive-prefix    show user and/or system cygdrive path prefix
  -v, --version                 output version information and exit

Valid options are:

  binary,text,exec,notexec,cygexec,nosuid,acl,noacl,posix=1,posix=0

grep: /ssh-host-config.4452/services: No such file or directory
grep: /ssh-host-config.4452/services: No such file or directory
/usr/bin/ssh-host-config: line 105: /ssh-host-config.4452/services: No such file
 or directory
*** Warning: Adding ssh to C:umount: /ssh-host-config.4452: Invalid argument

--
Robert Pendell
shinji AT elite-systems DOT org

"A perfect world is one of chaos."

Thawte Web of Trust Notary
CAcert Assurer

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

- Raw text -


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