delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/09/25/14:53:56

X-Recipient: archive-cygwin AT delorie DOT com
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:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=RfzOzkGd4fXh5RQV
F/CtS33XBXESVX//Eg1yTYsE/2xE611NQ21ZSDtEqlf1TD/WM4gHDC3KY5MHNgXR
2KT9sBVOg1/1sWOJ1mCqek/If6kPoRRsyWFYCIsgLV64YoKXNNK9gC6wk7fQY/zc
VaKw6Ll2J0g4ws9hsy9NOIKD14I=
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:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=2GW/aRftr1ooUu3hnNMmeN
Oi/68=; b=vhorXd6ADHI4hGW7vVpSvs/VKIYZTcguEHNzdgHZZA8cTJyDdPdeE3
u0zmnVYuZjX6HWlDzLgDMTF5Wpcyo9x5t3z7rR2Ou3k/y5a5LQmTrjAZgnXLP850
awugpaqBH5p4R3ZS6lbTnqN9Fac67kM6XvLaklwdsQ5yZz0ggDw7U=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.1 required=5.0 tests=AWL,BAYES_50,KAM_ASCII_DIVIDERS,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2
X-HELO: limerock03.mail.cornell.edu
X-CornellRouted: This message has been Routed already.
Subject: Re: base-files-4.2-3 : attention maintainer
To: cygwin AT cygwin DOT com
References: <BLU182-W10FB6B21A2AEC90F71470FD4450 AT phx DOT gbl> <560407A6 DOT 40206 AT gmail DOT com> <87io6z3euv DOT fsf AT Rainer DOT invalid>
From: Ken Brown <kbrown AT cornell DOT edu>
Message-ID: <5605983C.8060909@cornell.edu>
Date: Fri, 25 Sep 2015 14:53:48 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0
MIME-Version: 1.0
In-Reply-To: <87io6z3euv.fsf@Rainer.invalid>
X-IsSubscribed: yes

On 9/24/2015 1:29 PM, Achim Gratz wrote:
> Marco Atzeri writes:
>> the bug is in the
>>    /etc/postinstall/base-files-mketc.sh
>> of base-files-4.2-3
>>
>> --------------------------------------------
>> FILES="hosts protocols services networks"
>> OSNAME="$(/usr/bin/uname -s)"
>> WINETC="$(/usr/bin/cygpath -S -u)/drivers/etc"
>>
>> [cut]
>>
>> for mketc in ${FILES}
>> do
>>    if [ ! -e "/etc/${mketc}" -a ! -L "/etc/${mketc}" ]
>>    then
>>      /usr/bin/ln -s -v "${WINETC}/${mketc}" "/etc/${mketc}"
>>    fi
>> done
>> --------------------------------------------
>>
>> As on my systems the bug is not present,
>> it can be a relative recent introduction.
>
> I've introduced this bug inadvertently when releasing base-files-4.1.
> I'll fix it towards the weekend.

As long as you're updating base-files anyway, maybe you could implement 
one of the previously-discussed proposals for showing a prompt of "#" 
instead of "$" in shells with sufficient privileges.  Unfortunately, I 
don't remember if there was ever a consensus reached on exactly how that 
should be done.

Ken


--
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

- Raw text -


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