From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 102094 invoked by alias); 19 Aug 2019 11:20:07 -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 102081 invoked by uid 89); 19 Aug 2019 11:20:07 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.1 spammy=H*M:yandex, fe, H*x:Bat!, H*UA:Bat! X-HELO: forward106p.mail.yandex.net Received: from forward106p.mail.yandex.net (HELO forward106p.mail.yandex.net) (77.88.28.109) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 19 Aug 2019 11:20:04 +0000 Received: from mxback18o.mail.yandex.net (mxback18o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::69]) by forward106p.mail.yandex.net (Yandex) with ESMTP id AC4C11C81460; Mon, 19 Aug 2019 14:20:01 +0300 (MSK) Received: from smtp4j.mail.yandex.net (smtp4j.mail.yandex.net [2a02:6b8:0:1619::15:6]) by mxback18o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id MFh91DaELj-K1o45BC7; Mon, 19 Aug 2019 14:20:01 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1566213601; bh=QW6t1KsqAotQszBhi3+k/ebf9WeWLrx2wwkUhNXLxU8=; h=In-Reply-To:Subject:To:Reply-To:From:Message-ID:References:Date; b=BV16cpM4BZl+F734JhPTM2HSBpZJUoPaAro50o4p3277o5mpZHnVqml77PUlhZH+3 QpYI3sK8e+KgGYiHBSTS3TdWgPBaTF0DKL5SVu8a5m0VzqLwlVwoutYQR3cSWoCqxY 9XrRD3HK5R57+rSPX/yLyYVXbOVv9Ivq4EOaGlqk= Authentication-Results: mxback18o.mail.yandex.net; dkim=pass header.i=@yandex.ru Received: by smtp4j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id fBUvEOR1PQ-K0ti4h4Q; Mon, 19 Aug 2019 14:20:00 +0300 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client certificate not present) Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Mon, 19 Aug 2019 11:14:09 -0000 Date: Mon, 19 Aug 2019 12:34:00 -0000 From: Andrey Repin Reply-To: cygwin@cygwin.com Message-ID: <15610238789.20190819141409@yandex.ru> To: L A Walsh , cygwin@cygwin.com Subject: Re: Win7 system update hosed something in Cygwin In-Reply-To: <5D571D62.5040104@tlinx.org> References: <5D571D62.5040104@tlinx.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2019-08/txt/msg00274.txt.bz2 Greetings, L A Walsh! > On 2019/08/15 18:28, David Karr wrote: >> I logged into my Win7 laptop and I saw it was having some connection >> problems, so I decided to reboot. >> >> After the reboot I found that Cygwin had some basic problems. I brought up >> a mintty window (C:\cygwin64\bin\mintty.exe -e /bin/bash --login) and the >> prompt looked odd. It wasn't the PS1 value that I set in my .bashrc. It >> also seemed to be saying that my current directory was "/", which is not my >> homedir. >> > You might want to read the section in the cygwin user manual, especially > https://www.cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping This was a good suggestion. > If you don't have /etc/passwd or /etc/group, cygwin will generate > DOMAIN+USER entries dynamically each time you start cygwin (or per-boot) > if you have cygwin processes started at boot. The /etc/passwd and group > files do not exist by default. > If you want consistency -- same user names+id's with each boot and > MS-Win compatible names, you may want to create /etc/passwd > and /etc/group using mkpasswd, mkgroup and hand tuning. It isn't > suggested for most users, but it may be something you want. However, with all due respect, you should follow your own advice first. There's more ways to resolve this, and all of them are more correct, than generating static files which would get stale rather fast. F.e. you could try setting db_home: windows for it to pick your system profile directory. -- With best regards, Andrey Repin Monday, August 19, 2019 14:10:04 Sorry for my terrible english... -- 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