Re: 1.7.10s 20110729 - problem listing services in /proc

2011-07-30 Thread Corinna Vinschen
On Jul 30 14:44, jojelino wrote: Breakpoint 2, fhandler_registry::close (this=0x612cba5c) at /tmp/winsup/winsup/cygwin/fhandler_registry.cc:856 856 cfree (value_name); 10: this-value_name = 0x612cb374 Lservices (gdb) Continuing. 0x612cba5c-value_name = 0

Re: 1.7.10s 20110729 - problem listing services in /proc

2011-07-30 Thread Christopher Faylor
On Sat, Jul 30, 2011 at 10:21:30AM +0200, Corinna Vinschen wrote: On Jul 30 14:44, jojelino wrote: Breakpoint 2, fhandler_registry::close (this=0x612cba5c) at /tmp/winsup/winsup/cygwin/fhandler_registry.cc:856 856 cfree (value_name); 10: this-value_name = 0x612cb374 Lservices

1.7.10s 20110729 - problem listing services in /proc

2011-07-29 Thread David Rothenberger
With the 20110729 snapshot (and some earlier ones), the following command terminates early. % find /proc/registry/HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/services -maxdepth 1 -print strace lists an exception: exception C005 at 6100296A. This is occurring for me in both Win7 x64 and

Re: 1.7.10s 20110729 - problem listing services in /proc

2011-07-29 Thread Corinna Vinschen
On Jul 29 11:58, David Rothenberger wrote: With the 20110729 snapshot (and some earlier ones), the following command terminates early. % find /proc/registry/HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/services -maxdepth 1 -print strace lists an exception: exception C005 at 6100296A.

Re: 1.7.10s 20110729 - problem listing services in /proc

2011-07-29 Thread Yaakov (Cygwin/X)
On Fri, 2011-07-29 at 22:21 +0200, Corinna Vinschen wrote: On Jul 29 11:58, David Rothenberger wrote: With the 20110729 snapshot (and some earlier ones), the following command terminates early. % find /proc/registry/HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/services -maxdepth 1

Re: 1.7.10s 20110729 - problem listing services in /proc

2011-07-29 Thread David Rothenberger
On 7/29/2011 3:36 PM, Yaakov (Cygwin/X) wrote: On Fri, 2011-07-29 at 22:21 +0200, Corinna Vinschen wrote: On Jul 29 11:58, David Rothenberger wrote: With the 20110729 snapshot (and some earlier ones), the following command terminates early. % find

Re: 1.7.10s 20110729 - problem listing services in /proc

2011-07-29 Thread jojelino
Starting program: /usr/bin/find /proc/registry/HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/services -maxdepth 1 -print [New Thread 4648.0xd38] warning: section .gnu_debuglink not found in /cygdrive/d/cygwin/bin/cygwin1.dbg [New Thread 4648.0x16d8] Breakpoint 9, fhandler_base::operator=

Re: 1.7.10s 20110729 - problem listing services in /proc

2011-07-29 Thread Christopher Faylor
On Fri, Jul 29, 2011 at 03:41:46PM -0700, David Rothenberger wrote: On 7/29/2011 3:36 PM, Yaakov (Cygwin/X) wrote: On Fri, 2011-07-29 at 22:21 +0200, Corinna Vinschen wrote: On Jul 29 11:58, David Rothenberger wrote: With the 20110729 snapshot (and some earlier ones), the following command

[PATCH] cygrunsrv: don't bail on first error when listing services

2007-04-19 Thread Brian Dessent
Currently, when listing services with cygrunsrv -L, the first error condition causes an immediate abort. This sucks when there is a service that the user does not have rights to query or there is the stub of a service that was deleted but is still in the system's cache. I'm not sure exactly how

Re: [PATCH] cygrunsrv: don't bail on first error when listing services

2007-04-19 Thread Corinna Vinschen
On Apr 19 02:19, Brian Dessent wrote: * cygrunsrv.cc (list_services): Make failure of OpenService or QueryServiceConfig nonfatal. Thanks for the patch. Please go ahead and check it in. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin

Re: cygcheck bug when listing services (Was Re: Parallel writes to a single FIFO do not queue, and deadlock cygwin)

