delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/09/24/10:25:06

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=CWN44q1tPZXNY5dW
ErHC1SxiFEBvwDs7pp0xMLTOFSNl+xvqkn/gb9K3+3zBSGBEizW1i3WdaIohBKei
uPPB0mcVioGFgx1n8jN+VK/s+r3Sh/zsGJa90fCoAzfnErkPg382kyLKKAWUg00J
s0D0QFhksz59XxM6KMvSlh+QwzU=
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=RerRnVA6IzBlJzMCXvElHN
y0UAM=; b=Iarz0rrJzlG4bMJ1dLHn+8zNjaz3qUT3cF9mS3Z2c/jimyUhXPtuKh
3jx4vusP5z8kVSwv2wNv7xEY4IhMbJjrq8oQWT1urG7tINDxpdwJ/QTHRC7FWfjr
j2mYCZPN8f0DSkKh7peu4r4ovTccL1do8qf30xhvIc2AAsENwI8fQ=
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=-1.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_ASCII_DIVIDERS,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2
X-HELO: mail-wi0-f178.google.com
X-Received: by 10.194.21.199 with SMTP id x7mr46419923wje.63.1443104684703; Thu, 24 Sep 2015 07:24:44 -0700 (PDT)
Subject: base-files-4.2-3 : attention maintainer
To: cygwin AT cygwin DOT com
References: <BLU182-W10FB6B21A2AEC90F71470FD4450 AT phx DOT gbl>
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Message-ID: <560407A6.40206@gmail.com>
Date: Thu, 24 Sep 2015 16:24:38 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0
MIME-Version: 1.0
In-Reply-To: <BLU182-W10FB6B21A2AEC90F71470FD4450@phx.gbl>
X-IsSubscribed: yes

On 23/09/2015 01:04, Walter L. wrote:
> Hi,
>
> I've just performed a fresh install of the latest (2.2.1) Cygwin on 64-bit Windows 7 and noticed 2 issues with the new version that I'd like to verify whether or not they are bugs:
>
> 1) The symlink to protocol file seems incorrect
>
> [user AT hostname /etc]$ ls -l | grep protocol
> lrwxrwxrwx  1 user Domain Users     50 Sep 22 17:03 protocols -> /cygdrive/c/Windows/System32/drivers/etc/protocols
> [user AT hostname /etc]$ ls -l /cygdrive/c/Windows/System32/drivers/etc | grep protocol
> -rwxrwx---+ 1 SYSTEM         SYSTEM  1358 Jun 10  2009 protocol
>
> I believe the target of the symlink should be "protocol" (i.e. singular)

Corinna,

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.

Regards
Marco




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