public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Warren Young <wyml@etr-usa.com>
To: cygwin@cygwin.com, Rainer.Woitok@Gmail.Com
Subject: Re: How to correctly rebase?
Date: Wed, 14 Oct 2015 17:27:00 -0000	[thread overview]
Message-ID: <8925F252-F479-4990-B568-1EC612DF39A5@etr-usa.com> (raw)
In-Reply-To: <22046.25592.311399.765933@woitok.gmail.com>

On Oct 14, 2015, at 8:17 AM, Dr Rainer Woitok <rainer.woitok@gmail.com> wrote:
> 
> telling me to place the list of absolute paths  of my personal DLLs into
> /var/lib/rebase/user.d/Rainer”

It doesn’t actually care what the file is called.  I expect the only reason the docs tell you to name it that way is in case there are multiple users on the system, they’re all running from a common Cygwin installation, 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’t see that it’s a foregone conclusion that admin privs are required for that step.  The file that script creates could be in a user-writeable directory.  Nevertheless, the maintainer of that doc file probably should consider mentioning the possibility.

While investigating this, I found that the rebase mechanism isn’t as robust as it should be.

The core problem I ran into is that /var/cache/rebase and /var/lib/rebase/*.d didn’t exist on my system, and this caused various complaints and failures.  I propose that the _autorebase maintainer add those directories to the package, so they’re always available.

/var/cache/rebase is the critical one: without it, the rebase-trigger script can’t set the trigger, so the rebasing will never happen.  The lack of the others just causes nonfatal complaints.

To do it by hand, start Dash with admin privs as you did before — this next bit really does require admin — then type:

    /etc/postinstall/0p_*

If it gives errors other than ones about missing /var/lib/rebase/*.d directories, 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 this on isn’t 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’re 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 setup.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 you’ve chewed up one hour already.  Where shall I send the bill? :)

If you want free community help, you are expected to participate in the community.  I’m Cc’ing you directly on this one just as a courtesy.
--
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

  reply	other threads:[~2015-10-14 17:27 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-14 14:26 Dr Rainer Woitok
2015-10-14 17:27 ` Warren Young [this message]
2015-10-14 19:27   ` Achim Gratz
2015-10-14 21:30     ` Warren Young
2015-10-14 22:08       ` Warren Young
2015-10-14 22:37         ` Warren Young
2015-10-15  7:53           ` Achim Gratz
2015-10-15  7:15       ` Achim Gratz
2015-10-15 13:16   ` Dr Rainer Woitok
2015-10-15 20:54     ` Warren Young
2015-10-15 21:10       ` Ken Brown
2015-10-16 12:57         ` Dr Rainer Woitok
2015-10-16 12:58           ` Ken Brown
2015-10-16 15:08             ` Ken Brown
2015-10-16 15:16               ` cyg Simple
2015-10-16 15:29                 ` Ken Brown
2015-10-16 15:50               ` Andrey Repin
2015-10-18 11:15               ` Dr Rainer Woitok
2015-10-18 11:59                 ` Achim Gratz
2015-10-18 12:45                 ` Ken Brown
2015-10-18 16:20                 ` Dr Rainer Woitok
2015-10-19 23:59                 ` Warren Young
2015-10-20 16:55                   ` Dr Rainer Woitok
2015-10-16  7:21       ` Achim Gratz
2015-10-16 20:11         ` Warren Young
2015-12-18 16:28           ` Achim Gratz
2015-10-14 19:58 ` Achim Gratz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8925F252-F479-4990-B568-1EC612DF39A5@etr-usa.com \
    --to=wyml@etr-usa.com \
    --cc=Rainer.Woitok@Gmail.Com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).