2005-12-06 Thread Yitzchak Scott-Thoennes
On Mon, Dec 05, 2005 at 09:40:01AM -0500, Igor Pechtchanski wrote: Running cygcheck under strace shows that after listing all the available services, it invokes cygrunsrv --query grunsrv.exe --list, which results in the above message. I think this may be because the output of cygrunsrv --list

Re: [PATCH] cygcheck bug when listing services (Was Re: Parallel writes to a single FIFO do not queue, and deadlock cygwin)

2005-12-06 Thread Igor Pechtchanski
On Tue, 6 Dec 2005, Yitzchak Scott-Thoennes wrote: On Mon, Dec 05, 2005 at 09:40:01AM -0500, Igor Pechtchanski wrote: Running cygcheck under strace shows that after listing all the available services, it invokes cygrunsrv --query grunsrv.exe --list, which results in the above message. I

Re: [PATCH] cygcheck bug when listing services (Was Re: Parallel writes to a single FIFO do not queue, and deadlock cygwin)

2005-12-06 Thread Christopher Faylor
On Tue, Dec 06, 2005 at 08:41:24PM -0500, Igor Pechtchanski wrote: On Tue, 6 Dec 2005, Yitzchak Scott-Thoennes wrote: On Mon, Dec 05, 2005 at 09:40:01AM -0500, Igor Pechtchanski wrote: Running cygcheck under strace shows that after listing all the available services, it invokes cygrunsrv

Re: [PATCH] cygcheck bug when listing services

2005-12-06 Thread Igor Pechtchanski
On Tue, 6 Dec 2005, Christopher Faylor wrote: On Tue, Dec 06, 2005 at 08:41:24PM -0500, Igor Pechtchanski wrote: On Tue, 6 Dec 2005, Yitzchak Scott-Thoennes wrote: [snip] That needs a comment in the code. Fair enough: [snip] + /* Add two nulls to avoid confusing strtok() when the

cygcheck bug when listing services (Was Re: Parallel writes to a single FIFO do not queue, and deadlock cygwin)

2005-12-05 Thread Igor Pechtchanski
On Sun, 4 Dec 2005, Mark Piper wrote: P.S. Here is the full output from cygcheck $ /bin/cygcheck.exe -s Cygwin Configuration Diagnostics [snip] 1265k 2005/07/03 C:\cygwin\bin\cygwin1.dll Cygwin DLL version info: DLL version: 1.5.18 DLL epoch: 19 DLL bad

Listing services

2005-03-04 Thread Colin JN Breame
Hello, Anyone know how to list the names and descriptions of all the services on the system? Cheers, -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ:

RE: Listing services

2005-03-04 Thread Dave Korn
Original Message From: Colin JN Breame Sent: 04 March 2005 11:50 Hello, Anyone know how to list the names and descriptions of all the services on the system? I dunno how to do it in a cygwin fashion, so this is OT, but you can use the 'doze command line utility sc:

Re: Listing services

2005-03-04 Thread Al Slater
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Colin JN Breame wrote: | Anyone know how to list the names and descriptions of all the services on the | system? psservice in pstools package at http://www.sysinternals.com will do that and more. - -- Al Slater Technical Director Stanton Consultancy

Re: Listing services

2005-03-04 Thread David Rothenberger
On 3/4/2005 3:50 AM, Colin JN Breame wrote: Hello, Anyone know how to list the names and descriptions of all the services on the system? Cheers, I do it with the following script which uses /proc. -- David Rothenbergerspammer? - [EMAIL PROTECTED] GPG/PGP: 0x7F67E734, C233 365A 25EF

Re: Listing services

2005-03-04 Thread GD
Al Slater wrote: Colin JN Breame wrote: | Anyone know how to list the names and descriptions of all the services on the system? psservice in pstools package at http://www.sysinternals.com will do that and more. $ psservice.exe query sshd PsService v2.13 - Service information and configuration

Re: Listing services

2005-03-04 Thread Brian Dessent
David Rothenberger wrote: I do it with the following script which uses /proc. That's an interesting script but it has a couple of deficiencies. It does not list services with names that start with a . and it breaks on services with a space in the name when -n is used. It's also very slow with