X-Recipient: archive-cygwin@delorie.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:reply-to
	:references:mime-version:content-type:in-reply-to; q=dns; s=
	default; b=EFLu3uLi3UPE/VjLZzRQaS4oaq3e0f5L1yk1YhEtHTb2EmlJZelF8
	U2EdjyfJMmzqO+ueG2g/f4xWG4nng5fpnl/8DgzafhNg+6KuCxdOf7q0mDwXhXQH
	A/MU11p95zw37ev/ztlNbDdu8LmzNKxtS696pf2ukmybs2oMBcEwh4=
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:reply-to
	:references:mime-version:content-type:in-reply-to; s=default;
	 bh=oaR3GmBzmvF3lJm2zbVeWgYE8mw=; b=ipGGd3CMAp0EMtgLs+3CmYNA+r7h
	azli30dwMQQIws0Za5okEEpnQU7caxcsV/4fiv7uAdefUCSG8XAXo4xvVHmpyXSL
	nc+PDxFmYY3Yn2nmQy65c1WMGlL13zoelTpaw/TRRQYcXC3/p6Mv9iZ2z84OsYmI
	VW0ViF8pPTGlcMM=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-96.2 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_PBL,RCVD_IN_SORBS_DUL,RDNS_DYNAMIC autolearn=ham version=3.3.2 spammy=cygwinapps, cygwin-apps, H*i:sk:f5bbn2k, volume
X-HELO: calimero.vinschen.de
Date: Wed, 29 Jun 2016 11:39:56 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: rebaseall ate my homework (Windows 10 install, that is)?
Message-ID: <20160629093956.GD981@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <f5bwpl9kn4h.fsf@troutbeck.inf.ed.ac.uk> <f5boa6lkms8.fsf@troutbeck.inf.ed.ac.uk> <loom.20160629T082053-760@post.gmane.org> <f5bfurwl7kz.fsf@troutbeck.inf.ed.ac.uk> <loom.20160629T103633-366@post.gmane.org> <f5bbn2kl5ac.fsf@troutbeck.inf.ed.ac.uk>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;	protocol="application/pgp-signature"; boundary="mvpLiMfbWzRoNl4x"
Content-Disposition: inline
In-Reply-To: <f5bbn2kl5ac.fsf@troutbeck.inf.ed.ac.uk>
User-Agent: Mutt/1.6.1 (2016-04-27)

--mvpLiMfbWzRoNl4x
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Jun 29 10:20, Henry S. Thompson wrote:
> Achim Gratz writes:
>=20
> > Henry S. Thompson <ht <at> inf.ed.ac.uk> writes:
> >> > You'll have to find out why rebase gets into your Windows system dir=
ectory.
> >> >  Check which files in /var/cache/rebase have these
> >>=20
> >> > [...]
> >> >   /c/WINDOWS/system32/imgutil.dll
> >> >   /c/WINDOWS/system32/msshooks.dll
> >> > [...]
> >>=20
> >> None of them do .
> >
> > That is only possible then if you've tried some manual rebase and have =
these
> > DLL still recorded in /etc/rebase.db.* -- in which case you should be a=
ble
> > to recover by doing a full rebase (which removes the existing rebase
> > database as the first step).
> >
> >> To be careful and clear, the _first_ time the problem happened (i.e.,
> >> Windows became unusable after a reboot), was after a normal run of
> >> setup-x86_64 which updated Cygwin to 2.5.2.
> >
> > Again, given what you say about the content of /var/cache/rebase this is
> > only possible if you've previously added those DLL to the rebase databa=
se.
>=20
> Thanks, that's it!  A week or so ago I did a rebase of some of my own
> compiled dlls, and that seems to have added a large volume of windows
> dlls to rebase.db.x86_64, including hal.dll :-(.
>=20
> Not sure how to execute "[recovery] by doing a full rebase" -- I tried a
> vanilla rebaseall, but that doesn't seem to have flushed the database,
> although the date on it did change. . .

Yuk.  Maybe it would make sense to have a safety net in rebase so that
it refuses to rebase any DLL below a dir called system32 or SysWOW64?

If anybody wants to take stab:

https://cygwin.com/git/gitweb.cgi?p=3Dcygwin-apps/rebase.git


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--mvpLiMfbWzRoNl4x
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJXc5dsAAoJEPU2Bp2uRE+gtFYP+QF1IYGT0FvhKR7o9A7qNpoQ
x6S4IK5od5nwRJsXaLBUmgfk1KScBd6ic/QgezdL3u612TJ3GemFFlPKrtV3ftnt
5Cm8an1yrCsyS3xveHvmVOk0/9K3ysNhXNf1t2LJzEIF7pxQBmz0jh3T/OzDthH6
MDHRQzut2CeypqTcqHVRE4KTqOSIQRChPkWUGRN1oGLqQ+cn0z8xgOEsg3oFa65z
J7z5gfLlGA26n1U3yGPyhh7KopyEY1HoRFWfpUOEp2Z+ICkfwUlaf1w6HKXhGrrx
QPxJZvtIRBy8g53ovTrHgK3txCXWBIFtX1/9uNyk47+socik/8UfCe+uiz0kSDZv
IXZ1WM861HisT20VQUgpy0dBvddGSqiL48FzsbTkVQhdhqm4OajpwG/V6/0mZ4+s
4ouz47Jnhm7Gp2FhplQkPdfs1PI1HE0v74J/Yl+NpOJyQDNf1LpRosUhemw0CJEe
TCJDMVplgeAs8EneJ7VpiLpmDHun6cc7vBwsOZDfdd6Lxq0HYg4Kuuk2AUJtm/1b
xTCbnRQNRnrq70clWD0GiGVZ69MSfbpYKfEtIDZfuk+DIsMeGQAYKvQGjOCQW3xK
UKxGb9PzP2dyyWF0eycIFjDXt7aGLT6dy/TwI7ASr11Z2wLy2Dvky0I48qocHR1Y
qRDEhFH+SVaz0KGTaBav
=8Kqe
-----END PGP SIGNATURE-----

--mvpLiMfbWzRoNl4x--
