This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: setup.exe sucks


Christopher Faylor schrieb:
On Thu, Dec 09, 2004 at 05:25:09PM -0700, Warren Young wrote:
Warren Young wrote:
stop running services before starting the upgrade.
...
That said, however, you could iterate over all of the running processes
and find out which was using cygwin1.dll.  You don't need cygwin for
that.

In fact, I was just playing around with some source code to do this
yesterday.  It is attached, for the curious.

Good.
This is much better then the suggested cygrunsrv registry check, because e.g. the new postgresql-8.0 pg_ctl.exe is a pure cygwin app, but doesn't use cygrunsrv as service starter, it has its own service registration/uninstaller included.


I would also recommend for all cygwin services to provide proper init.d scripts to be able to stop them more easily.

There was a good su.sh posted which just requires a running sshd.
I wanted to add this to coreutils when time permits.
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]