From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 105380 invoked by alias); 29 Oct 2019 00:03:26 -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 105373 invoked by uid 89); 29 Oct 2019 00:03:25 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=Andrey, andrey, Repin, getent X-HELO: smtp-out-no.shaw.ca Received: from smtp-out-no.shaw.ca (HELO smtp-out-no.shaw.ca) (64.59.134.13) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 29 Oct 2019 00:03:24 +0000 Received: from [192.168.1.114] ([24.64.172.44]) by shaw.ca with ESMTP id PEymiYDbFsAGkPEyni0ITk; Mon, 28 Oct 2019 18:03:21 -0600 Reply-To: Brian.Inglis@SystematicSw.ab.ca Subject: Re: getent doesn't work properly To: cygwin@cygwin.com References: <741266361.20191018140116@yandex.ru> <1185423087.20191028202914@yandex.ru> From: Brian Inglis Openpgp: preference=signencrypt Message-ID: <9ac40199-8d4a-206d-4081-a6057e357405@SystematicSw.ab.ca> Date: Tue, 29 Oct 2019 00:03:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <1185423087.20191028202914@yandex.ru> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2019-10/txt/msg00183.txt.bz2 On 2019-10-28 11:29, Andrey Repin wrote: >>> You aren't running Cygwin Cygserver and I don't see your nsswitch setup. >> I have the default nsswitch - This is my configuration: >> # /etc/nsswitch.conf >> # >> # This file is read once by the first process in a Cygwin process tree. >> # To pick up changes, restart all Cygwin processes. For a description >> # see https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping-nsswitch >> # >> # Defaults: >> # passwd: files db >> # group: files db >> # db_enum: cache builtin >> # db_home: /home/%U >> # db_shell: /bin/bash >> # db_gecos: > That should be sufficient for most use cases. >> Why do I need cygserver? > You don't exactly NEED cygserver. But if you have > 1. Domain (or even multi-domain) environment. > 2. and/or remote/slow/flaky connection to the domain server. > cygserver may provide a smoother experience as it caches some information > related to names resolution. Running cygserver will also cache info and speed up processing if you run many: - service daemons under Cygwin, especially cron jobs or ssh sessions - concurrent processes, especially deeply nested, forked, or background (some cron jobs background subprocesses *heavily* to reduce run time) - XSI IPC message queues - semaphores - shared memory segments otherwise that has to be managed by either the process itself or the root parent process, possibly in parallel threads. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. -- 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