From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 39247 invoked by alias); 24 Mar 2016 14:12:32 -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 38234 invoked by uid 89); 24 Mar 2016 14:12:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=3.1 required=5.0 tests=BAYES_50,FREEMAIL_FROM,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,XPRIO autolearn=no version=3.3.2 spammy=continued, getent, Moreover, HX-Provags-ID:V03 X-HELO: mout.gmx.com Received: from mout.gmx.com (HELO mout.gmx.com) (74.208.4.201) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 24 Mar 2016 14:12:30 +0000 Received: from [98.254.164.34] by 3capp-mailcom-lxa02.server.lan (via HTTP); Thu, 24 Mar 2016 15:12:26 +0100 MIME-Version: 1.0 Message-ID: From: "Unknown Sender" To: cygwin@cygwin.com Subject: Possible bug: ssh-host-config - getent when computer name is "-" (dash) Content-Type: text/plain; charset=UTF-8 Date: Thu, 24 Mar 2016 14:12:00 -0000 Sensitivity: Normal X-UI-Out-Filterresults: notjunk:1;V01:K0:qB0DJ/hCQPg=:o4gEXvvhhb2eL/GM8HMwoW CXHcbgvuENK20SdlvHT0RGiLeW39hsdsK0udGEKoT6ciqU/1zIRxlVfBIXDKLXQeuYaoiXDEY VJMS/4fUjm3Tp8VaWDvL18VHQXIkIq4Kxfu+tpjeNW0zEIDcL64j7x8loSQh84knVInGP2GiG CLx/pgIORB85YZv44kHCLszmcBMmswKivCphFAVR6uHIGp4fpb1IC9ZtXTm4cnFPvJ7BpHSzK cHP+RuFHjjOBuZPqVqunCdYdP5/0CMSDzUPYTh36U8A2/CrgzfXCBiW7k9GEiAaxoWFcEbKLK dQwcljEVnAezxOo8BaWK59YH4wTZ+1xlQrTZU9IrgLOFJcLXVVveX4GHFpl9ba06FgrDJT7jg Hj5gxjXKhR4m+8zX76j9xcv7Q5BWYrtfSZboVUZUbFn4bbIsyoOuDoyGVbyfGQCU0yEFyiQZQ BXfEZQ+0rg== X-SW-Source: 2016-03/txt/msg00493.txt.bz2 I noticed this bug for the first time today on a computer that has the computer name "-" (dash). During ssh-host-config: *** Query: Do you want to use a different name? (yes/no) no /usr/bin/getent: invalid option -- '+' Try `getent --help' or `getent --usage' for more information. *** Query: Create new privileged user account '-\cyg_server' (Cygwin name: 'cyg_server')? (yes/no) yes I suspect this has to do with the computer name because getent & ssh-host-config have never failed this way for me before. Moreover getent seems to be able to query the computer name, and the error message makes me think that it may be connected. I included the 2nd query just to show that it continued the process after the error occurred. I'm not sure if this error is going to cause problems down the line. Will I be encountering tons of problems with a computer name of "-"? It seems to only be a problem right here & right now. -- 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