From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 66257 invoked by alias); 14 Oct 2015 17:27:50 -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 66247 invoked by uid 89); 14 Oct 2015 17:27:50 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.0 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: etr-usa.com Received: from etr-usa.com (HELO etr-usa.com) (130.94.180.135) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 14 Oct 2015 17:27:49 +0000 Received: (qmail 53242 invoked by uid 13447); 14 Oct 2015 17:27:47 -0000 Received: from unknown (HELO polypore.west.etr-usa.com) ([73.26.17.49]) (envelope-sender ) by 130.94.180.135 (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 14 Oct 2015 17:27:47 -0000 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: How to correctly rebase? From: Warren Young In-Reply-To: <22046.25592.311399.765933@woitok.gmail.com> Date: Wed, 14 Oct 2015 17:27:00 -0000 Content-Transfer-Encoding: quoted-printable Message-Id: <8925F252-F479-4990-B568-1EC612DF39A5@etr-usa.com> References: <22046.25592.311399.765933@woitok.gmail.com> To: cygwin@cygwin.com, Rainer.Woitok@Gmail.Com X-IsSubscribed: yes X-SW-Source: 2015-10/txt/msg00168.txt.bz2 On Oct 14, 2015, at 8:17 AM, Dr Rainer Woitok wro= te: >=20 > telling me to place the list of absolute paths of my personal DLLs into > /var/lib/rebase/user.d/Rainer=E2=80=9D It doesn=E2=80=99t actually care what the file is called. I expect the onl= y reason the docs tell you to name it that way is in case there are multipl= e users on the system, they=E2=80=99re all running from a common Cygwin ins= tallation, and each may have their own set of customizations. > to run "rebase-trigger fullrebase" (it > didn't advice to run this from a privileged account, but I found out my- > self) I don=E2=80=99t see that it=E2=80=99s a foregone conclusion that admin priv= s are required for that step. The file that script creates could be in a u= ser-writeable directory. Nevertheless, the maintainer of that doc file pro= bably should consider mentioning the possibility. While investigating this, I found that the rebase mechanism isn=E2=80=99t a= s robust as it should be. The core problem I ran into is that /var/cache/rebase and /var/lib/rebase/*= .d didn=E2=80=99t exist on my system, and this caused various complaints an= d failures. I propose that the _autorebase maintainer add those directorie= s to the package, so they=E2=80=99re always available. /var/cache/rebase is the critical one: without it, the rebase-trigger scrip= t can=E2=80=99t set the trigger, so the rebasing will never happen. The la= ck of the others just causes nonfatal complaints. To do it by hand, start Dash with admin privs as you did before =E2=80=94 t= his next bit really does require admin =E2=80=94 then type: /etc/postinstall/0p_* If it gives errors other than ones about missing /var/lib/rebase/*.d direct= ories, post them here, or fix them. Once I fixed all the errors I got here= , full autorebasing via setup.exe started working again. (Which makes me wonder how it got broken, since the Windows VM I tested thi= s on isn=E2=80=99t used heavily, and was created not all that long ago.) > After doing so, I rebooted and tested again You should not have to reboot. If you do, it means you=E2=80=99re ignoring= complaints from setup.exe about files being in use during the installation= , which could be part of the problem. Shut down *everything* linked to cygwin1.dll, however indirectly, while set= up.exe and the rebasing processes run. > PS: Please also reply by personal mail to me, as I am not subscribed to > this mailing list. You expect direct personal consultation? My fee for that is $100/hr, and y= ou=E2=80=99ve chewed up one hour already. Where shall I send the bill? :) If you want free community help, you are expected to participate in the com= munity. I=E2=80=99m Cc=E2=80=99ing you directly on this one just as a cour= tesy. -- 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