setup.exe sucks

Reini Urban rurban@x-ray.at
Fri Dec 10 03:02:00 GMT 2004


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/



More information about the Cygwin-apps mailing list