public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Herb Maeder <maeder-cygml@maeder.org>
To: cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] Updated: OpenSSH-5.1p1-6 (-7)
Date: Fri, 07 Nov 2008 21:38:00 -0000	[thread overview]
Message-ID: <94965.1226093864@maeder.org> (raw)
In-Reply-To: Corinna Vinschen <corinna-cygwin@cygwin.com> 's message of                  Fri, 07 Nov 2008 12:00:56 +0100.

On 07 Nov 2008 12:00:56 +0100, Corinna Vinschen wrote:   
> This is a bugfix release which fixes a bug in the ssh-host-config script
> which stumbles over user names with a substring of "ssh" in them and
> thinks that ssh processes are still running.

Is the intent now to catch only processes named 'sshd'?  If so, the
current "grep -q 'sshd*$'" may still be a little too loose.  For example, 
it could match stuff like "/home/user/flosshdd".  Ok, maybe not likely, 
but still it would cause the script to end in an error.

Assuming we can depend on "ps -ef" always printing full path names without 
any arguments, then "grep -q '/sshd$'" might do the trick.  Is there any
reason to catch multiple trailing d's?

If a more loose matching scheme is really desired, it might be helpful to 
print out the matching ps lines before generating the error (just so
that it's more obvious to the user as to what is going on).

Sorry if this is too nit-picky.  I just happened to notice it when I was
looking at other stuff.

Herb.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

  parent reply	other threads:[~2008-11-07 21:38 UTC|newest]

Thread overview: 76+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-10 15:40 Cygwin apps talking to Windows browsers? Jeffrey C Honig
2003-07-10 16:24 ` Igor Pechtchanski
     [not found]   ` <pechtcha@cs.nyu.edu>
2003-07-10 16:28     ` Jeffrey C Honig
     [not found]     ` <corinna-cygwin@cygwin.com>
2005-01-15 23:18       ` odd behavior of symlinks on Win XP SP2 Jeff.Hodges
2005-01-16 15:15         ` Corinna Vinschen
2005-01-17 17:01       ` Jeff.Hodges
2005-01-17 17:32         ` Christopher Faylor
2005-01-17 22:08           ` Sven Köhler
2005-01-17 23:11             ` Christopher Faylor
2005-01-31 21:15       ` odd behavior of symlinks on Win XP Jeff.Hodges
2005-02-01 19:43       ` Jeff.Hodges
2005-02-01 20:48         ` Christopher Faylor
2008-01-22  9:08       ` hard link error on Vista with recent snapshots Herb Maeder
2008-10-10  0:36       ` invalid login gid in /etc/passwd does not show group name as 'mkgroup' Herb Maeder
2008-10-11  7:22       ` Herb Maeder
2008-10-15  5:43       ` Herb Maeder
2008-10-23 19:18       ` cygwin bash crashes on Win Serv 2008 Freddy Jensen
2008-10-24 17:05       ` [Fwd: Apologies for multiple messages (Please Help!)] Herb Maeder
2008-10-24 17:29         ` Dave Korn
2008-11-07 17:52       ` [ANNOUNCEMENT] Updated: OpenSSH-5.1p1-6 (-7) Herb Maeder
2008-11-07 18:36         ` Christopher Faylor
2008-11-07 21:17       ` Herb Maeder
2008-11-07 21:38       ` Herb Maeder [this message]
2008-11-07 22:10         ` Christopher Faylor
2008-11-13  1:54       ` sshd on vista error "initgroups: Permission denied" (cygwin-1.7) Herb Maeder
2008-11-13 14:51         ` Corinna Vinschen
2008-11-13 15:29           ` Corinna Vinschen
2008-11-14  7:31       ` Herb Maeder
2008-11-14 11:24         ` Corinna Vinschen
2008-11-20  4:25       ` Herb Maeder
2008-11-20  6:35       ` Herb Maeder
2008-11-20 10:46         ` Corinna Vinschen
2008-11-20 23:41       ` Herb Maeder
2008-11-20 23:53         ` Herb Maeder
2008-11-21  0:18         ` Matthew Woehlke
2008-11-21  0:49         ` Herb Maeder
2008-11-21  3:09         ` Herb Maeder
2008-11-21  7:05         ` Herb Maeder
2008-11-21 11:40         ` Herb Maeder
2008-11-21 13:48         ` Herb Maeder
2008-11-21 14:46         ` Herb Maeder
2009-02-16 16:16       ` Does CYGWIN work on Windows 2008 x86 architecture ? Freddy Jensen
2003-07-10 16:36 ` Cygwin apps talking to Windows browsers? andrew brian clegg
2003-07-10 20:51   ` Cygwin apps talking to Windows browsers? openmoz for file URLs Ralf Hauser
2003-07-10 19:11 ` Cygwin apps talking to Windows browsers? Scott W Brim
  -- strict thread matches above, loose matches on Subject: below --
2009-02-16 10:05 Does CYGWIN work on Windows 2008 x86 architecture ? Martine Carannante
2009-02-16 11:07 ` Corinna Vinschen
2009-02-16 14:05   ` Martine Carannante
2009-02-16 23:10   ` Ben Kamen
     [not found] <cgf-use-the-mailinglist-please@cygwin.com>
2008-11-08 15:12 ` [ANNOUNCEMENT] Updated: OpenSSH-5.1p1-6 (-7) Herb Maeder
2008-11-07 11:04 Corinna Vinschen
2008-10-20 21:43 cygwin bash crashes on Win Serv 2008 Freddy Jensen
2008-10-23 13:55 ` Corinna Vinschen
2008-10-23 14:10   ` Corinna Vinschen
2008-10-23 15:40     ` Dave Korn
2008-10-23 16:21       ` Corinna Vinschen
2008-10-23 16:52         ` Dave Korn
2008-10-23 17:00           ` Freddy Jensen
2008-10-23 17:43             ` Dave Korn
2008-10-23 18:54           ` Corinna Vinschen
2008-10-28 15:05             ` Corinna Vinschen
2008-10-31  4:37             ` EMF
2008-10-31  5:01               ` Christopher Faylor
2008-10-31 22:57                 ` EMF
2006-02-06 22:52 problems with exit codes on 64-bit Windows XP Pro x64 Kevin Layer
2006-02-07 10:16 ` Corinna Vinschen
2006-02-07 10:24   ` Corinna Vinschen
2006-02-09 20:44     ` Kevin Layer
2006-02-09 20:48       ` Christopher Faylor
2006-02-07 17:59   ` Kevin Layer
     [not found] <OE19prw0m25q8awYFDI000008a4@hotmail.com>
2002-11-20 16:23 ` emacs 100% cpu usage bug Christopher Faylor
2002-11-21 11:47   ` Jim Goltz
2002-11-21 11:50     ` Igor Pechtchanski
2002-11-23 14:09       ` Jim Goltz
2002-11-23 14:53         ` Christopher Faylor
2002-11-24  8:53           ` Jim Goltz

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=94965.1226093864@maeder.org \
    --to=maeder-cygml@maeder.org \
    --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).