From rdm@cfcl.com Sun Jan 6 23:00:51 2002 Return-Path: Received: from idiom.com (idiom.com [216.240.32.1]) by hub.freebsd.org (Postfix) with ESMTP id C688637B425 for ; Sun, 6 Jan 2002 23:00:50 -0800 (PST) Received: from cfcl.com (cpe-24-221-169-54.ca.sprintbbd.net [24.221.169.54]) by idiom.com (8.9.3/8.9.3) with ESMTP id XAA18176 for ; Sun, 6 Jan 2002 23:00:49 -0800 (PST) Received: (from rdm@localhost) by cfcl.com (8.11.1/8.11.1) id g0773KE21642; Sun, 6 Jan 2002 23:03:20 -0800 (PST) (envelope-from rdm) Message-Id: <200201070703.g0773KE21642@cfcl.com> Date: Sun, 6 Jan 2002 23:03:20 -0800 (PST) From: Rich Morin Reply-To: rdm@cfcl.com To: FreeBSD-gnats-submit@freebsd.org Subject: fantasy '-s' option in exports(5) and kill(1) X-Send-Pr-Version: 3.2 >Number: 33635 >Category: docs >Synopsis: fantasy '-s' option in exports(5) and kill(1) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: closed >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sun Jan 06 23:10:03 PST 2002 >Closed-Date: Mon Jan 7 04:49:51 PST 2002 >Last-Modified: Mon Jan 7 14:10:01 PST 2002 >Originator: Rich Morin >Release: FreeBSD 4.4-RELEASE i386 >Organization: Canta Forda Computer Laboratory >Environment: FreeBSD fb44.cfcl.com 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Tue Sep 18 11:57:08 PDT 2001 murray@builder.FreeBSD.org:/usr/src/sys/compile/GENERIC i386 >Description: The exports(5) and kill(1) manual pages say that one can use the '-s' option to send named signals to a process, as: kill -s HUP `cat /var/run/mountd.pid` The kill command, however, does not accept this option: s: Unknown signal; kill -l lists signals. >How-To-Repeat: kill -s HUP ... >Fix: Either implement the feature or remove the fantasy option from the man pages... >Release-Note: >Audit-Trail: State-Changed-From-To: open->closed State-Changed-By: greid State-Changed-When: Mon Jan 7 04:49:51 PST 2002 State-Changed-Why: Pilot error. You are using the builtin kill in csh. From kill(1): Some shells may provide a builtin kill command which is similar or iden- tical to this utility. Consult the builtin(1) manual page. Calling kill as /bin/kill from a csh shell/script will let you use -s. http://www.FreeBSD.org/cgi/query-pr.cgi?pr=33635 From: Nik Clayton To: Rich Morin Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: docs/33635: fantasy '-s' option in exports(5) and kill(1) Date: Mon, 7 Jan 2002 13:05:28 +0000 --0z5c7mBtSy1wdr4F Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jan 06, 2002 at 11:03:20PM -0800, Rich Morin wrote: > >Description: >=20 > The exports(5) and kill(1) manual pages say that one can > use the '-s' option to send named signals to a process, as: >=20 > kill -s HUP `cat /var/run/mountd.pid` >=20 > The kill command, however, does not accept this option: >=20 > s: Unknown signal; kill -l lists signals. You're using your shell's built in kill. . . # ps -ax | grep inetd 194 ?? Is 0:00.05 inetd -wW # kill -s HUP 194 s: Unkown signal; kill -l lists signals. # which kill kill: shell built-in command # /bin/kill -s HUP 194 =20 N --=20 FreeBSD: The Power to Serve http://www.freebsd.org/ FreeBSD Documentation Project http://www.freebsd.org/docproj/ --- 15B8 3FFC DDB4 34B0 AA5F 94B7 93A8 0764 2C37 E375 --- --0z5c7mBtSy1wdr4F Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjw5nRgACgkQk6gHZCw343UbygCbBoeJeLkqkCLg/iLZNkpl88Yz 38oAmgKzLF6pfppjzZ2eyRA7AMaCIIwD =cnVo -----END PGP SIGNATURE----- --0z5c7mBtSy1wdr4F-- >Unformatted: