From owner-cvs-all Tue Jul 4 13:16:27 2000 Delivered-To: cvs-all@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.40.131]) by hub.freebsd.org (Postfix) with ESMTP id 8DAE237B669; Tue, 4 Jul 2000 13:16:17 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.9.3/8.9.3) with ESMTP id WAA15688; Tue, 4 Jul 2000 22:16:09 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Kris Kennaway Cc: Ollivier Robert , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/crypto/openssh sshd.c In-reply-to: Your message of "Tue, 04 Jul 2000 13:13:25 PDT." Date: Tue, 04 Jul 2000 22:16:09 +0200 Message-ID: <15686.962741769@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message , Kri s Kennaway writes: >On Tue, 4 Jul 2000, Ollivier Robert wrote: > >> According to Brian Feldman: >> > Modified files: >> > crypto/openssh sshd.c >> > Log: >> > MFF: >> > Allow restarting on SIGHUP when the full path was not given as argv[0]. >> > We do have /proc/curproc/file :) >> >> [ Following Wes & Robert's messages ] >> >> I'm not happy about that either. I know that /proc is not really optional >> these days but it reminds me too much of the [in] /proc/curproc/cmdline Linux >> thingy that bit us in early Star Office days... > >Well, the problem is that sshd tries to use argv[0] to respawn itself when >it gets a sighup, and unless it's run with an absolute path then it will >just die instead. That's fine, we're used to sendmail, named and gated doing that as well. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD coreteam member | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message