From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 73DA51F462 for ; Tue, 18 Jun 2019 13:19:07 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:cc:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=ZCzuJDRKgmY8bMA2 36V0mlvbwNRrC7kTIeBKH/SD8ERcv4KM4jqS+XXyn5//WIEjotLM/zZLYhWbgaC9 jTXLbyMhoFZMhplORo+iqGSJxIqjZIHTvXGR3G122MmpWOrAs+L4araV17nXyPkj IX6zbsn5rFyrCet/avj9FZRFq7Y= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:cc:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=FUZ3GOunvoBLy7Ms/Q1HY8 tPI7k=; b=eMSmWXTJirjvD7lTJ+yuknCpqJp6ZPZG0iutQ2KrdCa9IvKqPW1P2W lUurs8xXGl2mcV7w5OvfZ5Y+9dtNAQofrjiuA2UHwMj32U/MmPUwCMQzTLdTJkgC 6e5NDNUAW+Fkkpof0N1hTT6t2S9WR8KXaxhDmEbTROo3Y005ehqWQ= Received: (qmail 43335 invoked by alias); 18 Jun 2019 13:19:03 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 43316 invoked by uid 89); 18 Jun 2019 13:19:02 -0000 Authentication-Results: sourceware.org; auth=none X-HELO: mail-qt1-f195.google.com Subject: Re: nss_db: protect against empty mappings To: Florian Weimer , DJ Delorie Cc: libc-alpha@sourceware.org References: <8736k7cthh.fsf@oldenburg2.str.redhat.com> From: Carlos O'Donell Message-ID: Date: Tue, 18 Jun 2019 09:18:48 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <8736k7cthh.fsf@oldenburg2.str.redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit On 6/18/19 2:12 AM, Florian Weimer wrote:>> + system ("/usr/bin/makedb -o /var/db/passwd.db /var/db/passwd.in") > I think you need to use the actual installation path, not /usr/bin. Correct, you need support_bindir_prefix[]. The /var/db is not configurable, so it can remain static. -- Cheers, Carlos.