delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/06/15/20:49:35

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:date:from:to:subject:message-id:in-reply-to
:references:mime-version:content-type:content-transfer-encoding;
q=dns; s=default; b=vB68kwsOI6PC8w9Uqcg2elrKQJJ8M5dU97zyiEXDoSs
jQ58GFfJ4GxJNxgBHtBCo7BhsJ9PW0choFDlzJRJFMs6Yj0sxgDXbQh7GuINDrUI
LmF1Lp0UR9z00V1joOcxmJ40LAE6BLLM0IP+OfugPTruXcaH8E4kKK6ZSoRSKhXY
=
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:date:from:to:subject:message-id:in-reply-to
:references:mime-version:content-type:content-transfer-encoding;
s=default; bh=8UCdOTQz09TsfQUTyF4J9Y8ZZFs=; b=QSraAiaNKXZQ0qJcY
GtNeaA29/oAgAmggi36iOaixEhnx8+rPtcczOfaHCT+7JMCaXanPt+Q/jX7P5ltJ
vtoFCQidzKyJs+wpItSIMgKALnrHIC0dwOJqs2LbqiPukvKB7jR9F7yFLdIvqZot
umQlX+PXKvEz9GlkCfHpzJalAM=
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=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=Hx-languages-length:1446, professional, rights, Professional
X-HELO: conssluserg-04.nifty.com
DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-04.nifty.com w5G0msxq030475
X-Nifty-SrcIP: [125.3.30.127]
Date: Sat, 16 Jun 2018 09:49:01 +0900
From: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
To: cygwin AT cygwin DOT com
Subject: Re: [bug: csih] Setting privileged rights to cyg_server fails on Windows 7.
Message-Id: <20180616094901.8c9c11e42ccaf7c2cd12233b@nifty.ne.jp>
In-Reply-To: <20180615133415.GB5749@calimero.vinschen.de>
References: <20180613224901 DOT d2cf679cef8eab89a834c494 AT nifty DOT ne DOT jp> <20180613181407 DOT GT7851 AT calimero DOT vinschen DOT de> <20180614062218 DOT eee6704d2ebc62383a2927c7 AT nifty DOT ne DOT jp> <20180614091642 DOT GA2587 AT calimero DOT vinschen DOT de> <20180614192957 DOT 2128dbee897097bddb0844e4 AT nifty DOT ne DOT jp> <20180614113132 DOT GB2587 AT calimero DOT vinschen DOT de> <20180615195635 DOT 7fdf5323f459034451b675c3 AT nifty DOT ne DOT jp> <20180615133415 DOT GB5749 AT calimero DOT vinschen DOT de>
Mime-Version: 1.0
X-IsSubscribed: yes

Hi Corinna,

On Fri, 15 Jun 2018 15:34:15 +0200
Corinna Vinschen wrote:
> > In this case, LOGONSERVER is NOT set in my environment.
> > Are you sure of the above result?
> Yes, I had all results before me when I wrote the mail.  This was on W10
> Enterprise.

My environments are Windows 7 Professional (32bit) and Windows 10 Pro
(64bit). In both cases, LOGONSERVER is not set. It is strange that
the results are different even in a similar environment.

> > *** ERROR: winProductName: C:/cygwin/lib/csih/winProductName.exe: error while loading shared libraries: libssp-0.dll: cannot open shared object file: No such file or directory
> Apparently only the native tools winProductName and getAccountName
> are affected by this build problem.  It seems that with newer versions
> of gcc we need to specify --static during the link stage, otherwise
> we pull in unwanted shared object dependencies.
> 
> I'm going to push a new version in a bit.

I have confirmed this is fixed in csih-0.9.11-1. Thank you.

By the way, what do you think of the patch I proposed yesterday?

On Fri, 15 Jun 2018 19:56:35 +0900
Takashi Yano wrote:
> To resolve this problem, I would like to propose a patch attached.
> I tested the patch for above 8 scenarios, and succeeded for all.
> Could you please have a look?

I will appreciate any comments.

-- 
Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>

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