From owner-freebsd-bugs Sun Jan 28 1:10:19 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9BC7137B6A4 for ; Sun, 28 Jan 2001 01:10:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0S9A2g71269; Sun, 28 Jan 2001 01:10:02 -0800 (PST) (envelope-from gnats) Date: Sun, 28 Jan 2001 01:10:02 -0800 (PST) Message-Id: <200101280910.f0S9A2g71269@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Kris Kennaway Subject: Re: bin/24458: named-xfer executed at 20 priority level instead of wanted 0 level Reply-To: Kris Kennaway Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/24458; it has been noted by GNATS. From: Kris Kennaway To: "A.Yu.Isupov" Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: bin/24458: named-xfer executed at 20 priority level instead of wanted 0 level Date: Sun, 28 Jan 2001 01:00:42 -0800 --SFyWQ0h3ruR435lw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sat, Jan 20, 2001 at 03:18:19PM +0300, A.Yu.Isupov wrote: > Are you can follow up this bug report to BIND team ? I'm rather busy - it would be better if you did it. See http://www.isc.org/products/BIND/ Kris --SFyWQ0h3ruR435lw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE6c9+5Wry0BWjoQKURAmhQAJ0fKiMV/j5Wcd1Ty9Zz2NAvOcXYoQCgvGN3 mJjpyt+HeIDTZpDKwTKdYlI= =uQrC -----END PGP SIGNATURE----- --SFyWQ0h3ruR435lw-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Jan 28 1:50:20 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3D72637B69B for ; Sun, 28 Jan 2001 01:50:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0S9o1C73487; Sun, 28 Jan 2001 01:50:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 25B6F37B699 for ; Sun, 28 Jan 2001 01:48:56 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0S9mud73448; Sun, 28 Jan 2001 01:48:56 -0800 (PST) (envelope-from nobody) Message-Id: <200101280948.f0S9mud73448@freefall.freebsd.org> Date: Sun, 28 Jan 2001 01:48:56 -0800 (PST) From: pekkas@netcore.fi To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: bin/24691: map-mbone segfaults at getsockname Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24691 >Category: bin >Synopsis: map-mbone segfaults at getsockname >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jan 28 01:50:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Pekka Savola >Release: 4.2-RELEASE >Organization: Netcore >Environment: FreeBSD sixpack.csc.fi 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Mon Nov 20 13:02:55 GMT 2000 jkh@bento.FreeBSD.org:/usr/src/sys/compile/GENERIC i386 >Description: sixpack# map-mbone warning - inconsistent metric/threshold for neighbor 0.0.0.0 of 128.214.231.22 warning - inconsistent metric/threshold for neighbor 0.0.0.0 of 212.226.250.2 warning - inconsistent metric/threshold for neighbor 0.0.0.0 of 193.94.248.145 warning - inconsistent metric/threshold for neighbor 0.0.0.0 of 130.230.1.1 warning - inconsistent metric/threshold for neighbor 0.0.0.0 of 130.230.1.1 warning - inconsistent metric/threshold for neighbor 0.0.0.0 of 130.230.1.1 warning - inconsistent metric/threshold for neighbor 0.0.0.0 of 130.230.1.1 warning - inconsistent metric/threshold for neighbor 0.0.0.0 of 130.230.1.1 warning - inconsistent metric/threshold for neighbor 0.0.0.0 of 130.230.1.1 Segmentation fault (core dumped) # map-mbone -d 3 [snip dozens of lines] SENT neighbor request 2 from 193.166.3.140 to 130.230.103.10 RECV neighbor list 2 from 193.10.252.94 to 193.166.3.140 warning - inconsistent metric/threshold for neighbor 0.0.0.0 of 193.10.252.94 SENT neighbor request from 193.166.3.140 to 130.225.244.238 Bus error (core dumped) The system is directly connected to mbone and 6bone. Running 'gdb /usr/sbin/map-mbone map-mbone.core', it seems it crashed at getsockname(). There is only one getsockname in mapper.c. I believe this might only happen if you have IPv6 in use. >How-To-Repeat: See above. >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Jan 28 3:14: 2 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C408237B400; Sun, 28 Jan 2001 03:13:42 -0800 (PST) Received: (from roam@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0SBDgv82825; Sun, 28 Jan 2001 03:13:42 -0800 (PST) (envelope-from roam) Date: Sun, 28 Jan 2001 03:13:42 -0800 (PST) From: Message-Id: <200101281113.f0SBDgv82825@freefall.freebsd.org> To: roam@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-ports@FreeBSD.org Subject: Re: misc/24687: QUAKE FORGE & SVGALIB Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: QUAKE FORGE & SVGALIB Responsible-Changed-From-To: freebsd-bugs->freebsd-ports Responsible-Changed-By: roam Responsible-Changed-When: Sun Jan 28 03:13:15 PST 2001 Responsible-Changed-Why: Misfiled PR. http://www.freebsd.org/cgi/query-pr.cgi?pr=24687 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Jan 28 4:10:23 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4E2A537B402 for ; Sun, 28 Jan 2001 04:10:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0SCA3x92300; Sun, 28 Jan 2001 04:10:03 -0800 (PST) (envelope-from gnats) Date: Sun, 28 Jan 2001 04:10:03 -0800 (PST) Message-Id: <200101281210.f0SCA3x92300@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Klaus A. Brunner" Subject: Re: bin/24683: obscure natd(8) error message Reply-To: "Klaus A. Brunner" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/24683; it has been noted by GNATS. From: "Klaus A. Brunner" To: freebsd-gnats-submit@FreeBSD.org, klaus@winf.htu.tuwien.ac.at Cc: Subject: Re: bin/24683: obscure natd(8) error message Date: Sun, 28 Jan 2001 13:01:48 +0100 This is a multi-part message in MIME format. --------------C13813343533D3E74851CCCD Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Here's a slightly extended patch which also substitutes snprintf() for sprintf(). --------------C13813343533D3E74851CCCD Content-Type: text/plain; charset=us-ascii; name="natd.newpatch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="natd.newpatch" Index: natd/natd.c =================================================================== RCS file: /home/ncvs/src/sbin/natd/natd.c,v retrieving revision 1.25.2.3 diff -u -r1.25.2.3 natd.c --- natd/natd.c 2000/07/11 20:00:57 1.25.2.3 +++ natd/natd.c 2001/01/28 11:57:13 @@ -586,7 +586,7 @@ static void FlushPacketBuffer (int fd) { int wrote; - char msgBuf[80]; + char msgBuf[160]; /* * Put packet back for processing. */ @@ -616,10 +616,12 @@ } else { - sprintf (msgBuf, "failed to write packet back"); + snprintf (msgBuf, sizeof(msgBuf), + "failed to write packet back (%s)", + FormatPacket((struct ip*)packetBuf); Warn (msgBuf); } - } + } packetSock = -1; } @@ -680,7 +682,8 @@ switch (ip->ip_p) { case IPPROTO_TCP: tcphdr = (struct tcphdr*) ((char*) ip + (ip->ip_hl << 2)); - sprintf (buf, "[TCP] %s:%d -> %s:%d", + snprintf (buf, sizeof(buf), + "[TCP] %s:%d -> %s:%d", src, ntohs (tcphdr->th_sport), dst, @@ -689,7 +692,8 @@ case IPPROTO_UDP: udphdr = (struct udphdr*) ((char*) ip + (ip->ip_hl << 2)); - sprintf (buf, "[UDP] %s:%d -> %s:%d", + snprintf (buf, sizeof(buf), + "[UDP] %s:%d -> %s:%d", src, ntohs (udphdr->uh_sport), dst, @@ -698,7 +702,8 @@ case IPPROTO_ICMP: icmphdr = (struct icmp*) ((char*) ip + (ip->ip_hl << 2)); - sprintf (buf, "[ICMP] %s -> %s %u(%u)", + snprintf (buf, sizeof(buf), + "[ICMP] %s -> %s %u(%u)", src, dst, icmphdr->icmp_type, @@ -706,7 +711,8 @@ break; default: - sprintf (buf, "[%d] %s -> %s ", ip->ip_p, src, dst); + snprintf (buf, sizeof(buf), "[%d] %s -> %s ", + ip->ip_p, src, dst); break; } --------------C13813343533D3E74851CCCD-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Jan 28 5:10:32 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id ED07137B400; Sun, 28 Jan 2001 05:10:15 -0800 (PST) Received: (from dwmalone@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0SDAFr97623; Sun, 28 Jan 2001 05:10:15 -0800 (PST) (envelope-from dwmalone) Date: Sun, 28 Jan 2001 05:10:15 -0800 (PST) From: Message-Id: <200101281310.f0SDAFr97623@freefall.freebsd.org> To: fogoss@remixnetwork.com, dwmalone@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: i386/24689: system hangs at checking quotas startup Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: system hangs at checking quotas startup State-Changed-From-To: open->closed State-Changed-By: dwmalone State-Changed-When: Sun Jan 28 05:09:31 PST 2001 State-Changed-Why: Closed at submitters request - problem was caused by misconfiguration. http://www.freebsd.org/cgi/query-pr.cgi?pr=24689 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Jan 28 5:40:25 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E9DB937B402 for ; Sun, 28 Jan 2001 05:40:04 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0SDe4w99292; Sun, 28 Jan 2001 05:40:04 -0800 (PST) (envelope-from gnats) Date: Sun, 28 Jan 2001 05:40:04 -0800 (PST) Message-Id: <200101281340.f0SDe4w99292@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Dmitry Kazarov" Subject: Re: bin/21208: tar does not support 2.5 GB file Reply-To: "Dmitry Kazarov" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/21208; it has been noted by GNATS. From: "Dmitry Kazarov" To: , Cc: Subject: Re: bin/21208: tar does not support 2.5 GB file Date: Sun, 28 Jan 2001 16:31:09 +0300 This hirts me too. Dmitry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Jan 28 6: 0:19 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7C5EC37B404 for ; Sun, 28 Jan 2001 06:00:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0SE03600635; Sun, 28 Jan 2001 06:00:03 -0800 (PST) (envelope-from gnats) Date: Sun, 28 Jan 2001 06:00:03 -0800 (PST) Message-Id: <200101281400.f0SE03600635@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "A.Yu.Isupov" Subject: Re: bin/24458: named-xfer executed at 20 priority level instead of wanted 0 level Reply-To: "A.Yu.Isupov" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/24458; it has been noted by GNATS. From: "A.Yu.Isupov" To: Kris Kennaway Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: bin/24458: named-xfer executed at 20 priority level instead of wanted 0 level Date: Sun, 28 Jan 2001 16:53:04 +0300 (MSK) OK, I submit it to bind-bugs@isc.org and obtain number [BIND-BUGS #4033] ... Will wait. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Jan 28 9:17:34 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2CA2337B699 for ; Sun, 28 Jan 2001 09:00:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0SH02f03007; Sun, 28 Jan 2001 09:00:02 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A67DC37B400 for ; Sun, 28 Jan 2001 08:58:59 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0SGwxC02937; Sun, 28 Jan 2001 08:58:59 -0800 (PST) (envelope-from nobody) Message-Id: <200101281658.f0SGwxC02937@freefall.freebsd.org> Date: Sun, 28 Jan 2001 08:58:59 -0800 (PST) From: gwna@geocities.co.jp To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/24696: compile error while defines DEB(x) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24696 >Category: kern >Synopsis: compile error while defines DEB(x) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jan 28 09:00:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Hirokazu WATANABE >Release: FreeBSD 4.2-RELEASE >Organization: >Environment: FreeBSD nike.private 4.2-RELEASE FreeBSD 4.2-RELEASE #27: Sun Jan 28 14:13:19 JST 2001 watanabe@nike@private:/usr/src/sys/compile/NIKE i386 >Description: Compile error occurs in sys/dev/sound/isa/{ess,sb}.c. It uses struct "d", but no "d" is defined in that sources. I think it must be "sc" and "sb". >How-To-Repeat: o Adds a sentence of "device pcm" into kernel configuration file. o Adds "#define DEB(x) x" into sys/dev/sound/pcm/sound.h. o Chdir compile/XXX, then make! >Fix: $FreeBSD: src/sys/dev/sound/isa/ess.c,v 1.3.2.2 2000/10/05 05:07:49 cg Exp *** ess.c.org Thu Oct 5 14:07:49 2000 --- ess.c Mon Jan 29 01:36:40 2001 *************** *** 302,308 **** ess_wr(sc, SBDSP_RST, 0); if (ess_get_byte(sc) != 0xAA) { DEB(printf("ess_reset_dsp 0x%lx failed\n", ! rman_get_start(d->io_base))); return ENXIO; /* Sorry */ } ess_cmd(sc, 0xc6); --- 302,308 ---- ess_wr(sc, SBDSP_RST, 0); if (ess_get_byte(sc) != 0xAA) { DEB(printf("ess_reset_dsp 0x%lx failed\n", ! rman_get_start(sc->io_base))); return ENXIO; /* Sorry */ } ess_cmd(sc, 0xc6); $FreeBSD: src/sys/dev/sound/isa/sb.c,v 1.50.2.3 2000/10/05 05:07:49 cg Exp *** sb.c.org Thu Oct 5 14:07:49 2000 --- sb.c Mon Jan 29 01:37:20 2001 *************** *** 319,325 **** sb_wr(sb, SBDSP_RST, 0); if (sb_get_byte(sb) != 0xAA) { DEB(printf("sb_reset_dsp 0x%lx failed\n", ! rman_get_start(d->io_base))); return ENXIO; /* Sorry */ } if (sb->bd_flags & BD_F_ESS) --- 319,325 ---- sb_wr(sb, SBDSP_RST, 0); if (sb_get_byte(sb) != 0xAA) { DEB(printf("sb_reset_dsp 0x%lx failed\n", ! rman_get_start(sb->io_base))); return ENXIO; /* Sorry */ } if (sb->bd_flags & BD_F_ESS) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Jan 28 9:17:38 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id DF9B237B404 for ; Sun, 28 Jan 2001 09:00:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0SH01K02998; Sun, 28 Jan 2001 09:00:01 -0800 (PST) (envelope-from gnats) Received: from d9168.upc-d.chello.nl (d9168.upc-d.chello.nl [213.46.9.168]) by hub.freebsd.org (Postfix) with ESMTP id A106337B400 for ; Sun, 28 Jan 2001 08:51:37 -0800 (PST) Received: by d9168.upc-d.chello.nl (Postfix, from userid 1001) id 4DBE775; Sun, 28 Jan 2001 17:51:36 +0100 (CET) Message-Id: <20010128165136.4DBE775@d9168.upc-d.chello.nl> Date: Sun, 28 Jan 2001 17:51:36 +0100 (CET) From: mavetju@chello.nl Reply-To: mavetju@chello.nl To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/24695: [patch] pkg_info: prefix search for a package Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24695 >Category: bin >Synopsis: [patch] pkg_info: prefix search for a package >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jan 28 09:00:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Edwin Groothuis >Release: FreeBSD 4.2-RELEASE i386 >Organization: - >Environment: pkg_install, HEAD tag main.c: 1.27 pkg_info.1: 1.31 perform.c: 1.32 >Description: Sometimes I need to find the know the description or the version of an installed package. Of course, pkg_info -a | grep string works fine, but userfriendly? By adding the -F option (fuzzy search), it will not check for the full name of the package but use the given pkg-name as a prefix in the package to search for. >How-To-Repeat: [~] edwin@p6>pkg_info -F screen Information for screen-3.9.5: Comment: A multi-screen window manager [...] >Fix: Index: main.c =================================================================== RCS file: /home/ncvs/src/usr.sbin/pkg_install/info/main.c,v retrieving revision 1.27 diff -u -r1.27 main.c --- main.c 2000/12/05 11:02:19 1.27 +++ main.c 2001/01/28 16:49:12 @@ -28,11 +28,12 @@ "$FreeBSD: src/usr.sbin/pkg_install/info/main.c,v 1.27 2000/12/05 11:02:19 sobomax Exp $"; #endif -static char Options[] = "acdDe:fhiIkl:LmopqrRst:v"; +static char Options[] = "acdDe:fFhiIkl:LmopqrRst:v"; int Flags = 0; Boolean AllInstalled = FALSE; Boolean Quiet = FALSE; +Boolean FuzzySearch = FALSE; char *InfoPrefix = ""; char PlayPen[FILENAME_MAX]; char *CheckPkg = NULL; @@ -86,6 +87,10 @@ case 'f': Flags |= SHOW_PLIST; + break; + + case 'F': + FuzzySearch = TRUE; break; case 'i': Index: perform.c =================================================================== RCS file: /home/ncvs/src/usr.sbin/pkg_install/info/perform.c,v retrieving revision 1.32 diff -u -r1.32 perform.c --- perform.c 2000/10/23 07:01:31 1.32 +++ perform.c 2001/01/28 16:49:13 @@ -137,9 +137,27 @@ /* It's not an ininstalled package, try and find it among the installed */ else { char *tmp; + extern Boolean FuzzySearch; - sprintf(log_dir, "%s/%s", (tmp = getenv(PKG_DBDIR)) ? tmp : DEF_LOG_DIR, - pkg); + tmp = getenv(PKG_DBDIR) ? tmp : DEF_LOG_DIR; + sprintf(log_dir, "%s/%s", tmp, pkg); + if (FuzzySearch==TRUE) { + DIR *dirp=opendir(tmp); + struct dirent *dp; + + while ((dp = readdir(dirp)) != NULL) + if (strncmp(dp->d_name, pkg, strlen(pkg))==0) + break; + closedir(dirp); + + if (dp==NULL) { + warnx("can't find a package prefixed with `%s'!", pkg); + return 1; + } + sprintf(log_dir, "%s/%s", tmp, dp->d_name); + pkg=dp->d_name; + } + if (!fexists(log_dir)) { warnx("can't find package `%s' installed or in a file!", pkg); return 1; Index: pkg_info.1 =================================================================== RCS file: /home/ncvs/src/usr.sbin/pkg_install/info/pkg_info.1,v retrieving revision 1.31 diff -u -r1.31 pkg_info.1 --- pkg_info.1 2000/12/27 15:30:19 1.31 +++ pkg_info.1 2001/01/28 16:49:13 @@ -24,13 +24,13 @@ .Nm pkg_info .Nd a utility for displaying information on software packages .Sh SYNOPSIS -.Nm -.Op Fl cdDfiIkLmopqrRsv +.Nm pkg_info +.Op Fl cdDfFiIkLmopqrRsv .Op Fl e Ar package .Op Fl l Ar prefix .Op Fl t Ar template .Ar pkg-name [pkg-name ...] -.Nm +.Nm pkg_info .Fl a .Op Ar flags .Sh DESCRIPTION @@ -69,6 +69,10 @@ Show the install-message file for each package. .It Fl f Show the packing list instructions for each package. +.It Fl F +Threat the +.Ar pkg-name +as a prefix of the named package being search for. .It Fl i Show the install script (if any) for each package. .It Fl I >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Jan 28 9:50:22 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9ABFA37B402 for ; Sun, 28 Jan 2001 09:50:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0SHo3W08301; Sun, 28 Jan 2001 09:50:03 -0800 (PST) (envelope-from gnats) Date: Sun, 28 Jan 2001 09:50:03 -0800 (PST) Message-Id: <200101281750.f0SHo3W08301@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Peter Pentchev Subject: Re: bin/24695: [patch] pkg_info: prefix search for a package Reply-To: Peter Pentchev Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/24695; it has been noted by GNATS. From: Peter Pentchev To: mavetju@chello.nl Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: bin/24695: [patch] pkg_info: prefix search for a package Date: Sun, 28 Jan 2001 19:44:49 +0200 On Sun, Jan 28, 2001 at 05:51:36PM +0100, mavetju@chello.nl wrote: > > >Number: 24695 > >Category: bin > >Synopsis: [patch] pkg_info: prefix search for a package > >Originator: Edwin Groothuis > >Release: FreeBSD 4.2-RELEASE i386 > >Organization: > - > >Environment: > > pkg_install, HEAD tag > main.c: 1.27 > pkg_info.1: 1.31 > perform.c: 1.32 > > > >Description: > > Sometimes I need to find the know the description or the > version of an installed package. Of course, pkg_info -a | > grep string works fine, but userfriendly? By adding the -F > option (fuzzy search), it will not check for the full name > of the package but use the given pkg-name as a prefix in > the package to search for. > > >How-To-Repeat: > > [~] edwin@p6>pkg_info -F screen > Information for screen-3.9.5: > > Comment: > A multi-screen window manager > [...] Hmm.. I've been meaning to try and do something like this for a long time, but I haven't been able to find the time :) Still, now that I've taken a look at code someone has actually written, there are a couple of comments. Shouldn't the FuzzySearch opendir/readdir logic be outside of the pkg_do() routine, and call pkg_do() once for every file it finds? Currently you stop at the very first file you find, which might not be so good if multiple versions of a package are installed, or if the user deliberately tries to query several packages with a common prefix (e.g. mysql-client/ mysql-server). Apart from that, it's great that you've actually taken the time and implemented this :) G'luck, Peter -- This inert sentence is my body, but my soul is alive, dancing in the sparks of your brain. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Jan 28 10:10:24 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 57BBE37B402 for ; Sun, 28 Jan 2001 10:10:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0SIA3A11605; Sun, 28 Jan 2001 10:10:03 -0800 (PST) (envelope-from gnats) Date: Sun, 28 Jan 2001 10:10:03 -0800 (PST) Message-Id: <200101281810.f0SIA3A11605@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Poul-Henning Kamp Subject: Re: bin/24677: "mdconfig -t vnode -f floppy.bin" seg fault's Reply-To: Poul-Henning Kamp Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/24677; it has been noted by GNATS. From: Poul-Henning Kamp To: sydney13@mail.com Cc: freebsd-gnats-submit@FreeBSD.ORG Subject: Re: bin/24677: "mdconfig -t vnode -f floppy.bin" seg fault's Date: Sun, 28 Jan 2001 19:03:09 +0100 >>Synopsis: "mdconfig -t vnode -f floppy.bin" seg fault's Your mdconfig and kernel are out of sync. Make sure to build world or at least includes. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | 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 freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Jan 28 11:10:19 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8ED8837B69E for ; Sun, 28 Jan 2001 11:10:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0SJA1n19052; Sun, 28 Jan 2001 11:10:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id F39B637B400 for ; Sun, 28 Jan 2001 11:02:12 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0SJ2C716142; Sun, 28 Jan 2001 11:02:12 -0800 (PST) (envelope-from nobody) Message-Id: <200101281902.f0SJ2C716142@freefall.freebsd.org> Date: Sun, 28 Jan 2001 11:02:12 -0800 (PST) From: c_sudan@email.msn.com To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: i386/24701: tempnam() possibly used unsafely by libg2c.so during FORTRAN compilation Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24701 >Category: i386 >Synopsis: tempnam() possibly used unsafely by libg2c.so during FORTRAN compilation >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jan 28 11:10:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Nick Sudan >Release: 4.1 Release >Organization: >Environment: FreeBSD 4.1-RELEASE FreeBSD 4.1-RELEASE #0: Fri Jul 28 14:30:31 GMT 2000 jkh@ref.freebsd.org:/usr/src/sys/compile/GENERIC i386 >Description: Compiling/executing a FORTRAN program fails, with the following message displayed: "/usr/lib/libg2c.so: warning: tempnam() possibly used unsafely; consider using mkstemp()". I'm pretty sure that it is not a problem with my Fortran program (I started with one that is ridiculously simple and tried others) or OS or library modifications (see "how to repeat the problem"). p.s. sorry if this is not the right forum for this problem (I'm a newbie)-- please point me in the right direction if it is the wrong forum. >How-To-Repeat: Start with a fresh PC, nothing on the hard drive (i.e. no partitions). Install FreeBSD from the CD ROM using the X User distribution. Reboot from the hardrive, login, create the simplest FORTRAN program you can think of with the .f extension (I tried other extensions, and they producted the same problem), use f77 to compile/execute the program, and before you get any output from the program, the above error message appears. In short, the most vanilla version of FreeBSD will not let you use the Fortran compiler! (it is the single reason I purchased FreeBSD, for a Fortran compiler and UNIX based OS) For example, I created nick.f with the following contents: PROGRAM NICK PRINT *, 'HELLO' END Then, from the command line I typed "f77 nick.f". Bingo, error message, and no "HELLO" on my screen. >Fix: I wish I knew! >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Jan 28 11:40:22 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 182DD37B6A2 for ; Sun, 28 Jan 2001 11:40:04 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0SJe4D21748; Sun, 28 Jan 2001 11:40:04 -0800 (PST) (envelope-from gnats) Date: Sun, 28 Jan 2001 11:40:04 -0800 (PST) Message-Id: <200101281940.f0SJe4D21748@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Thomas Moestl Subject: Re: i386/24701: tempnam() possibly used unsafely by libg2c.so during FORTRAN compilation Reply-To: Thomas Moestl Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR i386/24701; it has been noted by GNATS. From: Thomas Moestl To: freebsd-gnats-submit@FreeBSD.org, c_sudan@email.msn.com Cc: Subject: Re: i386/24701: tempnam() possibly used unsafely by libg2c.so during FORTRAN compilation Date: Sun, 28 Jan 2001 21:22:40 +0100 > Compiling/executing a FORTRAN program fails, with the following > message displayed: "/usr/lib/libg2c.so: warning: tempnam() possibly > used unsafely; consider using mkstemp()". I'm pretty sure that it is > not a problem with my Fortran program (I started with one that is > ridiculously simple and tried others) or OS or library modifications > (see "how to repeat the problem"). As the message says, this is a warning, not an error. > For example, I created nick.f with the following contents: > PROGRAM NICK > PRINT *, 'HELLO' > END > Then, from the command line I typed "f77 nick.f". Bingo, error > message, and no "HELLO" on my screen. f77 compiles your program, but will not execute it. You should find the executable a.out in your working directory that was compiled from your program source code. "./a.out" in a shell should print the HELLO ;-) "man f77" should give further details. - thomas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Jan 28 12:20:21 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B684A37B402 for ; Sun, 28 Jan 2001 12:20:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0SKK2i27534; Sun, 28 Jan 2001 12:20:02 -0800 (PST) (envelope-from gnats) Date: Sun, 28 Jan 2001 12:20:02 -0800 (PST) Message-Id: <200101282020.f0SKK2i27534@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: System Administrator Subject: Re: i386/24666: ipfw bridging and dummynet causes panic in 4.2,4.1 and stops in 3.5.1 Reply-To: System Administrator Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR i386/24666; it has been noted by GNATS. From: System Administrator To: freebsd-gnats-submit@FreeBSD.org, admin@allegan.net Cc: Subject: Re: i386/24666: ipfw bridging and dummynet causes panic in 4.2,4.1 and stops in 3.5.1 Date: Sun, 28 Jan 2001 15:14:48 -0500 Thank you, Thomas!!!!! That did the trick! I upgraded to 4.2-STABLE and the ipfw, bridging and dummynet work like a charm! I am once again a happy camper! Sean To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Jan 28 12:50:24 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A88AC37B404 for ; Sun, 28 Jan 2001 12:50:04 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0SKo4p29204; Sun, 28 Jan 2001 12:50:04 -0800 (PST) (envelope-from gnats) Date: Sun, 28 Jan 2001 12:50:04 -0800 (PST) Message-Id: <200101282050.f0SKo4p29204@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Edwin Groothuis Subject: Re: bin/24679: [patch] sshd: missing -V -Q option in Usage-options Reply-To: Edwin Groothuis Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/24679; it has been noted by GNATS. From: Edwin Groothuis To: FreeBSD-gnats-submit@freebsd.org Cc: Peter Pentchev Subject: Re: bin/24679: [patch] sshd: missing -V -Q option in Usage-options Date: Sun, 28 Jan 2001 21:42:43 +0100 On Sat, Jan 27, 2001 at 07:09:23PM +0200, Peter Pentchev wrote: > Shouldn't this be taken up with the OpenSSH folks, and fixed in the 'real' > source? Got this from the OpenSSH developers: Synopsis: [patch] sshd.c: missing -V -Q option in Usage-options State-Changed-From-To: open-closed State-Changed-By: markus State-Changed-When: Sun Jan 28 13:32:16 MST 2001 State-Changed-Why: -Q is obsolete since Sep 2000 and is only accepted for backward compatibility -V is not for internal use only (by lsh and ssh.com for ssh-1 fallback). and will not be documented in usage(). Please close this PR. Edwin -- Edwin Groothuis | Interested in MUDs? Visit Fatal Dimensions: mavetju@chello.nl | http://fataldimensions.nl.eu.org/ ------------------+ telnet://fataldimensions.nl.eu.org:4000 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Jan 28 13:20:19 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9E74A37B404 for ; Sun, 28 Jan 2001 13:20:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0SLK1V33789; Sun, 28 Jan 2001 13:20:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id ABEF337B402 for ; Sun, 28 Jan 2001 13:12:46 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0SLCk733189; Sun, 28 Jan 2001 13:12:46 -0800 (PST) (envelope-from nobody) Message-Id: <200101282112.f0SLCk733189@freefall.freebsd.org> Date: Sun, 28 Jan 2001 13:12:46 -0800 (PST) From: tony@nua.ie To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: bin/24704: syslog produces repeated corrupt messages to /dev/console under certain circumstances Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24704 >Category: bin >Synopsis: syslog produces repeated corrupt messages to /dev/console under certain circumstances >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jan 28 13:20:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Tony Byrne >Release: 4.2-STABLE >Organization: Nua Ltd. >Environment: FreeBSD cerberus.merrion.nua.net 4.2-STABLE FreeBSD 4.2-STABLE #0: Wed Jan 24 15:45:09 GMT 2001 tony@cerberus.merrion.nua.net:/usr/obj/usr/src/sys/CERBERUS i386 >Description: Under certain circumstances, syslogd will quickly and repeatedly fill /dev/console with corrupt log output. Messages are output at a rate of tens per second. Whenever syslogd exhibits this behaviour, it consumes a large slice of CPU time. An example of this output is: 4 23:17:23 cerberus /kernel: Jan 24 23:17:23 cerberus /kernel: Jan 24 23:17:23 cerberus /kernel: Jan 24 23:17:23 cerberus /kernel: Jan 24 23:17:23 cerberus /kernel: Jan 24 23:17:23 cerberus /kernel: Jan 24 23:17:23 cerberus /kernel: Jan 24 23:17:23 cerberus /kernel: Jan 24 23:17:23 cerberus /kernel: Jan 24 23:17:23 cerberus /kernel: Jan 24 23:17:23 cerberus /kernel: Jan 24 23:17:23 cerberus /kernel: Jan 24 23:17:23 cerberus syslogd: restart These messsages appear on the console without line breaks and without any meaningful log content. The problem seems to be connected with the newly added LOG_CONSOLE facility (MFC'd recently from CURRENT). It occurs whenever /etc/syslog.conf contains an entry that causes log messages with the LOG_CONSOLE facility to be directed to /dev/console. A typical example of a triggering syslog.conf entry would be: *.* /dev/console >How-To-Repeat: 1) Edit /etc/syslog.conf 2) Insert the line: *.* /dev/console near the top of the file. 3) Restart syslogd >Fix: Ensure that syslog.conf does not use wildcards in such a way that messages with the LOG_CONSOLE facility are directed to /dev/console. The syslogd.c source file seems to include code to prevent this particular problem from arising, but it appears to be broken. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Jan 28 14: 0:28 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C8EB237B400 for ; Sun, 28 Jan 2001 14:00:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0SM03739809; Sun, 28 Jan 2001 14:00:03 -0800 (PST) (envelope-from gnats) Date: Sun, 28 Jan 2001 14:00:03 -0800 (PST) Message-Id: <200101282200.f0SM03739809@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Edwin Groothuis Subject: Re: bin/24695: [patch] pkg_info: prefix search for a package Reply-To: Edwin Groothuis Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/24695; it has been noted by GNATS. From: Edwin Groothuis To: FreeBSD-gnats-submit@freebsd.org Cc: Peter Pentchev Subject: Re: bin/24695: [patch] pkg_info: prefix search for a package Date: Sun, 28 Jan 2001 22:56:19 +0100 On Sun, Jan 28, 2001 at 07:44:49PM +0200, Peter Pentchev wrote: > Shouldn't the FuzzySearch opendir/readdir logic be outside of the pkg_do() > routine, and call pkg_do() once for every file it finds? Currently you > stop at the very first file you find, which might not be so good if Yes, besides that pkg_do actually consists of two functions in one: find the right files and display the information on them. I've pulled them apart and I've added your suggestion. > multiple versions of a package are installed, or if the user deliberately > tries to query several packages with a common prefix (e.g. mysql-client/ > mysql-server). That's something I hadn't thought about yet :-) Here is a new patch, which implements your suggestion. It euh... has two things now in it: pkg_info -F stringsomehwereinthepackagename pkg_info -P stringprefixofthepackagename So people looking for the twenty versions of mysql are happy with the -P and people which are looking for all packages related to mysql are happy with the -F. Edwin -- Edwin Groothuis | Interested in MUDs? Visit Fatal Dimensions: mavetju@chello.nl | http://fataldimensions.nl.eu.org/ ------------------+ telnet://fataldimensions.nl.eu.org:4000 Index: main.c =================================================================== RCS file: /home/ncvs/src/usr.sbin/pkg_install/info/main.c,v retrieving revision 1.27 diff -u -r1.27 main.c --- main.c 2000/12/05 11:02:19 1.27 +++ main.c 2001/01/28 21:55:10 @@ -28,11 +28,13 @@ "$FreeBSD: src/usr.sbin/pkg_install/info/main.c,v 1.27 2000/12/05 11:02:19 sobomax Exp $"; #endif -static char Options[] = "acdDe:fhiIkl:LmopqrRst:v"; +static char Options[] = "acdDe:fFhiIkl:LmopPqrRst:v"; int Flags = 0; Boolean AllInstalled = FALSE; Boolean Quiet = FALSE; +Boolean FuzzySearch = FALSE; +Boolean PrefixSearch = FALSE; char *InfoPrefix = ""; char PlayPen[FILENAME_MAX]; char *CheckPkg = NULL; @@ -72,6 +74,10 @@ Flags |= SHOW_PREFIX; break; + case 'P': + PrefixSearch = TRUE; + break; + case 'c': Flags |= SHOW_COMMENT; break; @@ -86,6 +92,10 @@ case 'f': Flags |= SHOW_PLIST; + break; + + case 'F': + FuzzySearch = TRUE; break; case 'i': Index: perform.c =================================================================== RCS file: /home/ncvs/src/usr.sbin/pkg_install/info/perform.c,v retrieving revision 1.32 diff -u -r1.32 perform.c --- perform.c 2000/10/23 07:01:31 1.32 +++ perform.c 2001/01/28 21:55:10 @@ -32,6 +32,7 @@ static int fname_cmp(const FTSENT **, const FTSENT **); static int pkg_do(char *); +static int pkg_info(char *, Boolean); int pkg_perform(char **pkgs) @@ -86,8 +87,6 @@ Boolean installed = FALSE, isTMP = FALSE; char log_dir[FILENAME_MAX]; char fname[FILENAME_MAX]; - Package plist; - FILE *fp; struct stat sb; char *cp = NULL; int code = 0; @@ -137,9 +136,49 @@ /* It's not an ininstalled package, try and find it among the installed */ else { char *tmp; + extern Boolean FuzzySearch, PrefixSearch; + + tmp = getenv(PKG_DBDIR); + if (tmp == NULL) + tmp = DEF_LOG_DIR; + sprintf(log_dir, "%s/%s", tmp, pkg); + installed = TRUE; - sprintf(log_dir, "%s/%s", (tmp = getenv(PKG_DBDIR)) ? tmp : DEF_LOG_DIR, - pkg); + /* If doing a prefix-search / fuzzy-search, go through all the files + * in the pkg_db directory (as indicated by tmp) and see if they + * matches the given description, then dump the information of it. + */ + if (FuzzySearch == TRUE || PrefixSearch == TRUE) { + DIR *dirp = opendir(tmp); + struct dirent *dp; + Boolean found = FALSE; + char *thispkg; + + while ((dp = readdir(dirp)) != NULL) { + if ((FuzzySearch == TRUE && strstr(dp->d_name, pkg) != NULL ) || + (PrefixSearch == TRUE && + strncmp(pkg, dp->d_name, strlen(pkg)) == 0 )) { + sprintf(log_dir, "%s/%s", tmp, dp->d_name); + thispkg = dp->d_name; + + if (chdir(log_dir) == FAIL) { + warnx("can't change directory to '%s'!", log_dir); + return 1; + } + pkg_info(thispkg, installed); + found++; + } + } + closedir(dirp); + + if (found==0) { + warnx("can't find a package prefixed with `%s'!", pkg); + return 1; + } + leave_playpen(); + return 0; + } + if (!fexists(log_dir)) { warnx("can't find package `%s' installed or in a file!", pkg); return 1; @@ -148,16 +187,28 @@ warnx("can't change directory to '%s'!", log_dir); return 1; } - installed = TRUE; } + code = pkg_info(pkg, installed); + bail: + leave_playpen(); + if (isTMP) + unlink(fname); + return code; +} + +static int +pkg_info(char *pkg, Boolean installed) { + Package plist; + FILE *fp; + int code = 0; + /* Suck in the contents list */ plist.head = plist.tail = NULL; fp = fopen(CONTENTS_FNAME, "r"); if (!fp) { warnx("unable to open %s file", CONTENTS_FNAME); - code = 1; - goto bail; + return 1; } /* If we have a prefix, add it now */ read_plist(&plist, fp); @@ -211,10 +262,6 @@ puts(InfoPrefix); } free_plist(&plist); - bail: - leave_playpen(); - if (isTMP) - unlink(fname); return code; } Index: pkg_info.1 =================================================================== RCS file: /home/ncvs/src/usr.sbin/pkg_install/info/pkg_info.1,v retrieving revision 1.31 diff -u -r1.31 pkg_info.1 --- pkg_info.1 2000/12/27 15:30:19 1.31 +++ pkg_info.1 2001/01/28 21:55:11 @@ -24,13 +24,13 @@ .Nm pkg_info .Nd a utility for displaying information on software packages .Sh SYNOPSIS -.Nm -.Op Fl cdDfiIkLmopqrRsv +.Nm pkg_info +.Op Fl cdDfFiIkLmopPqrRsv .Op Fl e Ar package .Op Fl l Ar prefix .Op Fl t Ar template .Ar pkg-name [pkg-name ...] -.Nm +.Nm pkg_info .Fl a .Op Ar flags .Sh DESCRIPTION @@ -54,6 +54,14 @@ Show all currently installed packages. .It Fl v Turn on verbose output. +.It Fl P +Threat the +.Ar pkg-name +as a prefix of the name of the package being searched for. +.It Fl F +Threat the +.Ar pkg-name +as a string somewhere in the name of the package being searched for. .It Fl p Show the installation prefix for each package. .It Fl q To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Jan 28 14:20:18 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id F094937B400 for ; Sun, 28 Jan 2001 14:20:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0SMK1X43725; Sun, 28 Jan 2001 14:20:01 -0800 (PST) (envelope-from gnats) Date: Sun, 28 Jan 2001 14:20:01 -0800 (PST) Message-Id: <200101282220.f0SMK1X43725@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Peter Pentchev Subject: Re: bin/24695: [patch] pkg_info: prefix search for a package Reply-To: Peter Pentchev Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/24695; it has been noted by GNATS. From: Peter Pentchev To: Edwin Groothuis Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: bin/24695: [patch] pkg_info: prefix search for a package Date: Mon, 29 Jan 2001 00:18:09 +0200 On Sun, Jan 28, 2001 at 10:56:19PM +0100, Edwin Groothuis wrote: > On Sun, Jan 28, 2001 at 07:44:49PM +0200, Peter Pentchev wrote: > > Shouldn't the FuzzySearch opendir/readdir logic be outside of the pkg_do() > > routine, and call pkg_do() once for every file it finds? Currently you > > stop at the very first file you find, which might not be so good if > > Yes, besides that pkg_do actually consists of two functions in one: > find the right files and display the information on them. I've > pulled them apart and I've added your suggestion. > > > multiple versions of a package are installed, or if the user deliberately > > tries to query several packages with a common prefix (e.g. mysql-client/ > > mysql-server). > > That's something I hadn't thought about yet :-) > > Here is a new patch, which implements your suggestion. It euh... > has two things now in it: > > pkg_info -F stringsomehwereinthepackagename > pkg_info -P stringprefixofthepackagename > > So people looking for the twenty versions of mysql are happy with > the -P and people which are looking for all packages related to > mysql are happy with the -F. This one works great! Hmm.. now to find somebody to look over the patch and possibly even commit it.. :) G'luck, Peter -- I've heard that this sentence is a rumor. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Jan 28 14:30:53 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from bazooka.unixfreak.org (bazooka.unixfreak.org [63.198.170.138]) by hub.freebsd.org (Postfix) with ESMTP id 0203037B698 for ; Sun, 28 Jan 2001 14:30:37 -0800 (PST) Received: by bazooka.unixfreak.org (Postfix, from userid 1000) id 18A0B3E02; Sun, 28 Jan 2001 14:30:36 -0800 (PST) Received: from unixfreak.org (localhost [127.0.0.1]) by bazooka.unixfreak.org (Postfix) with ESMTP id 1760F3C10B; Sun, 28 Jan 2001 14:30:36 -0800 (PST) To: phk@critter.freebsd.dk, sydney13@mail.com Cc: freebsd-bugs@FreeBSD.org Subject: Re: bin/24677: "mdconfig -t vnode -f floppy.bin" seg fault's In-Reply-To: Message from Poul-Henning Kamp of "Sun, 28 Jan 2001 10:10:03 PST." <200101281810.f0SIA3A11605@freefall.freebsd.org> Date: Sun, 28 Jan 2001 14:30:31 -0800 From: Dima Dorfman Message-Id: <20010128223036.18A0B3E02@bazooka.unixfreak.org> Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > >>Synopsis: "mdconfig -t vnode -f floppy.bin" seg fault's I think this PR can safely be closed (although I'm not the originator). The problem was fixed by phk in revision 1.5 of mdconfig.c. The commit message is a bit confusing, but the problem should be gone. Thanks Dima Dorfman dima@unixfreak.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Jan 28 16:30:33 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 692F037B6A4 for ; Sun, 28 Jan 2001 16:30:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0T0U2D57700; Sun, 28 Jan 2001 16:30:02 -0800 (PST) (envelope-from gnats) Received: from ikabod.private (HSE-London-ppp208869.sympatico.ca [64.228.135.232]) by hub.freebsd.org (Postfix) with ESMTP id B56BE37B6A0 for ; Sun, 28 Jan 2001 16:28:17 -0800 (PST) Received: (from root@localhost) by ikabod.private (8.11.1/8.11.2) id f0T0SBR60587; Mon, 29 Jan 2001 00:28:11 GMT (envelope-from root) Message-Id: <200101290028.f0T0SBR60587@ikabod.private> Date: Mon, 29 Jan 2001 00:28:11 GMT From: Mike Barcroft Reply-To: Mike Barcroft To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: bin/24707: [patch] Whois IP Address Handling Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24707 >Category: bin >Synopsis: [patch] Whois IP Address Handling >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jan 28 16:30:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Mike Barcroft >Release: FreeBSD 5.0-CURRENT i386 >Organization: Q9 Media >Environment: $FreeBSD: src/usr.bin/whois/whois.c,v 1.16 2000/07/07 07:52:21 kris Exp $ $FreeBSD: src/usr.bin/whois/whois.1,v 1.16 2000/11/20 19:21:19 ru Exp $ >Description: If a host is not specified and the user enters a query of an IP address, query whois.arin.net instead of returning: whois: 0.whois-servers.net: No Address associated with hostname >How-To-Repeat: Apply patches below. >Fix: --- whois.c.orig Fri Jul 7 07:52:21 2000 +++ whois.c Sun Jan 28 19:08:14 2001 @@ -49,6 +49,7 @@ #include #include #include +#include #include #include #include @@ -166,13 +167,19 @@ } } if (j != 0) { - qnichost = (char *) calloc(i - j + 1 + - strlen(QNICHOST_TAIL), sizeof(char)); - if (!qnichost) { - err(1, "calloc"); + if (isdigit(*(*argv + j + 1))) { + (void) asprintf(&qnichost, "%s", + ANICHOST); + } else { + qnichost = (char *) calloc(i - j + + 1 + strlen(QNICHOST_TAIL), + sizeof(char)); + if (!qnichost) { + err(1, "calloc"); + } + strcpy(qnichost, *argv + j + 1); + strcat(qnichost, QNICHOST_TAIL); } - strcpy(qnichost, *argv + j + 1); - strcat(qnichost, QNICHOST_TAIL); memset(&hints, 0, sizeof(hints)); hints.ai_flags = 0; --- whois.1.orig Mon Jan 29 00:06:42 2001 +++ whois.1 Mon Jan 29 00:12:55 2001 @@ -81,7 +81,10 @@ .Pq Tn TLD of the supplied (single) argument, and appending ".whois-servers.net". This effectively allows a suitable whois server to be selected -automatically for a large number of TLDs. +automatically for a large number of TLDs. In the event that an IP +address is specified, the whois server will default to the American +Registry for Internet Numbers +.Pq Tn ARIN . If no required whois-servers.net subdomain found, fallback to whois.crsnic.net provided. .It Fl i >Release-Note: >Audit-Trail: >Unformatted: >System: FreeBSD 5.0-CURRENT To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Jan 28 21:35:16 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2A6FA37B402; Sun, 28 Jan 2001 21:34:59 -0800 (PST) Received: (from ken@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0T5Yti90876; Sun, 28 Jan 2001 21:34:55 -0800 (PST) (envelope-from ken) Date: Sun, 28 Jan 2001 21:34:55 -0800 (PST) From: Message-Id: <200101290534.f0T5Yti90876@freefall.freebsd.org> To: campt@miralink.com, ken@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/21139: IBM DNES drives need 'quirk table' entry. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: IBM DNES drives need 'quirk table' entry. State-Changed-From-To: closed->feedback State-Changed-By: ken State-Changed-When: Sun Jan 28 21:33:17 PST 2001 State-Changed-Why: I'm re-opening this PR, since it doesn't look like we really got to the root of the problem, but rather masked it with the quirk entry. Tracy, would you be willing to do some debugging in an effort to track this down? http://www.freebsd.org/cgi/query-pr.cgi?pr=21139 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Jan 28 22:13: 4 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 206AE37B699; Sun, 28 Jan 2001 22:12:45 -0800 (PST) Received: (from phk@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0T6CjO99476; Sun, 28 Jan 2001 22:12:45 -0800 (PST) (envelope-from phk) Date: Sun, 28 Jan 2001 22:12:45 -0800 (PST) From: Message-Id: <200101290612.f0T6CjO99476@freefall.freebsd.org> To: sydney13@mail.com, phk@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/24677: "mdconfig -t vnode -f floppy.bin" seg fault's Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: "mdconfig -t vnode -f floppy.bin" seg fault's State-Changed-From-To: open->closed State-Changed-By: phk State-Changed-When: Sun Jan 28 22:12:25 PST 2001 State-Changed-Why: fixed. http://www.freebsd.org/cgi/query-pr.cgi?pr=24677 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sun Jan 28 23:49:27 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C107137B69B; Sun, 28 Jan 2001 23:49:11 -0800 (PST) Received: (from ru@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0T7nBn11377; Sun, 28 Jan 2001 23:49:11 -0800 (PST) (envelope-from ru) Date: Sun, 28 Jan 2001 23:49:11 -0800 (PST) From: Message-Id: <200101290749.f0T7nBn11377@freefall.freebsd.org> To: admin@allegan.net, ru@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: i386/24666: ipfw bridging and dummynet causes panic in 4.2,4.1 and stops in 3.5.1 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: ipfw bridging and dummynet causes panic in 4.2,4.1 and stops in 3.5.1 State-Changed-From-To: open->closed State-Changed-By: ru State-Changed-When: Sun Jan 28 23:48:22 PST 2001 State-Changed-Why: Originator reports that the panics disappeared with the recent code. http://www.freebsd.org/cgi/query-pr.cgi?pr=24666 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jan 29 1:30:21 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B0B6937B69E for ; Mon, 29 Jan 2001 01:30:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0T9U2125541; Mon, 29 Jan 2001 01:30:02 -0800 (PST) (envelope-from gnats) Date: Mon, 29 Jan 2001 01:30:02 -0800 (PST) Message-Id: <200101290930.f0T9U2125541@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Peter Pentchev Subject: Re: bin/24707: [patch] Whois IP Address Handling Reply-To: Peter Pentchev Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/24707; it has been noted by GNATS. From: Peter Pentchev To: Mike Barcroft Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: bin/24707: [patch] Whois IP Address Handling Date: Mon, 29 Jan 2001 11:24:39 +0200 On Mon, Jan 29, 2001 at 12:28:11AM +0000, Mike Barcroft wrote: > > >Number: 24707 > >Category: bin > >Synopsis: [patch] Whois IP Address Handling > >Originator: Mike Barcroft > >Organization: > Q9 Media > >Environment: > > $FreeBSD: src/usr.bin/whois/whois.c,v 1.16 2000/07/07 07:52:21 kris Exp $ > $FreeBSD: src/usr.bin/whois/whois.1,v 1.16 2000/11/20 19:21:19 ru Exp $ > > >Description: > > If a host is not specified and the user enters a query of > an IP address, query whois.arin.net instead of returning: > whois: 0.whois-servers.net: No Address associated with hostname > > >How-To-Repeat: > > Apply patches below. > > >Fix: > > --- whois.c.orig Fri Jul 7 07:52:21 2000 > +++ whois.c Sun Jan 28 19:08:14 2001 > @@ -49,6 +49,7 @@ > #include > #include > #include > +#include > #include > #include > #include > @@ -166,13 +167,19 @@ > } > } > if (j != 0) { > - qnichost = (char *) calloc(i - j + 1 + > - strlen(QNICHOST_TAIL), sizeof(char)); > - if (!qnichost) { > - err(1, "calloc"); > + if (isdigit(*(*argv + j + 1))) { Just a little comment - I think in checking for dotted-quad IP addresses you should be doing just that - check for dotted quads, not just check for a starting digit. Yes, I know that the RFC's forbid - or at least express a mild disagreement - with labels starting with a digit, but in the real world, your patch would break e.g. 'whois 42.com' :( G'luck, Peter -- I had to translate this sentence into English because I could not read the original Sanskrit. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jan 29 2:18:14 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from smtp02.mrf.mail.rcn.net (smtp02.mrf.mail.rcn.net [207.172.4.61]) by hub.freebsd.org (Postfix) with ESMTP id D3EEB37B6A4 for ; Mon, 29 Jan 2001 02:17:56 -0800 (PST) Received: from 66-44-69-52.s306.tnt8.lnhva.md.dialup.rcn.com ([66.44.69.52] helo=eviplist.com) by smtp02.mrf.mail.rcn.net with smtp (Exim 3.16 #5) id 14NBNj-0006A6-00 for bugs@freebsd.org; Mon, 29 Jan 2001 05:17:55 -0500 From: "eVIPlist.com" To: Subject: Mime-Version: 1.0 Content-Type: text/html; charset="ISO-8859-1" Date: Mon, 29 Jan 2001 05:16:47 -0500 Content-Transfer-Encoding: 8bit Message-Id: Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 8
 
 


You are invited to become a VIP member of www.eVIPlist.com, the "Robb Report" of urban events. Where membership certainly has it's privileges. This exclusive list is  "opt-in" only and you will not receive any further correspondence from eVIPlist.com if you do not register.

At www.eVIPlist.com  you can find the hottest parties and special events going on in your city and around country. This week we have a special feature on the hottest parties and special events at NBA All-Star Weekend 2001 in Washington, DC. In addition we offer you news, reviews and interviews on some of the biggest "movers and shakers" in urban America. We have over 300,000 subscribers and the list is growing everyday. 

If you enjoy www.eVIPlist.com  please feel free to forward the site to all co-workers, family, frats/soros and friends. Thank you for your time.

Respectfully yours,
eVIPlist Staff
info@eVIPlist.com 

"Providing progressive entertainment for progressive people"


To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jan 29 2:48: 3 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 858D537B400; Mon, 29 Jan 2001 02:47:46 -0800 (PST) Received: (from dwmalone@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0TAlko35188; Mon, 29 Jan 2001 02:47:46 -0800 (PST) (envelope-from dwmalone) Date: Mon, 29 Jan 2001 02:47:46 -0800 (PST) From: Message-Id: <200101291047.f0TAlko35188@freefall.freebsd.org> To: mavetju@chello.nl, dwmalone@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/24679: [patch] sshd: missing -V -Q option in Usage-options Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: [patch] sshd: missing -V -Q option in Usage-options State-Changed-From-To: open->closed State-Changed-By: dwmalone State-Changed-When: Mon Jan 29 02:47:09 PST 2001 State-Changed-Why: Closed at submitters request after discussion with OpenSSH developers. http://www.freebsd.org/cgi/query-pr.cgi?pr=24679 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jan 29 5: 0:21 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2546837B404 for ; Mon, 29 Jan 2001 05:00:04 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0TD04m58911; Mon, 29 Jan 2001 05:00:04 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1FCC237B402 for ; Mon, 29 Jan 2001 04:52:42 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0TCqgh58037; Mon, 29 Jan 2001 04:52:42 -0800 (PST) (envelope-from nobody) Message-Id: <200101291252.f0TCqgh58037@freefall.freebsd.org> Date: Mon, 29 Jan 2001 04:52:42 -0800 (PST) From: aaronson@i-2000.com To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/24712: Getting message /usr/libexec/ld-elf.so.1: Shared object "libXext.so.6" not found running cgi script Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24712 >Category: misc >Synopsis: Getting message /usr/libexec/ld-elf.so.1: Shared object "libXext.so.6" not found running cgi script >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jan 29 05:00:03 PST 2001 >Closed-Date: >Last-Modified: >Originator: Ronald Aaronson >Release: FreeBSD 4.1 (i386) >Organization: Objective Computing Solutions >Environment: FreeBSD theastrologeronline.com 4.1-RELEASE FreeBSD 4.1-RELEASE #4: Thu Oct 26 14:28:45 MDT 2000 root@fc:/usr/src/sys/compile/VKERN i386 >Description: Trying to run an ImageMagick program "mogrify" to convert Windows BMP file to JPEG. Runs ok normally, but when invoked from a cgi script (which, I believe, run under the "virtual" command, I get the above error message. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jan 29 7: 5: 2 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from thalvors.miralink.com (sub19-210.member.dsl-only.net [63.105.19.210]) by hub.freebsd.org (Postfix) with ESMTP id CFF0437B6A0; Mon, 29 Jan 2001 07:04:42 -0800 (PST) Received: by thalvors.miralink.com (Postfix, from userid 1003) id 516ACBB83F; Mon, 29 Jan 2001 07:04:22 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by thalvors.miralink.com (Postfix) with ESMTP id 4CD994405C; Mon, 29 Jan 2001 07:04:22 -0800 (PST) Date: Mon, 29 Jan 2001 07:04:22 -0800 (PST) From: Tracy Camp To: ken@FreeBSD.org Cc: freebsd-bugs@FreeBSD.org Subject: Re: kern/21139: IBM DNES drives need 'quirk table' entry. In-Reply-To: <200101290534.f0T5Yti90876@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, 28 Jan 2001 ken@FreeBSD.org wrote: > Synopsis: IBM DNES drives need 'quirk table' entry. > > State-Changed-From-To: closed->feedback > State-Changed-By: ken > State-Changed-When: Sun Jan 28 21:33:17 PST 2001 > State-Changed-Why: > I'm re-opening this PR, since it doesn't look like we really got to the > root of the problem, but rather masked it with the quirk entry. > > Tracy, would you be willing to do some debugging in an effort to track this > down? Sure if somebody can poke me in a month or so. Things are really busy right at the moment... t. > > http://www.freebsd.org/cgi/query-pr.cgi?pr=21139 > Tracy Camp Product Development Miralink Corp.PDX Portland OR 503-223-3140 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jan 29 8:20:22 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4C68F37B69E for ; Mon, 29 Jan 2001 08:20:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0TGK2N85357; Mon, 29 Jan 2001 08:20:02 -0800 (PST) (envelope-from gnats) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E515537B69E for ; Mon, 29 Jan 2001 08:15:34 -0800 (PST) Received: from hera.drwilco.net (10dyn120.dh.casema.net [212.64.31.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2FF66E2B9A for ; Mon, 29 Jan 2001 08:14:39 -0800 (PST) Received: (from root@localhost) by hera.drwilco.net (8.11.1/8.11.1) id f0S6ul800782; Sun, 28 Jan 2001 07:56:47 +0100 (CET) (envelope-from drwilco) Message-Id: <200101280656.f0S6ul800782@hera.drwilco.net> Date: Sun, 28 Jan 2001 07:56:47 +0100 (CET) From: drwilco@drwilco.net Reply-To: drwilco@drwilco.net To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: kern/24720: Bridging code does not always check activation (w/patch) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24720 >Category: kern >Synopsis: Bridging code does not always check activation (w/patch) >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jan 29 08:20:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Rogier R. Mulhuijzen >Release: FreeBSD 4.2-STABLE & FreeBSD 5.0-CURRENT >Organization: >Environment: Running stable on gateway with BRIDGE, but bridging switched off with sysctl >Description: When the kernel is compiled with BRIDGE certain checks are skipped. Even when the bridging has been disabled with the net.link.ether.bridge sysctl. This has the effect that when 2 interfaces are plugged into the same switch/bridge (but are on a different subnet) ARP requests are answered on both interfaces for the same IP with different MAC addresses. >How-To-Repeat: configure 2 NICs, plug both into the same hub/switch/bridge, start 'tcpdump -i arp' on both interfaces, ping 1 IP from a 2nd host and watch the sparks fly. >Fix: in sys/netinet/if_ether.c there are 2 places where an #ifdef BRIDGE assumes the bridging code is actually activated. Patch applies cleanly to both STABLE and CURRENT (both not more than a few days old) --- sys/netinet/if_ether.c.old Wed Jan 24 01:05:06 2001 +++ sys/netinet/if_ether.c Sun Jan 28 06:46:27 2001 @@ -59,6 +59,10 @@ #include #include #include +#ifdef BRIDGE +#include +#include +#endif #include #include @@ -525,14 +529,16 @@ * of the receive interface. (This will change slightly * when we have clusters of interfaces). */ - { + if (!do_bridge) { #else - if (ia->ia_ifp == &ac->ac_if) { + { #endif - maybe_ia = ia; - if ((itaddr.s_addr == ia->ia_addr.sin_addr.s_addr) || - (isaddr.s_addr == ia->ia_addr.sin_addr.s_addr)) - break; + if (ia->ia_ifp == &ac->ac_if) { + maybe_ia = ia; + if ((itaddr.s_addr == ia->ia_addr.sin_addr.s_addr) || + (isaddr.s_addr == ia->ia_addr.sin_addr.s_addr)) + break; + } } if (maybe_ia == 0) { m_freem(m); @@ -561,17 +567,21 @@ } la = arplookup(isaddr.s_addr, itaddr.s_addr == myaddr.s_addr, 0); if (la && (rt = la->la_rt) && (sdl = SDL(rt->rt_gateway))) { -#ifndef BRIDGE /* the following is not an error when doing bridging */ - if (rt->rt_ifp != &ac->ac_if) { - if (log_arp_wrong_iface) - log(LOG_ERR, "arp: %s is on %s%d but got reply from %6D on %s%d\n", - inet_ntoa(isaddr), - rt->rt_ifp->if_name, rt->rt_ifp->if_unit, - ea->arp_sha, ":", - ac->ac_if.if_name, ac->ac_if.if_unit); - goto reply; - } +#ifdef BRIDGE + if (!do_bridge) { /* the following is not an error when doing bridging */ +#else + { #endif + if (rt->rt_ifp != &ac->ac_if) { + if (log_arp_wrong_iface) + log(LOG_ERR, "arp: %s is on %s%d but got reply from %6D on %s%d\n", + inet_ntoa(isaddr), + rt->rt_ifp->if_name, rt->rt_ifp->if_unit, + ea->arp_sha, ":", + ac->ac_if.if_name, ac->ac_if.if_unit); + goto reply; + } + } if (sdl->sdl_alen && bcmp((caddr_t)ea->arp_sha, LLADDR(sdl), sdl->sdl_alen)) { if (rt->rt_expire) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jan 29 8:30:20 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 780A637B402 for ; Mon, 29 Jan 2001 08:30:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0TGU3W86333; Mon, 29 Jan 2001 08:30:03 -0800 (PST) (envelope-from gnats) Date: Mon, 29 Jan 2001 08:30:03 -0800 (PST) Message-Id: <200101291630.f0TGU3W86333@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Mike Barcroft Subject: Re: bin/24707: [patch] Whois IP Address Handling Reply-To: Mike Barcroft Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/24707; it has been noted by GNATS. From: Mike Barcroft To: Peter Pentchev Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: bin/24707: [patch] Whois IP Address Handling Date: Mon, 29 Jan 2001 11:31:26 -0500 (EST) > Just a little comment - I think in checking for dotted-quad IP addresses > you should be doing just that - check for dotted quads, not just check > for a starting digit. Yes, I know that the RFC's forbid - or at least > express a mild disagreement - with labels starting with a digit, but > in the real world, your patch would break e.g. 'whois 42.com' :( Not true. The patch checks the TLD, so 42.com works and 10.0.0.0 goes to ARIN. Since a TLD is never going to be a digit, it's safe to assume that it's an IP address. Best regards, Mike Barcroft To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jan 29 8:30:31 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2F6E837B699 for ; Mon, 29 Jan 2001 08:30:09 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0TGU9q86357; Mon, 29 Jan 2001 08:30:09 -0800 (PST) (envelope-from gnats) Date: Mon, 29 Jan 2001 08:30:09 -0800 (PST) Message-Id: <200101291630.f0TGU9q86357@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Kenneth D. Merry" Subject: Re: kern/21139: IBM DNES drives need 'quirk table' entry. Reply-To: "Kenneth D. Merry" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/21139; it has been noted by GNATS. From: "Kenneth D. Merry" To: Tracy Camp Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: kern/21139: IBM DNES drives need 'quirk table' entry. Date: Mon, 29 Jan 2001 09:28:31 -0700 [ Please remember to CC PR responses to freebsd-gnats-submit@FreeBSD.org so they get in the PR audit log. On Mon, Jan 29, 2001 at 07:04:22 -0800, Tracy Camp wrote: > On Sun, 28 Jan 2001 ken@FreeBSD.org wrote: > > > Synopsis: IBM DNES drives need 'quirk table' entry. > > > > State-Changed-From-To: closed->feedback > > State-Changed-By: ken > > State-Changed-When: Sun Jan 28 21:33:17 PST 2001 > > State-Changed-Why: > > I'm re-opening this PR, since it doesn't look like we really got to the > > root of the problem, but rather masked it with the quirk entry. > > > > Tracy, would you be willing to do some debugging in an effort to track this > > down? > Sure if somebody can poke me in a month or so. Things are really busy > right at the moment... Okay, I'll ping you if I can remember. Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jan 29 9: 0:23 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id CD72337B69C for ; Mon, 29 Jan 2001 09:00:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0TH01q89402; Mon, 29 Jan 2001 09:00:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id CC41D37B698 for ; Mon, 29 Jan 2001 08:50:41 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0TGofU88365; Mon, 29 Jan 2001 08:50:41 -0800 (PST) (envelope-from nobody) Message-Id: <200101291650.f0TGofU88365@freefall.freebsd.org> Date: Mon, 29 Jan 2001 08:50:41 -0800 (PST) From: dor@cwnt.com To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: bin/24721: libgcc_r problem - library precedence with libstdc++ Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24721 >Category: bin >Synopsis: libgcc_r problem - library precedence with libstdc++ >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jan 29 09:00:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Dor Laor >Release: 4.2-release >Organization: Charlotte WEB >Environment: FreeBSD simba.cwnt.co.il 4.2-RELEASE FreeBSD 4.2-RELEASE #2: Wed Jan 17 16:22:29 GMT 2001 barak@simba.cwnt.co.il:/usr/src/sys/compile/COMPAQ_DL360 i386 >Description: The attached program creates cores using normal compilation & linking . The compilation command is: g++ -g3 try.cpp -pthread -o try // file try.cpp #include #include #include #include #include #include #include #include class a { public: a() { a1 = 0; } ~a() { int i; int a2[100]; for (i = 0; i < 100 ; i++) { a2[i] = i; } a1 = a2[0]; } int a1; }; class b : a { int b1; }; void func(void* arg) { int i; for (i=0;i<100000;i++) { b obj; b* p; p = &obj; } printf("thread done\n"); } void thread_creation(int i) { int rtn = 0; pthread_t id; if (rtn = pthread_create(&id, 0, (void * (*)(void *))func,NULL)) { printf(" could create thread\n"); } } int main() { for (int i=0; i< 100; i++) { thread_creation(i); } sleep(10); return 0; } >How-To-Repeat: Just run the program several times. >Fix: Link libgcc_r implictly with the executable- use command g++ -g3 try.cpp -pthread -lgcc_r -o try Note that if you put libstdc++ before gcc_r the problem remains >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jan 29 9:14:29 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 03ED137B402; Mon, 29 Jan 2001 09:14:13 -0800 (PST) Received: (from ken@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0THEC193583; Mon, 29 Jan 2001 09:14:12 -0800 (PST) (envelope-from ken) Date: Mon, 29 Jan 2001 09:14:12 -0800 (PST) From: Message-Id: <200101291714.f0THEC193583@freefall.freebsd.org> To: ken@FreeBSD.org, freebsd-bugs@FreeBSD.org, ken@FreeBSD.org Subject: Re: kern/21139: IBM DNES drives need 'quirk table' entry. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: IBM DNES drives need 'quirk table' entry. Responsible-Changed-From-To: freebsd-bugs->ken Responsible-Changed-By: ken Responsible-Changed-When: Mon Jan 29 09:13:39 PST 2001 Responsible-Changed-Why: To remind me to ping Tracy in a month. http://www.freebsd.org/cgi/query-pr.cgi?pr=21139 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jan 29 9:25:50 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from web1.renley.com (unknown [210.176.231.28]) by hub.freebsd.org (Postfix) with ESMTP id 6A93337B402; Mon, 29 Jan 2001 09:25:08 -0800 (PST) Received: from 210.176.231.28 (unverified [203.149.188.102]) by web1.renley.com (Rockliffe SMTPRA 2.1.2) with SMTP id ; Tue, 30 Jan 2001 01:33:35 +0800 Date: Tue, 30 Jan 2001 01:33:35 +0800 Message-ID: Reply-To: j233860800@yahoo.com From: j233860800@yahoo.com To: bin@freebsd.org Subject:¨g¤H¸ê°T³nÅé§ó·s¸ê°T ¥»¦¸·s¼W¤@¦Ê¤T¤Q¦h¤ù¡D¡D¡D¨g¤H¸ê°T³nÅé§ó·s¸ê°T ¥»¦¸·s¼W¤@¦Ê¤T¤Q¦h¤ù¨g¤H¸ê°T³nÅé§ó·s¸ê°T ¥»¦¸·s¼W¤@¦Ê¤T¤Q¦h¤ù¡D¡D MIME-Version: 1.0 Content-Type: text/html; charset=big5 Content-Transfer-Encoding: base64 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org PGh0bWw+DQoNCjxoZWFkPg0KPG1ldGEgaHR0cC1lcXVpdj0iQ29udGVudC1MYW5ndWFnZSIg Y29udGVudD0iemgtdHciPg0KPG1ldGEgaHR0cC1lcXVpdj0iQ29udGVudC1UeXBlIiBjb250 ZW50PSJ0ZXh0L2h0bWw7IGNoYXJzZXQ9YmlnNSI+DQo8bWV0YSBuYW1lPSJHRU5FUkFUT1Ii IGNvbnRlbnQ9Ik1pY3Jvc29mdCBGcm9udFBhZ2UgNC4wIj4NCjxtZXRhIG5hbWU9IlByb2dJ ZCIgY29udGVudD0iRnJvbnRQYWdlLkVkaXRvci5Eb2N1bWVudCI+DQo8dGl0bGU+q2Wpubr0 r7g8L3RpdGxlPg0KPC9oZWFkPg0KDQo8Ym9keT4NCg0KPGRpdiBhbGlnbj0iY2VudGVyIj4N CiAgPGNlbnRlcj4NCiAgPHRhYmxlIGJvcmRlcj0iMSIgd2lkdGg9IjQ1MSIgaGVpZ2h0PSIx MyI+DQogICAgPHRyPg0KICAgICAgPHRkIHdpZHRoPSI0NTEiIGhlaWdodD0iMTMiIGJnY29s b3I9IiM4MDgwODAiPjxzdHJvbmc+DQogICAgICAgIDxhIGhyZWY9Imh0dHA6Ly9nby50by9j cmF6eXgxIj4NCiAgICAgICAgPGZvbnQgY29sb3I9IiNGRkZGRkYiPg0KICAgICAgICA8bWFy cXVlZSBhbGlnbj0ibWlkZGxlIiBiZWhhdmlvcj0iYWx0ZXJuYXRlIj6rZam5qGekSLjqsFSl 5qx5pKSk37r0r7g8L21hcnF1ZWU+DQogICAgICAgIDwvZm9udD4NCiAgICAgICAgPC9hPg0K ICAgICAgICA8L3N0cm9uZz48L3RkPg0KICAgIDwvdHI+DQogIDwvdGFibGU+DQogIDwvY2Vu dGVyPg0KPC9kaXY+DQo8Zm9udCBTSVpFPSIzIj4NCjxibG9ja3F1b3RlPg0KICA8YmxvY2tx dW90ZT4NCiAgICA8YmxvY2txdW90ZT4NCiAgICAgIDxwIGFsaWduPSJsZWZ0Ij48Zm9udCBj b2xvcj0iI0ZGMDAwMCI+oXWp2rW0sbWo/KF2pbuvuLBUrqe90MJJv++hQDxhIGhyZWY9Im1h aWx0bzpmcmVlYmFua25vQDEwOC56em4uY29tIj6zb7jMPC9hPjwvZm9udD48L3A+DQogICAg ICA8cCBhbGlnbj0ibGVmdCI+PGZvbnQgY29sb3I9IiNGRjAwMDAiPqW7r7imYqasqOyxeqq6 pl7C0K7JoUGlsrftusmzdKjDq0/D0qdSsKOxeqq6uOquxqFDpbuvuKjDpKO3UbN5pqi0Y6nK tGDA9KFJPC9mb250PjwvcD4NCiAgICAgIDxwIGFsaWduPSJsZWZ0Ij48Zm9udCBjb2xvcj0i I0ZGMDAwMCI+oXXEQLdOsbWo/KF2pbuvuLBUrqe90MJJv++hQDxhIGhyZWY9Im1haWx0bzpm cmVlYmFua3llc0AxMDguenpuLmNvbSI+s2+4zDwvYT48L2ZvbnQ+PC9wPg0KICAgICAgPHAg YWxpZ249ImxlZnQiPjxmb250IGNvbG9yPSIjRkYwMDAwIj6lu6+4pmKmrKjssXqquqZewtCr 4aFBpbKxTqhDprizzLdzuOqwVLBluUaxeqq6q0i9Y6FDsXqqurC3sWShQbROrE+n2q3Mqrqw XbRJoUk8L2ZvbnQ+PC9wPg0KICAgICAgPHAgYWxpZ249ImxlZnQiPjxmb250IGNvbG9yPSIj RkYwMDAwIj6hdaZzpN+vfcNhoXalu6+4q0i9Y6rMvdCvZLdOPC9mb250PjwvcD4NCiAgICAg IDxwIGFsaWduPSJsZWZ0Ij48Zm9udCBjb2xvcj0iI0ZGMDAwMCI+pnCqR7F6rE+kz6v+qKmk SKRooUG90L1UqXexeqq6uXG4o6S6s6OsT6W/qqmqurNuxemhQzwvZm9udD48L3A+DQogICAg ICA8cCBhbGlnbj0ibGVmdCI+PGZvbnQgY29sb3I9IiNGRjAwMDAiPqZwqkexeqV1rE+3Ua5p snuxeqq6pVykT6FBoXWmYbJ5rE+26qq6oXY8L2ZvbnQ+PC9wPg0KICAgICAgPHAgYWxpZ249 ImxlZnQiPjxmb250IGNvbG9yPSIjRkYwMDAwIj6mcKpHsXqsT6ZQpuaqurjcoUG0Tr3Qptum 5qtPraunYaFJPC9mb250PjwvcD4NCiAgICA8L2Jsb2NrcXVvdGU+DQogIDwvYmxvY2txdW90 ZT4NCjwvYmxvY2txdW90ZT4NCjwvZm9udD4NCjxwIGFsaWduPSJjZW50ZXIiPqFAPC9wPg0K PHAgYWxpZ249ImNlbnRlciI+PGltZyBib3JkZXI9IjAiIHNyYz0iaHR0cDovL2Z0cC53b3Js ZC5uZXQudHcvfmNvb2xidWcvMDAuanBnIiB3aWR0aD0iNjQwIiBoZWlnaHQ9IjQyMCI+PC9w Pg0KDQo8L2JvZHk+DQoNCjwvaHRtbD4NPEhUTUw+DQo8QSBuYW1lPSINCqhnpEgNClBNIDEx OjQ2OjU4DQoyMDAxLzEvMjkNCjEwMDAwMw0KIj48L2E+DQo8L0hUTUw+DTxIVE1MPg0KPEEg bmFtZT0iDQqoZ6RIDQpQTSAxMTo0NzozMA0KMjAwMS8xLzI5DQoxMDAwMDMNCiI+PC9hPg0K PC9IVE1MPg08SFRNTD4NCjxBIG5hbWU9Ig0KqGekSA0KQU0gMTI6MTg6NTINCjIwMDEvMS8z MA0KMTAwMDAzDQoiPjwvYT4NCjwvSFRNTD4NPEhUTUw+DQo8QSBuYW1lPSINCqhnpEi46rBU s27F6afzt3O46rBUIKW7pri3c7xXpECmyqRUpFGmaKT5oUShRKFEqGekSLjqsFSzbsXpp/O3 c7jqsFQgpbumuLdzvFekQKbKpFQNCkFNIDEyOjIwOjU1DQoyMDAxLzEvMzANCjEwMDAwMw0K Ij48L2E+DQo8L0hUTUw+DTxIVE1MPg0KPEEgbmFtZT0iDQqoZ6RIuOqwVLNuxemn87dzuOqw VCClu6a4t3O8V6RApsqkVKRRpmik+aFEqGekSLjqsFSzbsXpp/MNCkFNIDEyOjIxOjA1DQoy MDAxLzEvMzANCjEwMDAwMw0KIj48L2E+DQo8L0hUTUw+DTxIVE1MPg0KPEEgbmFtZT0iDQqo Z6RIuOqwVLNuxekNCkFNIDEyOjM3OjEzDQoyMDAxLzEvMzANCjEwMDAwMw0KIj48L2E+DQo8 L0hUTUw+DTxIVE1MPg0KPEEgbmFtZT0iDQqoZ6RIuOqwVLNuxemn87dzuOqwVCClu6a4DQpB TSAxMjo1NDo0NA0KMjAwMS8xLzMwDQoxMDAwMDMNCiI+PC9hPg0KPC9IVE1MPg08SFRNTD4N CjxBIG5hbWU9Ig0KqGekSLjqsFSzbsXpp/O3c7jqsFQgpbumuLdzvFekQKbKpFSkUaZopPmh RKFEoUShRA0KQU0gMDE6MDc6MjINCjIwMDEvMS8zMA0KMTAwMDAzDQoiPjwvYT4NCjwvSFRN TD4NPEhUTUw+DQo8QSBuYW1lPSINCqhnpEi46rBUs27F6afzt3O46rBUIKW7pri3c7xXpECm yqRUpFGmaA0KQU0gMDE6MTE6NTgNCjIwMDEvMS8zMA0KMTAwMDAzDQoiPjwvYT4NCjwvSFRN TD4NPEhUTUw+DQo8QSBuYW1lPSINCqhnpEi46rBUs27F6afzt3O46rBUIKW7pri3c7xXpECm yqRUpFGmaKT5oUShRKFEDQpBTSAwMToxNDowNw0KMjAwMS8xLzMwDQoxMDAwMDMNCiI+PC9h Pg0KPC9IVE1MPg08SFRNTD4NCjxBIG5hbWU9Ig0KqGekSLjqsFSzbsXpp/O3c7jqsFQgpbum uLdzvFekQKbKpFSkUaZopPmhRKFEoUShRKFEoUShRKFEoUSoZ6RIuOqwVLNuxemn87dzuOqw VCClu6a4t3O8V6RApsqkVKRRpmik+aFEDQpBTSAwMToyNTo1OQ0KMjAwMS8xLzMwDQoxMDAw MDMNCiI+PC9hPg0KPC9IVE1MPg0K To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jan 29 14: 0:20 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9DF7B37B699 for ; Mon, 29 Jan 2001 14:00:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0TM01W38085; Mon, 29 Jan 2001 14:00:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 459B037B402 for ; Mon, 29 Jan 2001 13:57:18 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0TLvIv37696; Mon, 29 Jan 2001 13:57:18 -0800 (PST) (envelope-from nobody) Message-Id: <200101292157.f0TLvIv37696@freefall.freebsd.org> Date: Mon, 29 Jan 2001 13:57:18 -0800 (PST) From: mjmundy@usa.net To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/24725: failing install: not loading proper adaptec driver Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24725 >Category: misc >Synopsis: failing install: not loading proper adaptec driver >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jan 29 14:00:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: michael mundy >Release: 4.2 >Organization: >Environment: freebsd not installed yet >Description: during installation, the user config utility within the installation menu does not contain the necessary driver for my adaptec 2842 controller. i am having to create the kern.flp and mkfsroot.flp bootup floppies to install from. i can't seem to find in any of the docs/helps/readmes/FAQs/etc on *how_to_add* the driver for the 2842, though on one of the readmes, it is said that this controller is supported. I had the exact same problem when trying to install from my freebsd 3.3 distro. sorry, the BIOS does not support booting directly from CD-ROM. I'm looking for the procedure/command line option/whatever_it_takes to get this driver into the kernel. i do not have another freeBSD system to build a kernel on for this install. i apologize if i didn't completely RTFM and missed the answer. thanks for helping out this freeBSD newbie! (am i a newbie if i can't get past the install? :-0) -mike >How-To-Repeat: platorm: Ocean hippo dca/2 motherboard, 486DX2/66 cpu, 32M RAM, Adaptec 2842 SCSI controller w/ floppy, generic vga, 3 SCSI disks, SCSI CD-ROM, SCSI 4mm DAT (Archiv Python). This system has had linux working on it. create install floppies and go for it. - unable to add driver for adaptec 2842. suggestion, if it's not already been done: one of the readmes/helps should have a "this is how you add supported drivers not included in the generic install kernel build." >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jan 29 15:20:21 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8311737B400 for ; Mon, 29 Jan 2001 15:20:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0TNK2X51480; Mon, 29 Jan 2001 15:20:02 -0800 (PST) (envelope-from gnats) Date: Mon, 29 Jan 2001 15:20:02 -0800 (PST) Message-Id: <200101292320.f0TNK2X51480@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Kenneth D. Merry" Subject: Re: misc/24725: failing install: not loading proper adaptec driver Reply-To: "Kenneth D. Merry" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR misc/24725; it has been noted by GNATS. From: "Kenneth D. Merry" To: mjmundy@usa.net Cc: freebsd-gnats-submit@FreeBSD.ORG Subject: Re: misc/24725: failing install: not loading proper adaptec driver Date: Mon, 29 Jan 2001 16:11:33 -0700 On Mon, Jan 29, 2001 at 13:57:18 -0800, mjmundy@usa.net wrote: > during installation, the user config utility within the installation > menu does not contain the necessary driver for my adaptec 2842 > controller. i am having to create the kern.flp and mkfsroot.flp > bootup floppies to install from. i can't seem to find in any of the > docs/helps/readmes/FAQs/etc on *how_to_add* the driver for the 2842, > though on one of the readmes, it is said that this controller is > supported. I had the exact same problem when trying to install from > my freebsd 3.3 distro. sorry, the BIOS does not support booting > directly from CD-ROM. > > I'm looking for the procedure/command line option/whatever_it_takes > to get this driver into the kernel. i do not have another freeBSD > system to build a kernel on for this install. The ahc driver handles the 2842, and it should automatically detect the card. i.e. you shouldn't need to do anything in userconfig in order for your card to be detected. You should just be able to boot the system. Although the 2842 is a VLB board, this is also the case for PCI boards -- they're automatically detected, and there's no way to manually tweak whether they're probed or not from userconfig. > >How-To-Repeat: > platorm: Ocean hippo dca/2 motherboard, 486DX2/66 cpu, 32M RAM, > Adaptec 2842 SCSI controller w/ floppy, generic vga, 3 SCSI disks, > SCSI CD-ROM, SCSI 4mm DAT (Archiv Python). This system has had linux > working on it. > create install floppies and go for it. - unable to add driver for > adaptec 2842. > > suggestion, if it's not already been done: one of the readmes/helps > should have a "this is how you add supported drivers not included > in the generic install kernel build." Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Mon Jan 29 15:33:32 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from atlas.bit.net.au (atlas.bit.net.au [203.18.94.3]) by hub.freebsd.org (Postfix) with ESMTP id B388D37B404 for ; Mon, 29 Jan 2001 15:33:13 -0800 (PST) Received: (from pdh@localhost) by atlas.bit.net.au (8.11.0/8.11.0) id f0TNX0808206; Tue, 30 Jan 2001 09:33:00 +1000 Date: Tue, 30 Jan 2001 09:32:59 +1000 From: Phil Homewood To: Mike Barcroft Cc: freebsd-bugs@FreeBSD.ORG Subject: Re: bin/24707: [patch] Whois IP Address Handling Message-ID: <20010130093259.D24225@atlas.bit.net.au> References: <200101291630.f0TGU3W86333@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200101291630.f0TGU3W86333@freefall.freebsd.org>; from mike@coffee.q9media.com on Mon, Jan 29, 2001 at 08:30:03AM -0800 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Mike Barcroft wrote: > Not true. The patch checks the TLD, so 42.com works and 10.0.0.0 goes to > ARIN. Since a TLD is never going to be a digit, it's safe to assume that > it's an IP address. Could someone perhaps reconcile this patch with the one I gave in bin/23635? Combining all these features would make for a very nice little whois client. :-) -- Phil Homewood pdh@asiaonline.net Senior Technician +61 7 3620 1930 Asia Online http://www.asiaonline.net/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jan 30 0:30:21 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 0262937B4AB for ; Tue, 30 Jan 2001 00:30:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0U8U3A81441; Tue, 30 Jan 2001 00:30:03 -0800 (PST) (envelope-from gnats) Date: Tue, 30 Jan 2001 00:30:03 -0800 (PST) Message-Id: <200101300830.f0U8U3A81441@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Peter Pentchev Subject: Re: bin/24707: [patch] Whois IP Address Handling Reply-To: Peter Pentchev Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/24707; it has been noted by GNATS. From: Peter Pentchev To: Mike Barcroft Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: bin/24707: [patch] Whois IP Address Handling Date: Tue, 30 Jan 2001 10:24:55 +0200 On Mon, Jan 29, 2001 at 11:31:26AM -0500, Mike Barcroft wrote: > > > Just a little comment - I think in checking for dotted-quad IP addresses > > you should be doing just that - check for dotted quads, not just check > > for a starting digit. Yes, I know that the RFC's forbid - or at least > > express a mild disagreement - with labels starting with a digit, but > > in the real world, your patch would break e.g. 'whois 42.com' :( > > Not true. The patch checks the TLD, so 42.com works and 10.0.0.0 goes to > ARIN. Since a TLD is never going to be a digit, it's safe to assume that > it's an IP address. Oops. You're right, sorry. I promise I'll actually read the code next time :) G'luck, Peter -- Do you think anybody has ever had *precisely this thought* before? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jan 30 1:30:27 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A22D337B6A2 for ; Tue, 30 Jan 2001 01:30:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0U9U1m89740; Tue, 30 Jan 2001 01:30:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2AF6E37B4EC for ; Tue, 30 Jan 2001 01:21:15 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0U9LFv88716; Tue, 30 Jan 2001 01:21:15 -0800 (PST) (envelope-from nobody) Message-Id: <200101300921.f0U9LFv88716@freefall.freebsd.org> Date: Tue, 30 Jan 2001 01:21:15 -0800 (PST) From: chris@zeus.foote.com.au To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: bin/24730: tail -f barfs on files bigger than 2 Gig Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24730 >Category: bin >Synopsis: tail -f barfs on files bigger than 2 Gig >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 30 01:30:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Chris Foote >Release: 4.2 Stable >Organization: SE Net >Environment: FreeBSD zeus.foote.com.au 4.2-STABLE FreeBSD 4.2-STABLE #0: Fri Jan 26 09:25:43 CST 2001 root@zeus.foote.com.au:/usr/obj/usr/src/sys/ZEUS i386 >Description: `tail filename` and `tail -f filename` has problems when filename is more than 2 Gig in size. tail proceeds to 'cat' the entire file from it's beginning, and reports a wierd error to stderr: zeus(chris)$ tail bigfile.txt > /dev/null tail: bigfile.txt: Invalid argument ^C >How-To-Repeat: Create a file bigger than 2 Gig and tail it. >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jan 30 2:30:20 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4808E37B6C0 for ; Tue, 30 Jan 2001 02:30:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0UAU1W99728; Tue, 30 Jan 2001 02:30:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 6561337B6B9 for ; Tue, 30 Jan 2001 02:26:13 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0UAQDc99382; Tue, 30 Jan 2001 02:26:13 -0800 (PST) (envelope-from nobody) Message-Id: <200101301026.f0UAQDc99382@freefall.freebsd.org> Date: Tue, 30 Jan 2001 02:26:13 -0800 (PST) From: kazarov@izmiran.rssi.ru To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: bin/24732: cmp can not compare files lager 2GB but smaller 4GB Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24732 >Category: bin >Synopsis: cmp can not compare files lager 2GB but smaller 4GB >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 30 02:30:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Dmitry Kazarov >Release: FreeBSD-4.2-STABLE >Organization: IZMIRAN >Environment: >Description: in /usr/src/usr.bin/cmp/regular.c, line 84, length of files is compared with SIZE_T_MAX which is equal to 0xFFFFFFFF (4GB-1). But man mmap says: BUGS len is limited to 2GB. Mmapping slightly more than 2GB doesn't work, but it is possible to map a window of size (filesize % 2GB) for file sizes of slightly less than 2G, 4GB, 6GB and 8GB. And tests shows that cmp cannot mmap two files of silze greate about 1213MB (on my system). So constant should be decreased to 1GB >How-To-Repeat: user$ dd if=/dev/zero of=tmp seek=2048k bs=1k count=1 1+0 records in 1+0 records out 1024 bytes transferred in 0.000258 secs (3969471 bytes/sec) user$ ln tmp tmp.l user$ cmp tmp tmp.l cmp: tmp: Invalid argument >Fix: *** regular.c.orig Tue Jan 30 12:36:35 2001 --- regular.c Tue Jan 30 12:37:15 2001 *************** c_regular(fd1, file1, skip1, len1, fd2, *** 81,87 **** off2 = ROUNDPAGE(skip2); length = MIN(len1, len2); ! if (length > SIZE_T_MAX) return (c_special(fd1, file1, skip1, fd2, file2, skip2)); if ((p1 = (u_char *)mmap(NULL, (size_t)len1 + skip1 % pagesize, --- 81,87 ---- off2 = ROUNDPAGE(skip2); length = MIN(len1, len2); ! if (length > ( 1024*1024*1024 ) ) /* 1GB */ return (c_special(fd1, file1, skip1, fd2, file2, skip2)); if ((p1 = (u_char *)mmap(NULL, (size_t)len1 + skip1 % pagesize, >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jan 30 4: 0:29 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 0163B37B6B6 for ; Tue, 30 Jan 2001 04:00:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0UC03w12619; Tue, 30 Jan 2001 04:00:03 -0800 (PST) (envelope-from gnats) Date: Tue, 30 Jan 2001 04:00:03 -0800 (PST) Message-Id: <200101301200.f0UC03w12619@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: David Malone Subject: Re: bin/24730: tail -f barfs on files bigger than 2 Gig Reply-To: David Malone Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/24730; it has been noted by GNATS. From: David Malone To: chris@zeus.foote.com.au Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: bin/24730: tail -f barfs on files bigger than 2 Gig Date: Tue, 30 Jan 2001 11:55:57 +0000 On Tue, Jan 30, 2001 at 01:21:15AM -0800, chris@zeus.foote.com.au wrote: > >Synopsis: tail -f barfs on files bigger than 2 Gig I've been waiting for people to test the patch in: http://www.freebsd.org/cgi/query-pr.cgi?pr=14786 for a while - I've had atleast one report of success. The patch below is against -current, and also fixes "tail -r". Please let me know if this patch fixes the problems you're seeing. David. Index: usr.bin/tail/extern.h =================================================================== RCS file: /cvs/FreeBSD-CVS/src/usr.bin/tail/extern.h,v retrieving revision 1.4 diff -u -7 -r1.4 extern.h --- usr.bin/tail/extern.h 1998/04/06 16:13:48 1.4 +++ usr.bin/tail/extern.h 2000/12/16 14:11:30 @@ -29,17 +29,20 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * @(#)extern.h 8.1 (Berkeley) 6/6/93 */ -#define WR(p, size) \ +#define WR(p, size) do { \ if (write(STDOUT_FILENO, p, size) != size) \ - oerr(); + oerr(); \ + } while(0) + +#define TAILMAPLEN (4<<20) enum STYLE { NOTSET = 0, FBYTES, FLINES, RBYTES, RLINES, REVERSE }; void forward __P((FILE *, enum STYLE, long, struct stat *)); void reverse __P((FILE *, enum STYLE, long, struct stat *)); int bytes __P((FILE *, off_t)); Index: usr.bin/tail/forward.c =================================================================== RCS file: /cvs/FreeBSD-CVS/src/usr.bin/tail/forward.c,v retrieving revision 1.17 diff -u -7 -r1.17 forward.c --- usr.bin/tail/forward.c 2000/12/03 17:05:44 1.17 +++ usr.bin/tail/forward.c 2000/12/16 14:12:07 @@ -265,45 +265,73 @@ */ static void rlines(fp, off, sbp) FILE *fp; long off; struct stat *sbp; { - off_t size; + off_t size, curoff; char *p; char *start; + off_t mapoff; + size_t maplen; if (!(size = sbp->st_size)) return; - if (size > SIZE_T_MAX) { - errno = EFBIG; - ierr(); - return; + start = NULL; + for (curoff = size - 1, mapoff = size; curoff >= 0; curoff--) { + if (curoff < mapoff) { + if (start && munmap(start, maplen)) { + ierr(); + return; + } + mapoff = curoff & (~(TAILMAPLEN-1)); + maplen = curoff - mapoff + 1; + if ((start = mmap(NULL, maplen, PROT_READ, + MAP_SHARED, fileno(fp), mapoff)) == MAP_FAILED) { + ierr(); + return; + } + } + p = start + (curoff - mapoff); + /* Last char is special, ignore whether newline or not. */ + if (*p == '\n' && curoff != size -1 && !--off) { + curoff++; + break; + } } - if ((start = mmap(NULL, (size_t)size, - PROT_READ, MAP_SHARED, fileno(fp), (off_t)0)) == MAP_FAILED) { - ierr(); - return; - } + if (curoff < 0) + curoff = 0; - /* Last char is special, ignore whether newline or not. */ - for (p = start + size - 1; --size;) - if (*--p == '\n' && !--off) { - ++p; - break; + while (curoff != size) { + if (curoff < mapoff || curoff >= mapoff + maplen) { + if (start && munmap(start, maplen)) { + ierr(); + return; + } + mapoff = curoff & (~(TAILMAPLEN-1)); + maplen = TAILMAPLEN; + if (mapoff + maplen > size) + maplen = size - mapoff; + if ((start = mmap(NULL, maplen, PROT_READ, + MAP_SHARED, fileno(fp), mapoff)) == MAP_FAILED) { + ierr(); + return; + } } + p = start + (curoff - mapoff); + WR(p, maplen - (curoff - mapoff)); + curoff += maplen - (curoff - mapoff); + } /* Set the file pointer to reflect the length displayed. */ - size = sbp->st_size - size; - WR(p, size); - if (fseek(fp, (long)sbp->st_size, SEEK_SET) == -1) { + if (fseeko(fp, sbp->st_size, SEEK_SET) == -1) { ierr(); return; } - if (munmap(start, (size_t)sbp->st_size)) { + if (start != NULL && munmap(start, maplen)) { ierr(); return; } } Index: usr.bin/tail/reverse.c =================================================================== RCS file: /cvs/FreeBSD-CVS/src/usr.bin/tail/reverse.c,v retrieving revision 1.10 diff -u -7 -r1.10 reverse.c --- usr.bin/tail/reverse.c 2000/12/03 17:05:45 1.10 +++ usr.bin/tail/reverse.c 2000/12/16 14:54:55 @@ -110,51 +110,90 @@ static void r_reg(fp, style, off, sbp) FILE *fp; enum STYLE style; long off; struct stat *sbp; { - off_t size; + off_t size, curoff; int llen; char *p; char *start; + off_t mapoff; + size_t maplen; if (!(size = sbp->st_size)) return; - if (size > SIZE_T_MAX) { - errno = EFBIG; - ierr(); - return; - } - - if ((start = mmap(NULL, (size_t)size, - PROT_READ, MAP_SHARED, fileno(fp), (off_t)0)) == MAP_FAILED) { - ierr(); - return; - } - p = start + size - 1; - if (style == RBYTES && off < size) size = off; - /* Last char is special, ignore whether newline or not. */ - for (llen = 1; --size; ++llen) - if (*--p == '\n') { - WR(p + 1, llen); + start = NULL; + for (llen = 0, curoff = size - 1, mapoff = size; curoff >= 0; ++llen, curoff--) { + if (curoff < mapoff) { + if (start && munmap(start, maplen)) { + ierr(); + return; + } + mapoff = curoff & (~(TAILMAPLEN-1)); + maplen = curoff - mapoff + 1; + if ((start = mmap(NULL, maplen, PROT_READ, + MAP_SHARED, fileno(fp), mapoff)) == MAP_FAILED) { + ierr(); + return; + } + } + p = start + (curoff - mapoff); + /* Last char is special, ignore whether newline or not. */ + if (*p == '\n' && curoff != size - 1) { + if (curoff + 1 + llen <= mapoff + maplen) + WR(p + 1, llen); + else { + char *q; + if ((q = mmap(NULL, llen, PROT_READ, MAP_SHARED, + fileno(fp), curoff + 1)) == MAP_FAILED) { + ierr(); + return; + } + fprintf(stderr, "Got 1\n"); + WR(q, llen); + if (munmap(q, llen)) { + ierr(); + return; + } + } llen = 0; if (style == RLINES && !--off) { ++p; break; } + } + } + if (curoff < 0) + curoff = 0; + + if (llen) { + if (curoff + llen <= mapoff + maplen) + WR(p, llen); + else { + char *q; + if ((q = mmap(NULL, llen, PROT_READ, MAP_SHARED, + fileno(fp), curoff)) == MAP_FAILED) { + ierr(); + return; + } + fprintf(stderr, "Got 2\n"); + WR(q, llen); + if (munmap(q, llen)) { + ierr(); + return; + } } - if (llen) - WR(p, llen); - if (munmap(start, (size_t)sbp->st_size)) + } + if (start != NULL && munmap(start, maplen)) ierr(); } typedef struct bf { struct bf *next; struct bf *prev; int len; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jan 30 6:10:23 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id EF65E37B4E0 for ; Tue, 30 Jan 2001 06:10:04 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0UEA4k56894; Tue, 30 Jan 2001 06:10:04 -0800 (PST) (envelope-from gnats) Date: Tue, 30 Jan 2001 06:10:04 -0800 (PST) Message-Id: <200101301410.f0UEA4k56894@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Bruce Evans Subject: Re: bin/24732: cmp can not compare files lager 2GB but smaller 4GB Reply-To: Bruce Evans Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/24732; it has been noted by GNATS. From: Bruce Evans To: kazarov@izmiran.rssi.ru Cc: freebsd-gnats-submit@FreeBSD.ORG Subject: Re: bin/24732: cmp can not compare files lager 2GB but smaller 4GB Date: Wed, 31 Jan 2001 01:02:21 +1100 (EST) On Tue, 30 Jan 2001 kazarov@izmiran.rssi.ru wrote: > And tests shows that cmp cannot mmap two files of silze greate about 1213MB (on my system). This seems about right for i386's. Two files have to be mapped below the kernel start address of 3G, so their size is limited to 1.5GB. Big files, at least, have to be mapped after libraries, so there size is further limited. > So constant should be decreased to 1GB This is rather machine-dependent, and probably too large to be optimal anyway. To fix the machine-dependencies, I think cmp should just try to mmap both files and fall back to c_special() if this fails. Note that the current check against SIZE_T_MAX is just to prevent overflow, but it is broken in several ways: (1) It SIZE_T_MAX with MIN(len1, len2), but it needs to compare with MAX(len1, len2) to prevent overflow when the lengths are cast to size_t. (2) It needs comapare SIZE_T_MAX with MAX(len1 + skip1 % pagesize, len2 + skip2 % pagesize) to prevent overflow when the adjusted lengths are passed to mmap(). The casts in (1) are bogus anyway. They are unnecessary if a prototype for mmap() is in scope and are in the wrong place otherwise (the whole adjusted lengths should be cast). Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jan 30 6:20:19 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1D5E537B4EC for ; Tue, 30 Jan 2001 06:20:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0UEK1I60783; Tue, 30 Jan 2001 06:20:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7BC9D37B4F8 for ; Tue, 30 Jan 2001 06:17:12 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0UEHCr58587; Tue, 30 Jan 2001 06:17:12 -0800 (PST) (envelope-from nobody) Message-Id: <200101301417.f0UEHCr58587@freefall.freebsd.org> Date: Tue, 30 Jan 2001 06:17:12 -0800 (PST) From: admin@allegan.net To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/24735: Still problems (crashes) with ipfw, bridging and dummynet on 4.2-STABLE. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24735 >Category: kern >Synopsis: Still problems (crashes) with ipfw, bridging and dummynet on 4.2-STABLE. >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 30 06:20:00 PST 2001 >Closed-Date: >Last-Modified: >Originator: Sean Gum >Release: 4.2-STABLE >Organization: Allegan Internet Services, Inc. >Environment: FreeBSD bandwidth.allegan.net 4.2-STABLE FreeBSD 4.2-STABLE #0: Sun Jan 28 13:25 :16 EST 2001 root@bandwidth.allegan.net:/usr/src/sys/compile/FWKERNEL i386 >Description: I am still having problems getting ipfw, bridging and dummynet to be stable. 4.1 and 4.2 caused panics upon startup. 4.2-Stable allows it to run (yeah!) but it is still unstable. About every hour or so it reboots. Sometimes it reboots 5 or 6 times in a few minutes time. There is no pattern. However if I disable bridging it will runs fine. >How-To-Repeat: Install ipfw, bridging and dummynet on a 4.2-STABLE release. Run it for a few hours and you'll get a panic/reboot sometime during that period. >Fix: I tried the patch mentioned in PR23187 but it didn't help any. Rebooted again in less than an hour. No fixes are known to me. (Other than disabling bridging which I can't do.) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jan 30 7: 0:28 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id DBE4437B4EC for ; Tue, 30 Jan 2001 07:00:10 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0UF0Ad04989; Tue, 30 Jan 2001 07:00:10 -0800 (PST) (envelope-from gnats) Date: Tue, 30 Jan 2001 07:00:10 -0800 (PST) Message-Id: <200101301500.f0UF0Ad04989@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Dmitry Kazarov" Subject: Re: bin/24732: cmp can not compare files lager 2GB but smaller 4GB Reply-To: "Dmitry Kazarov" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/24732; it has been noted by GNATS. From: "Dmitry Kazarov" To: "Bruce Evans" Cc: Subject: Re: bin/24732: cmp can not compare files lager 2GB but smaller 4GB Date: Tue, 30 Jan 2001 17:59:23 +0300 > > So constant should be decreased to 1GB > > This is rather machine-dependent, and probably too large to be optimal > anyway. > > To fix the machine-dependencies, I think cmp should just try to mmap > both files and fall back to c_special() if this fails. Note that > the current check against SIZE_T_MAX is just to prevent overflow, > but it is broken in several ways: > (1) It SIZE_T_MAX with MIN(len1, len2), but it needs to compare with > MAX(len1, len2) to prevent overflow when the lengths are cast to > size_t. > (2) It needs comapare SIZE_T_MAX with > MAX(len1 + skip1 % pagesize, len2 + skip2 % pagesize) to prevent > overflow when the adjusted lengths are passed to mmap(). > The casts in (1) are bogus anyway. They are unnecessary if a prototype > for mmap() is in scope and are in the wrong place otherwise (the whole > adjusted lengths should be cast). Hi, Bruce, Sorry, I do not understand why compare MAX(...) to SIZE_T_MAX. IMHO, mmap maps the file into process memory so both files together should fit into process accessible address space which is less then SIZE_T_MAX (my expirements with cmp showed that is about 2430MB, on Solaris 2.4 it was 2GB only). So it's nessesary to compare (len1+skip1%pagesize + len2+skip2%pagesize) to 2430MB (for my system). Cause, reverting to c_special on mmap failure could be a better way but, IMHO, the best solution would be proposal of Poul-Henning Kamp ( http://www.freebsd.org/cgi/query-pr.cgi?pr=18589 ): "Add a loop around the mmap/compare operation which operates on some moderate amount of data each iteration." Sincerely Yours Dmitry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jan 30 8: 0:19 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 867D437B698 for ; Tue, 30 Jan 2001 08:00:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0UG01L91591; Tue, 30 Jan 2001 08:00:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E56FE37B67D for ; Tue, 30 Jan 2001 07:57:08 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0UFv8i91390; Tue, 30 Jan 2001 07:57:08 -0800 (PST) (envelope-from nobody) Message-Id: <200101301557.f0UFv8i91390@freefall.freebsd.org> Date: Tue, 30 Jan 2001 07:57:08 -0800 (PST) From: nikolayg@simplernetworks.com To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: i386/24737: Socks5 clients die with leaving zombie processes on the server. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24737 >Category: i386 >Synopsis: Socks5 clients die with leaving zombie processes on the server. >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 30 08:00:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Nikolay >Release: 4.2 RELEASE >Organization: Simpler Networks >Environment: FreeBSD ns.simplernetworks.com 4.2-RELEASE FreeBSD 4.2-RELEASE #1: Fri Jan 26 16:54:33 EST 2001 root@ns.simplernetworks.com:/usr/src/sys/compile/SIMPLERNET i386 >Description: After starting the socks5 server in daemon mode and then you start a socks5 client say ICQ, a zombie process appears on the server. When you quit the application 2 more zombies appears. The same applies to MSN messenger. It starts without zombie but dies with leaving one. When the quantity reaches 64 zombies no clients can connect to the socks5 server. The socks5 server was compiled with --with-srvconffile and --with-srvpidfile. The version of the socks5 server is socks5 v1.0 release 11. The software was downloaded from www.socks.nec.com. The kernel for FreeBSD was compiled without touching any options regarding the processes. >How-To-Repeat: Just start socks5 server as socks5 -b 1080. Then start ICQ client. You'll see immediatly one zombie process. Quit ICQ and 2 more zombies appears. >Fix: Not known yet. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jan 30 8: 0:28 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D25AB37B684 for ; Tue, 30 Jan 2001 08:00:07 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0UG07p91611; Tue, 30 Jan 2001 08:00:07 -0800 (PST) (envelope-from gnats) Date: Tue, 30 Jan 2001 08:00:07 -0800 (PST) Message-Id: <200101301600.f0UG07p91611@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Thomas Moestl Subject: Re: kern/24735: Still problems (crashes) with ipfw, bridging and dummynet on 4.2-STABLE. Reply-To: Thomas Moestl Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/24735; it has been noted by GNATS. From: Thomas Moestl To: freebsd-gnats-submit@FreeBSD.org, admin@allegan.net Cc: Subject: Re: kern/24735: Still problems (crashes) with ipfw, bridging and dummynet on 4.2-STABLE. Date: Tue, 30 Jan 2001 16:59:32 +0100 Hi, > I am still having problems getting ipfw, bridging and dummynet to be > stable. 4.1 and 4.2 caused panics upon startup. 4.2-Stable allows it > to run (yeah!) but it is still unstable. About every hour or so it > reboots. Sometimes it reboots 5 or 6 times in a few minutes time. There > is no pattern. However if I disable bridging it will runs fine. Perhaps you are running out of mbuf clusters? You should do a netstat -m to check this. If the peak values are close to max, you need to increase NMBCLUSTERS (or probably better maxusers) in you kernel config. These settings are also changeable via sysctls (in kern.ipc). If this is not the problem, could you please supply more debugging info (e.g. panic message, if possible backtrace)? - thomas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jan 30 8:20:28 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 83E8A37B67D for ; Tue, 30 Jan 2001 08:20:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0UGK1M96292; Tue, 30 Jan 2001 08:20:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7F11837B65D for ; Tue, 30 Jan 2001 08:19:43 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0UGJhc96262; Tue, 30 Jan 2001 08:19:43 -0800 (PST) (envelope-from nobody) Message-Id: <200101301619.f0UGJhc96262@freefall.freebsd.org> Date: Tue, 30 Jan 2001 08:19:43 -0800 (PST) From: paulsen@orbiteam.de To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/24739: "kldunload ipf" kernel module (V3.4.16) crashs freebsd Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24739 >Category: kern >Synopsis: "kldunload ipf" kernel module (V3.4.16) crashs freebsd >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 30 08:20:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Volker Paulsen >Release: 4.2-STABLE >Organization: OrbiTeam Software GmbH >Environment: FreeBSD ns.orbiteam.de 4.2-STABLE FreeBSD 4.2-STABLE #0: Tue Jan 16 14:22:47 CET 2001 root@ns.orbiteam.de:/usr/obj/usr/src/sys/ORBI-NS i386 >Description: Unloading the dynamic kernel module of ipfilter 3.4.16 causes a kernel panic: Jan 29 14:06:03 ns /kernel: IP Filter: v3.4.16 unloaded Jan 29 14:08:29 ns /kernel: Copyright (c) 1992-2001 The FreeBSD Project. root@ns 16:55 [crash] gdb -k kernel.0 vmcore.0 ... IdlePTD 3985408 initial pcb at 321d40 panicstr: page fault panic messages: --- Fatal trap 12: page fault while in kernel mode fault virtual address = 0x10 fault code = supervisor read, page not present instruction pointer = 0x8:0xc018fbb3 stack pointer = 0x10:0xccc52da4 frame pointer = 0x10:0xccc52dc4 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 59 (ipmon) interrupt mask = none trap number = 12 panic: page fault syncing disks... 1 done ... >How-To-Repeat: kldunload ipf >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jan 30 8:30:22 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id ECA2237B4EC for ; Tue, 30 Jan 2001 08:30:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0UGU1N98037; Tue, 30 Jan 2001 08:30:01 -0800 (PST) (envelope-from gnats) Received: from point.osg.gov.bc.ca (point.osg.gov.bc.ca [142.32.102.44]) by hub.freebsd.org (Postfix) with ESMTP id 15F8837B4EC for ; Tue, 30 Jan 2001 08:28:31 -0800 (PST) Received: (from daemon@localhost) by point.osg.gov.bc.ca (8.8.7/8.8.8) id IAA29055 for ; Tue, 30 Jan 2001 08:28:25 -0800 Received: from passer.osg.gov.bc.ca(142.32.110.29) via SMTP by point.osg.gov.bc.ca, id smtpda29053; Tue Jan 30 08:28:23 2001 Received: (from uucp@localhost) by passer.osg.gov.bc.ca (8.11.2/8.9.1) id f0UGSIl30872 for ; Tue, 30 Jan 2001 08:28:18 -0800 (PST) Received: from cwsys9.cwsent.com(10.2.2.1), claiming to be "cwsys.cwsent.com" via SMTP by passer9.cwsent.com, id smtpdX30870; Tue Jan 30 08:28:12 2001 Received: (from cy@localhost) by cwsys.cwsent.com (8.11.2/8.9.1) id f0UGSCh11615; Tue, 30 Jan 2001 08:28:12 -0800 (PST) Message-Id: <200101301628.f0UGSCh11615@cwsys.cwsent.com> Date: Tue, 30 Jan 2001 08:28:12 -0800 (PST) From: Cy.Schubert@uumail.gov.bc.ca Reply-To: Cy.Schubert@uumail.gov.bc.ca To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/24740: CONNER CFP1080 Tagged Queueing Filesystem Corruption Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24740 >Category: kern >Synopsis: filesystem corruption CFP1080 CAM SCSI cam_xpt.c >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 30 08:30:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Cy Schubert >Release: FreeBSD 4.2-RELEASE i386 >Organization: ITSD Province of BC >Environment: FreeBSD cwsys 4.2-RELEASE FreeBSD 4.2-RELEASE #9: Tue Jan 30 06:59:46 PST 2001 root@:/opt/cvs-420r/src/sys/compile/CWSYS i386 >Description: After replacing a dead Quantum drive with a CONNER CFP1080S drive, filesystem corrupted and data lost; system hung after six hours. >How-To-Repeat: Install a CONNER CFP1080 SCSI disk drive. >Fix: Disable tagged queueing for CONNER CFP1080*. --- src/sys/cam/cam_xpt.c.orig Tue Oct 31 14:09:59 2000 +++ src/sys/cam/cam_xpt.c Tue Jan 30 06:57:13 2001 @@ -354,6 +354,17 @@ /* * Broken tagged queuing drive. * Submitted by: + * Cy Schubert + * in PR kern/##### + */ + /* Broken tagged queuing drive */ + { T_DIRECT, SIP_MEDIA_FIXED, "CONNER", "CFP1080*", "*" }, + /*quirks*/0, /*mintags*/0, /*maxtags*/0 + }, + { + /* + * Broken tagged queuing drive. + * Submitted by: * NAKAJI Hiroyuki * in PR kern/9535 */ >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jan 30 9:30:23 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 0524B37B4EC for ; Tue, 30 Jan 2001 09:30:05 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0UHU4n07350; Tue, 30 Jan 2001 09:30:04 -0800 (PST) (envelope-from gnats) Date: Tue, 30 Jan 2001 09:30:04 -0800 (PST) Message-Id: <200101301730.f0UHU4n07350@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Kenneth D. Merry" Subject: Re: kern/24740: CONNER CFP1080 Tagged Queueing Filesystem Corruption Reply-To: "Kenneth D. Merry" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/24740; it has been noted by GNATS. From: "Kenneth D. Merry" To: Cy.Schubert@uumail.gov.bc.ca Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: kern/24740: CONNER CFP1080 Tagged Queueing Filesystem Corruption Date: Tue, 30 Jan 2001 10:21:38 -0700 On Tue, Jan 30, 2001 at 08:28:12 -0800, Cy.Schubert@uumail.gov.bc.ca wrote: > FreeBSD cwsys 4.2-RELEASE FreeBSD 4.2-RELEASE #9: Tue Jan 30 06:59:46 PST 2001 root@:/opt/cvs-420r/src/sys/compile/CWSYS i386 > > >Description: > > After replacing a dead Quantum drive with a CONNER CFP1080S drive, > filesystem corrupted and data lost; system hung after six hours. > > >How-To-Repeat: > > Install a CONNER CFP1080 SCSI disk drive. > > >Fix: > > Disable tagged queueing for CONNER CFP1080*. What sort of controller are you using? What I'm getting at here is that I want to make sure the corruption problem is due to the drive and not the controller or HBA driver. Also, can you supply dmesg output for the drive and controller? Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jan 30 9:30:26 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 73D1537B491 for ; Tue, 30 Jan 2001 09:30:06 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0UHU6C07357; Tue, 30 Jan 2001 09:30:06 -0800 (PST) (envelope-from gnats) Date: Tue, 30 Jan 2001 09:30:06 -0800 (PST) Message-Id: <200101301730.f0UHU6C07357@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Bruce Evans Subject: Re: bin/24732: cmp can not compare files lager 2GB but smaller 4GB Reply-To: Bruce Evans Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/24732; it has been noted by GNATS. From: Bruce Evans To: Dmitry Kazarov Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: bin/24732: cmp can not compare files lager 2GB but smaller 4GB Date: Wed, 31 Jan 2001 04:24:15 +1100 (EST) On Tue, 30 Jan 2001, Dmitry Kazarov wrote: > Sorry, I do not understand why compare MAX(...) to SIZE_T_MAX. > IMHO, mmap maps the file into process memory so both files together should > fit into process accessible address space which is less then SIZE_T_MAX (my > expirements with cmp showed that is about 2430MB, on Solaris 2.4 it was 2GB > only). mmap()'s `len' arg has type size_t, so lengths larger than SIZE_T_MAX can't be passed to mmap() for it to check (and fail on). > So it's nessesary to compare (len1+skip1%pagesize + len2+skip2%pagesize) to > 2430MB (for my system). mmap() will check this if the full lengths can be passed to it. Since their are 2 mmap()s, there is a machine-dependent amount of space between them. PAGE_SIZE is probably sufficient, but you have to look at the implementation to tell. Your 2430MB must have some slop for this. > Cause, reverting to c_special on mmap failure could be a better way but, > IMHO, the best solution would be proposal of Poul-Henning Kamp > ( http://www.freebsd.org/cgi/query-pr.cgi?pr=18589 ): > "Add a loop around the mmap/compare operation which operates on some > moderate amount of data each iteration." I agree. cp uses 8MB for the moderate amount. So does xinstall for its file comparison function. xinstall also falls back to read() when mmap() fails, and has a -M flag to prevent use of mmap(). Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jan 30 10: 0:20 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B0A2037B67D for ; Tue, 30 Jan 2001 10:00:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0UI01Z10769; Tue, 30 Jan 2001 10:00:01 -0800 (PST) (envelope-from gnats) Received: from matrix.myst.dohd.org (e194106.upc-e.chello.nl [213.93.194.106]) by hub.freebsd.org (Postfix) with ESMTP id 71AD137B491 for ; Tue, 30 Jan 2001 09:50:32 -0800 (PST) Received: (from maikel@localhost) by matrix.myst.dohd.org (8.11.1/8.11.1) id f0UHoVY25152; Tue, 30 Jan 2001 18:50:31 +0100 (CET) (envelope-from maikel) Message-Id: <200101301750.f0UHoVY25152@matrix.myst.dohd.org> Date: Tue, 30 Jan 2001 18:50:31 +0100 (CET) From: maikel@myst.dyn.dohd.org Reply-To: maikel@myst.dyn.dohd.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/24741: Reboot when using vlans on a xl card without an ip on NIC Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24741 >Category: kern >Synopsis: Reboot when using vlans on a xl card without an ip on NIC >Confidential: no >Severity: critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 30 10:00:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Maikel Verheijen >Release: FreeBSD 4.2-STABLE i386 >Organization: Unorganized :) >Environment: A regular FreeBSD 4.2-stable machine, with 2 3com xl cards on a cisco catalyst with a trunc port. >Description: My machine reboots if I configure an IP number on a vlan, which vlandevice is not configured with an ip number. Eg: # ifconfig xl0 xl0: flags=8843 mtu 1500 ether 00:01:02:11:ad:e4 media: autoselect (100baseTX ) status: active supported media: autoselect 100baseTX 100baseTX 10baseT/UTP 10baseT/UTP 100baseTX # ifconfig vlan0 vlan 120 vlandev xl0 # ifconfig vlan0 10.10.10.2 netmask 255.255.255.0 If I run the ifconfig command on the vlan interface with ip numbers, it will reboot the machine. It doesn't care if I combine the vlan defenition and the ip address config, it will crash the machine as well. >How-To-Repeat: See above. >Fix: If you put an IP number on the vlandevice, it will work. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jan 30 11:10:21 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1E42A37B6AD for ; Tue, 30 Jan 2001 11:10:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0UJA3B23792; Tue, 30 Jan 2001 11:10:03 -0800 (PST) (envelope-from gnats) Date: Tue, 30 Jan 2001 11:10:03 -0800 (PST) Message-Id: <200101301910.f0UJA3B23792@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Mike Heffner Subject: RE: bin/16929: [PATCH] prevent possible race condition in sort Reply-To: Mike Heffner Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/16929; it has been noted by GNATS. From: Mike Heffner To: freebsd-gnats-submit@freebsd.org Cc: Subject: RE: bin/16929: [PATCH] prevent possible race condition in sort Date: Tue, 30 Jan 2001 14:08:52 -0500 (EST) On 23-Feb-2000 spock@techfour.net wrote: | |>Number: 16929 |>Category: bin |>Synopsis: [PATCH] prevent possible race condition in sort This was fixed in rev 1.18, so it can be closed. -- Mike Heffner Blacksburg, VA ICQ# 882073 http://filebox.vt.edu/users/mheffner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jan 30 13:10:23 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 734C037B6A6 for ; Tue, 30 Jan 2001 13:10:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0ULA2T42479; Tue, 30 Jan 2001 13:10:02 -0800 (PST) (envelope-from gnats) Received: from nl.nisser.com (unknown [212.104.206.221]) by hub.freebsd.org (Postfix) with ESMTP id 26CC837B69F for ; Tue, 30 Jan 2001 13:00:50 -0800 (PST) Received: by nl.nisser.com (Postfix, from userid 0) id D992212C31; Tue, 30 Jan 2001 22:01:09 +0100 (CET) Message-Id: <20010130210109.D992212C31@nl.nisser.com> Date: Tue, 30 Jan 2001 22:01:09 +0100 (CET) From: root@nl.nisser.com Reply-To: roelof@eboa.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/24742: adduser sequences wrongly for Maildirs Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24742 >Category: bin >Synopsis: send adduser.message before dirs are created >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 30 13:10:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: da & >Release: FreeBSD 4.2-RELEASE i386 >Organization: eBOA, Nisser division >Environment: irrelevant >Description: when using adduser in a setting where Maildirs are used the complementary adduser.message can not be delivered since it gets send before the actual userdirs have been created and filled from skeleton. Hence postfix, in my case, will complain. >How-To-Repeat: adding an user when running with, say, postfix though I'm sure qmail will have the same problem. >Fix: haven't looked at it. Work around is to not send the message. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jan 30 15:30:21 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 706ED37B6D7 for ; Tue, 30 Jan 2001 15:30:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0UNU2q60386; Tue, 30 Jan 2001 15:30:02 -0800 (PST) (envelope-from gnats) Received: from dataloss.net (massive.dataloss.net [212.189.232.193]) by hub.freebsd.org (Postfix) with SMTP id AE18737B6D6 for ; Tue, 30 Jan 2001 15:26:32 -0800 (PST) Received: (qmail 7240 invoked by uid 1000); 30 Jan 2001 23:19:42 -0000 Message-Id: <20010130231942.7239.qmail@massive.dataloss.net> Date: 30 Jan 2001 23:19:42 -0000 From: peter@dataloss.net Reply-To: peter@dataloss.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: misc/24744: sys/socket.h depends on sys/types.h without including it Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24744 >Category: misc >Synopsis: sys/socket.h uses u_char without including sys/types.h >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 30 15:30:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Peter van Dijk >Release: FreeBSD 4.2-STABLE i386 >Organization: - >Environment: RELENG_4, cvsupped and world'ed dec 16th 2000. >Description: sys/socket.h contains, amongst others, the line: typedef u_char sa_family_t; u_char is defined in sys/types.h, but sys/socket.h doesn't include it >How-To-Repeat: #include #include void main(void) { } Swapping the two include lines around makes it compile fine. >Fix: Include sys/types.h from sys/socket.h >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jan 30 16: 0:20 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5DDDF37B69E for ; Tue, 30 Jan 2001 16:00:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0V002s62892; Tue, 30 Jan 2001 16:00:02 -0800 (PST) (envelope-from gnats) Received: from www01.websitefactory.net (unknown [204.42.240.60]) by hub.freebsd.org (Postfix) with ESMTP id 0A36F37B684 for ; Tue, 30 Jan 2001 15:54:00 -0800 (PST) Received: (from quake3@localhost) by www01.websitefactory.net (8.11.1/8.11.1) id f0UNpr149540; Tue, 30 Jan 2001 18:51:53 -0500 (EST) (envelope-from quake3) Message-Id: <200101302351.f0UNpr149540@www01.websitefactory.net> Date: Tue, 30 Jan 2001 18:51:53 -0500 (EST) From: jweaver@accountsupport.com Reply-To: jweaver@accountsupport.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/24745: ftp segfault condition Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24745 >Category: bin >Synopsis: /usr/bin/ftp program segfaults with following commandline >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 30 16:00:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Jonathan Weaver >Release: FreeBSD 4.2-20001205-STABLE i386 >Organization: HypnoSys Productions >Environment: FreeBSD 4.2-20001205-STABLE #0: Tue Dec 5 13:09:07 GMT 2000 root@usw3.freebsd.org:/usr/src/sys/compile/GENERIC Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (497.44-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x672 Stepping = 2 Features=0x387fbff real memory = 268369920 (262080K bytes) bash-2.04 >Description: Following http url commandline makes /usr/bin/ftp Segfault >How-To-Repeat: bash-2.04$ ftp http://www.wfamaps.com/download.php?file=/pub/wfamaps/maps/map-2forts-wfa.zip Requesting http://www.wfamaps.com/download.php?file=/pub/wfamaps/maps/map-2forts-wfa.zip ftp: Error retrieving file: 404 Not Found ftp in free(): warning: junk pointer, too high to make sense. Segmentation fault (core dumped) >Fix: Have no time to debug the code, sorry. =( >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jan 30 17:30:20 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id CF7EA37B6B3 for ; Tue, 30 Jan 2001 17:30:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0V1U1h74733; Tue, 30 Jan 2001 17:30:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7ABA737B6B7 for ; Tue, 30 Jan 2001 17:26:41 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0V1QfG74119; Tue, 30 Jan 2001 17:26:41 -0800 (PST) (envelope-from nobody) Message-Id: <200101310126.f0V1QfG74119@freefall.freebsd.org> Date: Tue, 30 Jan 2001 17:26:41 -0800 (PST) From: heivo@htg.tartu.ee To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/24746: SSH terminal hangs on large paste of data into pine, joe etc. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24746 >Category: misc >Synopsis: SSH terminal hangs on large paste of data into pine, joe etc. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 30 17:30:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Heivo Kikkatalo >Release: FreeBSD 4.2 >Organization: HTG kool (secondary school) >Environment: FreeBSD maurus.htg.tartu.ee 4.2-RELEASE FreeBSD 4.2-RELEASE #1: Thu Dec 28 21:25:38 EET 2000 root@maurus.htg.tartu.ee:/usr/src/sys/compile/MAURUS i386 >Description: When I paste several pages (sometimes 2, or 3 .. ) text to my terminal (Teraterm with ssh, also works with others) to pine or to any editor (it's harder with vi) (enviroment is Windows 98), this terminal hangs and with next terminal I even can't kill pervious work. And so in the evening I usually see 3-4 users who had same problem and can't exit the system normally. Somewhwere i saw the problem called "pty hang", but I can't be sure that thats the same. But description was the same, and I can't find any solutions in the web. >How-To-Repeat: Needs to paste to another terminal more text than a page. And I don't remember that problem from pervious FreeBSD 3.4 version. >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jan 30 20:40:21 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 819A037B69B for ; Tue, 30 Jan 2001 20:40:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0V4e2d99911; Tue, 30 Jan 2001 20:40:02 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4F7CA37B69B for ; Tue, 30 Jan 2001 20:38:58 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0V4cwb99821; Tue, 30 Jan 2001 20:38:58 -0800 (PST) (envelope-from nobody) Message-Id: <200101310438.f0V4cwb99821@freefall.freebsd.org> Date: Tue, 30 Jan 2001 20:38:58 -0800 (PST) From: yoshi@parodius.com To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: bin/24748: OpenSSH creates broken pipes Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24748 >Category: bin >Synopsis: OpenSSH creates broken pipes >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 30 20:40:02 PST 2001 >Closed-Date: >Last-Modified: >Originator: Jeremy Chadwick >Release: 4.2-STABLE >Organization: >Environment: FreeBSD hybrid.best.net 4.2-STABLE FreeBSD 4.2-STABLE #0: Sat Jan 20 17:35:47 PST 2001 root@hybrid.best.net:/usr/obj/usr/src/sys/PARODIUS i386 >Description: OpenSSH results in broken pipes when pipe is terminated prematurely or properly. This does not harm functionality, but is very, VERY irritating. This problem was also mentioned on the FreeBSD mailing list at the following URL: http://www.freebsd.org/cgi/getmsg.cgi?fetch=60124+0+/usr/local/www/db/text/2001/freebsd-questions/20010128.freebsd-questions >How-To-Repeat: $ yes > x (wait 5-6 seconds) ^C $ grep 'y' x | less (hit 'q' after prompted) grep: writing output: Broken pipe (..repeat thousands of times...) >Fix: OpenSSH maintainers are aware of this problem, but did not seem to care enough to fix the problem with 2.3.0. Odd. Patch (official?) is provided at the following URL: http://msgs.securepoint.com/cgi-bin/get/openssh-unix-dev-0012/65/1/1/1.html?nogifs >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jan 30 22:40:22 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1DA5937B4EC for ; Tue, 30 Jan 2001 22:40:05 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0V6e5b21361; Tue, 30 Jan 2001 22:40:05 -0800 (PST) (envelope-from gnats) Date: Tue, 30 Jan 2001 22:40:05 -0800 (PST) Message-Id: <200101310640.f0V6e5b21361@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Alex Kapranoff Subject: Re: bin/24742: adduser sequences wrongly for Maildirs Reply-To: Alex Kapranoff Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/24742; it has been noted by GNATS. From: Alex Kapranoff To: roelof@eboa.com Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: bin/24742: adduser sequences wrongly for Maildirs Date: Wed, 31 Jan 2001 09:21:17 +0300 On Tue, Jan 30, 2001 at 10:01:09PM +0100, root@nl.nisser.com wrote: > > >Number: 24742 > >Category: bin > >Synopsis: send adduser.message before dirs are created > >Description: > > when using adduser in a setting where Maildirs are used the complementary > adduser.message can not be delivered since it gets send before the > actual userdirs have been created and filled from skeleton. Hence > postfix, in my case, will complain. Applying this patch in /usr/src/usr.sbin/adduser/ should fix it for some values of 'fix': --- /usr/src/usr.sbin/adduser/adduser.perl Thu Dec 14 22:12:25 2000 +++ adduser.perl Wed Jan 31 09:14:00 2001 @@ -711,9 +711,9 @@ &new_users_pwdmkdb("$new_entry"); &new_users_group_update; &new_users_passwd_update; print "Added user ``$name''\n"; - &new_users_sendmessage; &adduser_log("$name:*:$u_id:$g_id($group_login):$fullname"); &home_create($userhome, $name, $group_login); + &new_users_sendmessage; } else { $new_users_ok = 0; } -- Alex Kapranoff, Voice: +7(0832)791845 We've lived 30 days in the brand new millenium... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jan 30 23: 0:27 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9ED1A37B67D for ; Tue, 30 Jan 2001 23:00:08 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0V708423258; Tue, 30 Jan 2001 23:00:08 -0800 (PST) (envelope-from gnats) Date: Tue, 30 Jan 2001 23:00:08 -0800 (PST) Message-Id: <200101310700.f0V708423258@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Alex Kapranoff Subject: Re: bin/24745: ftp segfault condition Reply-To: Alex Kapranoff Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/24745; it has been noted by GNATS. From: Alex Kapranoff To: jweaver@accountsupport.com Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: bin/24745: ftp segfault condition Date: Wed, 31 Jan 2001 09:46:11 +0300 On Tue, Jan 30, 2001 at 06:51:53PM -0500, jweaver@accountsupport.com wrote: > >Description: > Following http url commandline makes /usr/bin/ftp Segfault > > >How-To-Repeat: > bash-2.04$ ftp http://www.wfamaps.com/download.php?file=/pub/wfamaps/maps/map-2forts-wfa.zip > Requesting http://www.wfamaps.com/download.php?file=/pub/wfamaps/maps/map-2forts-wfa.zip > ftp: Error retrieving file: 404 Not Found > > ftp in free(): warning: junk pointer, too high to make sense. > Segmentation fault (core dumped) I confirm the bug under 4.2-STABLE. By the way, it works fine under -CURRENT, so you can try to backport some -CURRENT diffs. -- Alex Kapranoff, Voice: +7(0832)791845 We've lived 4 weeks in the brand new millenium... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jan 30 23:40:25 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 50BCE37B6C8 for ; Tue, 30 Jan 2001 23:40:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0V7e1X28967; Tue, 30 Jan 2001 23:40:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2ADB237B6C8 for ; Tue, 30 Jan 2001 23:35:50 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0V7Zo628764; Tue, 30 Jan 2001 23:35:50 -0800 (PST) (envelope-from nobody) Message-Id: <200101310735.f0V7Zo628764@freefall.freebsd.org> Date: Tue, 30 Jan 2001 23:35:50 -0800 (PST) From: riccardo@torrini.org To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/24750: unable to make reinstall on a fresh installed 4.2 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24750 >Category: misc >Synopsis: unable to make reinstall on a fresh installed 4.2 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 30 23:40:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Riccardo Torrini >Release: 4.2-RELEASE (iso image of 2000.11.22) >Organization: >Environment: FreeBSD bee.fi.esaote.it 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Mon Jan 29 17:06:19 GMT 2001 root@bee.fi.esaote.it:/usr/obj/usr/src/sys/BEE i386 >Description: After installing a new machine from 4.2-RELEASE cd I tryed to upgrade system without recompiling world but using a previously tree on another machine. I mounted /usr/(src|obj|ports), cd /usr/src and make reinstall but it fails with "don't know how to make reinstall" NB: I tryed with make reinstall even if Makefile identify it as private target because remarks before reinstall: gently explain # If you have a build server, you can NFS mount the source and obj # directories and do a 'make reinstall' on the *client* to install # new binaries from the most recent server build. I also tryed with "make install" and "installworld" but they also fails: ===> lib/libcom_err cd /usr/src/lib/libcom_err && install -C -o root -g wheel -m 444 /usr/src/lib/libcom_err/../../contrib/com_err/com_err.h /usr/include cd /usr/src/lib/libcom_err && install -C -o root -g wheel -m 444 /usr/src/lib/libcom_err/../../contrib/com_err/com_right.h /usr/include install -c -o root -g wheel -m 444 libcom_err.a /usr/lib install -c -o root -g wheel -m 444 libcom_err_p.a /usr/lib install: libcom_err_p.a: No such file or directory *** Error code 71 Stop in /usr/src/lib/libcom_err. *** Error code 1 Stop in /usr/src/lib. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. >How-To-Repeat: Install a fresh machine from 4.2-RELEASE CD (2000.11.22) NFS mount /usr/(src|obj) from a 4.2-STABLE # cd /usr/src && make reinstall make: don't know how to make reinstall. Stop -OR- # cd /urs/src && make install [...] install: libcom_err_p.a: No such file or directory Stop. -OR- # cd /usr/src && make installworld [...] install: libcom_err_p.a: No such file or directory Stop. >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jan 30 23:40:25 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 75DCC37B6C7 for ; Tue, 30 Jan 2001 23:40:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0V7e3M28976; Tue, 30 Jan 2001 23:40:03 -0800 (PST) (envelope-from gnats) Date: Tue, 30 Jan 2001 23:40:03 -0800 (PST) Message-Id: <200101310740.f0V7e3M28976@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Peter Pentchev Subject: Re: bin/24745: ftp segfault condition Reply-To: Peter Pentchev Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/24745; it has been noted by GNATS. From: Peter Pentchev To: Alex Kapranoff Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: bin/24745: ftp segfault condition Date: Wed, 31 Jan 2001 09:25:35 +0200 On Tue, Jan 30, 2001 at 11:00:08PM -0800, Alex Kapranoff wrote: > The following reply was made to PR bin/24745; it has been noted by GNATS. > > From: Alex Kapranoff > To: jweaver@accountsupport.com > Cc: FreeBSD-gnats-submit@FreeBSD.ORG > Subject: Re: bin/24745: ftp segfault condition > Date: Wed, 31 Jan 2001 09:46:11 +0300 > > On Tue, Jan 30, 2001 at 06:51:53PM -0500, jweaver@accountsupport.com wrote: > > > >Description: > > Following http url commandline makes /usr/bin/ftp Segfault > > > > >How-To-Repeat: > > bash-2.04$ ftp http://www.wfamaps.com/download.php?file=/pub/wfamaps/maps/map-2forts-wfa.zip > > Requesting http://www.wfamaps.com/download.php?file=/pub/wfamaps/maps/map-2forts-wfa.zip > > ftp: Error retrieving file: 404 Not Found > > > > ftp in free(): warning: junk pointer, too high to make sense. > > Segmentation fault (core dumped) > > I confirm the bug under 4.2-STABLE. By the way, it works fine under > -CURRENT, so you can try to backport some -CURRENT diffs. Actually, this is pretty much the only difference between usr.bin/ftp/ in -stable and -current. Try the attached patch, it does the trick for me. G'luck, Peter -- because I didn't think of a good beginning of it. Index: src/usr.bin/ftp/fetch.c =================================================================== RCS file: /home/ncvs/src/usr.bin/ftp/fetch.c,v retrieving revision 1.12.2.2 diff -u -r1.12.2.2 fetch.c --- src/usr.bin/ftp/fetch.c 2000/06/24 15:35:46 1.12.2.2 +++ src/usr.bin/ftp/fetch.c 2001/01/31 07:24:16 @@ -270,6 +270,7 @@ break; } freeaddrinfo(res0); + res0 = NULL; /* * Construct and send the request. We're expecting a return To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Tue Jan 30 23:50:20 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A4B4737B69C for ; Tue, 30 Jan 2001 23:50:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0V7o2829883; Tue, 30 Jan 2001 23:50:02 -0800 (PST) (envelope-from gnats) Date: Tue, 30 Jan 2001 23:50:02 -0800 (PST) Message-Id: <200101310750.f0V7o2829883@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Peter Pentchev Subject: Re: misc/24750: unable to make reinstall on a fresh installed 4.2 Reply-To: Peter Pentchev Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR misc/24750; it has been noted by GNATS. From: Peter Pentchev To: riccardo@torrini.org Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: misc/24750: unable to make reinstall on a fresh installed 4.2 Date: Wed, 31 Jan 2001 09:42:32 +0200 Are your /etc/make.conf files the same on the two machines? It seems to me that you have NOPROFILE=true on the build machine (the NFS server), but not on the freshly-installed one; so it's trying to install profiled libraries that have never been built. G'luck, Peter -- If there were no counterfactuals, this sentence would not have been paradoxical. On Tue, Jan 30, 2001 at 11:35:50PM -0800, riccardo@torrini.org wrote: > > >Number: 24750 > >Category: misc > >Synopsis: unable to make reinstall on a fresh installed 4.2 > >Originator: Riccardo Torrini > >Release: 4.2-RELEASE (iso image of 2000.11.22) > >Organization: > >Environment: > FreeBSD bee.fi.esaote.it 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Mon Jan 29 17:06:19 GMT 2001 root@bee.fi.esaote.it:/usr/obj/usr/src/sys/BEE i386 > >Description: > After installing a new machine from 4.2-RELEASE cd I tryed to upgrade > system without recompiling world but using a previously tree on another > machine. I mounted /usr/(src|obj|ports), cd /usr/src and make reinstall > but it fails with "don't know how to make reinstall" > > NB: I tryed with make reinstall even if Makefile identify it as private > target because remarks before reinstall: gently explain > # If you have a build server, you can NFS mount the source and obj > # directories and do a 'make reinstall' on the *client* to install > # new binaries from the most recent server build. > > I also tryed with "make install" and "installworld" but they also fails: > ===> lib/libcom_err > cd /usr/src/lib/libcom_err && install -C -o root -g wheel -m 444 /usr/src/lib/libcom_err/../../contrib/com_err/com_err.h /usr/include > cd /usr/src/lib/libcom_err && install -C -o root -g wheel -m 444 /usr/src/lib/libcom_err/../../contrib/com_err/com_right.h /usr/include > install -c -o root -g wheel -m 444 libcom_err.a /usr/lib > install -c -o root -g wheel -m 444 libcom_err_p.a /usr/lib > install: libcom_err_p.a: No such file or directory > *** Error code 71 > > Stop in /usr/src/lib/libcom_err. > *** Error code 1 > > Stop in /usr/src/lib. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > >How-To-Repeat: > Install a fresh machine from 4.2-RELEASE CD (2000.11.22) > NFS mount /usr/(src|obj) from a 4.2-STABLE > # cd /usr/src && make reinstall > make: don't know how to make reinstall. Stop > > -OR- > > # cd /urs/src && make install > [...] > install: libcom_err_p.a: No such file or directory > Stop. > > -OR- > > # cd /usr/src && make installworld > [...] > install: libcom_err_p.a: No such file or directory > Stop. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jan 31 0: 0:22 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4905F37B69C for ; Wed, 31 Jan 2001 00:00:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0V803831691; Wed, 31 Jan 2001 00:00:03 -0800 (PST) (envelope-from gnats) Date: Wed, 31 Jan 2001 00:00:03 -0800 (PST) Message-Id: <200101310800.f0V803831691@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Neil Blakey-Milner Subject: Re: misc/24750: unable to make reinstall on a fresh installed 4.2 Reply-To: Neil Blakey-Milner Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR misc/24750; it has been noted by GNATS. From: Neil Blakey-Milner To: riccardo@torrini.org Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: misc/24750: unable to make reinstall on a fresh installed 4.2 Date: Wed, 31 Jan 2001 09:55:51 +0200 On Tue 2001-01-30 (23:35), riccardo@torrini.org wrote: > I also tryed with "make install" and "installworld" but they also fails: > ===> lib/libcom_err > cd /usr/src/lib/libcom_err && install -C -o root -g wheel -m 444 /usr/src/lib/libcom_err/../../contrib/com_err/com_err.h /usr/include > cd /usr/src/lib/libcom_err && install -C -o root -g wheel -m 444 /usr/src/lib/libcom_err/../../contrib/com_err/com_right.h /usr/include > install -c -o root -g wheel -m 444 libcom_err.a /usr/lib > install -c -o root -g wheel -m 444 libcom_err_p.a /usr/lib > install: libcom_err_p.a: No such file or directory > *** Error code 71 Did your buildworld use NOPROFILE=true ? Neil -- Neil Blakey-Milner nbm@mithrandr.moria.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jan 31 0:26:47 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 321D937B491; Wed, 31 Jan 2001 00:26:30 -0800 (PST) Received: (from ru@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0V8QTp37393; Wed, 31 Jan 2001 00:26:29 -0800 (PST) (envelope-from ru) Date: Wed, 31 Jan 2001 00:26:29 -0800 (PST) From: Message-Id: <200101310826.f0V8QTp37393@freefall.freebsd.org> To: jweaver@accountsupport.com, ru@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/24745: /usr/bin/ftp program segfaults with following commandline Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: /usr/bin/ftp program segfaults with following commandline State-Changed-From-To: open->closed State-Changed-By: ru State-Changed-When: Wed Jan 31 00:25:06 PST 2001 State-Changed-Why: Duplicate of PR bin/21476 (the latter was fixed). http://www.freebsd.org/cgi/query-pr.cgi?pr=24745 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jan 31 0:29:45 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 063F337B4EC for ; Wed, 31 Jan 2001 00:29:23 -0800 (PST) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.0/8.11.0) id f0V8T2005786; Wed, 31 Jan 2001 10:29:02 +0200 (EET) (envelope-from ru) Date: Wed, 31 Jan 2001 10:29:01 +0200 From: Ruslan Ermilov To: Peter Pentchev Cc: freebsd-bugs@FreeBSD.ORG Subject: Re: bin/24745: ftp segfault condition Message-ID: <20010131102901.A3662@sunbay.com> Mail-Followup-To: Peter Pentchev , freebsd-bugs@FreeBSD.ORG References: <200101310740.f0V7e3M28976@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200101310740.f0V7e3M28976@freefall.freebsd.org>; from roam@orbitel.bg on Tue, Jan 30, 2001 at 11:40:03PM -0800 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Jan 30, 2001 at 11:40:03PM -0800, Peter Pentchev wrote: [...] > > Actually, this is pretty much the only difference between usr.bin/ftp/ > in -stable and -current. Try the attached patch, it does the trick > for me. > Sorry, my mistake, forgot to MFC the fix from rev 1.15. This is fixed now. Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jan 31 4:10:28 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8F6EA37B6AF for ; Wed, 31 Jan 2001 04:10:06 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0VCA6c70372; Wed, 31 Jan 2001 04:10:06 -0800 (PST) (envelope-from gnats) Date: Wed, 31 Jan 2001 04:10:06 -0800 (PST) Message-Id: <200101311210.f0VCA6c70372@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Dag-Erling Smorgrav Subject: Re: bin/24745: ftp segfault condition Reply-To: Dag-Erling Smorgrav Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/24745; it has been noted by GNATS. From: Dag-Erling Smorgrav To: jweaver@accountsupport.com Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: bin/24745: ftp segfault condition Date: 31 Jan 2001 13:09:34 +0100 jweaver@accountsupport.com writes: > Following http url commandline makes /usr/bin/ftp Segfault Don't use ftp(1) for retrieving HTTP documents. It only pretends to work. Use fetch(1), which makes a pretty good attempt at really working. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jan 31 4:10:28 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B38F737B684 for ; Wed, 31 Jan 2001 04:10:04 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0VCA4b70364; Wed, 31 Jan 2001 04:10:04 -0800 (PST) (envelope-from gnats) Date: Wed, 31 Jan 2001 04:10:04 -0800 (PST) Message-Id: <200101311210.f0VCA4b70364@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Dag-Erling Smorgrav Subject: Re: kern/24740: CONNER CFP1080 Tagged Queueing Filesystem Corruption Reply-To: Dag-Erling Smorgrav Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/24740; it has been noted by GNATS. From: Dag-Erling Smorgrav To: "Kenneth D. Merry" Cc: freebsd-gnats-submit@FreeBSD.ORG Subject: Re: kern/24740: CONNER CFP1080 Tagged Queueing Filesystem Corruption Date: 31 Jan 2001 13:05:18 +0100 I have a CFP1080S which has worked flawlessly without quirks since way before CAM. It's been inside the same machine since I bought it in 1995 or 1996, and that machine has been running CURRENT (3.0, then 4.0, then 5.0) since mid-1998, and was running RELENG_2_2 before that, and is now running RELENG_4. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jan 31 7:20:31 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D8F0037B4EC for ; Wed, 31 Jan 2001 07:20:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0VFK3480840; Wed, 31 Jan 2001 07:20:03 -0800 (PST) (envelope-from gnats) Date: Wed, 31 Jan 2001 07:20:03 -0800 (PST) Message-Id: <200101311520.f0VFK3480840@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Kenneth D. Merry" Subject: Re: kern/24740: CONNER CFP1080 Tagged Queueing Filesystem Corruption Reply-To: "Kenneth D. Merry" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/24740; it has been noted by GNATS. From: "Kenneth D. Merry" To: Dag-Erling Smorgrav Cc: freebsd-gnats-submit@FreeBSD.ORG Subject: Re: kern/24740: CONNER CFP1080 Tagged Queueing Filesystem Corruption Date: Wed, 31 Jan 2001 08:11:01 -0700 On Wed, Jan 31, 2001 at 13:05:18 +0100, Dag-Erling Smorgrav wrote: > I have a CFP1080S which has worked flawlessly without quirks since way > before CAM. It's been inside the same machine since I bought it in > 1995 or 1996, and that machine has been running CURRENT (3.0, then > 4.0, then 5.0) since mid-1998, and was running RELENG_2_2 before that, > and is now running RELENG_4. That's good to know. What firmware revision is it? (dmesg output would do the trick) And what controller is it on? (This may help for comparing against Cy's hardware.) Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jan 31 7:30:48 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id F0DBE37B4EC; Wed, 31 Jan 2001 07:30:30 -0800 (PST) Received: (from iedowse@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0VFUUp82143; Wed, 31 Jan 2001 07:30:30 -0800 (PST) (envelope-from iedowse) Date: Wed, 31 Jan 2001 07:30:30 -0800 (PST) From: Message-Id: <200101311530.f0VFUUp82143@freefall.freebsd.org> To: kjm@arc.umn.edu, iedowse@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/15065: fsck can't fix "huge" zero length files Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: fsck can't fix "huge" zero length files State-Changed-From-To: open->closed State-Changed-By: iedowse State-Changed-When: Wed Jan 31 07:19:54 PST 2001 State-Changed-Why: Fixed in revision 1.21 of src/sbin/fsck_ffs/pass1.c. I'll merge this into -stable in a few days. Thanks for the bug report! http://www.freebsd.org/cgi/query-pr.cgi?pr=15065 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jan 31 7:48:20 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E8E037B4EC for ; Wed, 31 Jan 2001 07:48:02 -0800 (PST) Received: from sep.hamburg.com (sep.hamburg.com [194.64.112.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBBA96E270E for ; Wed, 31 Jan 2001 07:48:00 -0800 (PST) Received: (from hmo@localhost) by sep.hamburg.com (8.11.1/8.11.1/hmo03sep00) id f0VFgQS37442; Wed, 31 Jan 2001 16:42:26 +0100 (CET) (envelope-from hmo) Message-Id: <200101311542.f0VFgQS37442@sep.hamburg.com> Subject: Re: kern/24379: ahc broken in STABLE In-Reply-To: <200101250237.f0P2bhs05220@aslan.scsiguy.com> from "Justin T. Gibbs" at "Jan 24, 2001 7:37:43 pm" To: gibbs@scsiguy.com (Justin T. Gibbs) Date: Wed, 31 Jan 2001 16:42:26 +0100 (CET) Cc: freebsd-bugs@FreeBSD.ORG From: helge@oldach.net (Helge Oldach) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Justin T. Gibbs: > >> I have already corrected the problem and should be committing the > >> fix soon. > >May I very kindly ask when you plan to MFC this. I've seen something on > >aic7xxx passing by on CURRENT yesterday, but I'm running STABLE... > I'm waiting the "mandatory" 3 days before a MFC. OK. It appeared in the meantime - and it works! Many thanks, Helge To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jan 31 8:43:12 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from holyghost.3dreams.local (unknown [212.77.176.10]) by hub.freebsd.org (Postfix) with ESMTP id D2F1637B65D for ; Wed, 31 Jan 2001 08:42:52 -0800 (PST) Subject: pmap_release: freeing held page table page Date: Wed, 31 Jan 2001 17:41:28 +0100 Message-ID: <8C5F82BC02D0AF4DB24C93FA8CEC83FFB042@holyghost.3dreams.local> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: pmap_release: freeing held page table page Thread-Index: AcCLpG0J8Vx+dYt6EcCBgl5GaZUmIA== X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0 content-class: urn:content-classes:message From: "Michael Huber" To: Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org hi, as i am fairly new to freebsd (ive worked on unix systems at school) maybe you can help me. first: sorry for my english :-) ok, ive installed and configured fbsd to suit my needs and everything run fine. since two days the machine reboots and i cant reproduce this error. it occurs randomly (at last it seems to be random for me). but before the machine reboots i get one of the two error messages: the first one: panic: pmap_release: freeing held page table page syncing discs... reboot the second one: fatal trap 12: page fault while in kernel mode fault virtual address: 0xe fault code: supervisor write, page not present instruction pointer: 0x8:0xc0557370 stack pointer: 0x10: 0xccd67b94 frame pointer: 0x10:0xccd67b88 code segment: base 0x0, limit 0xfffff, type 0x1b, DPL 0, pres 1, def32 1, gran 1 processor eflags: interrupt enabled, resume, IOPL=3D0 current process: 287 (csh) interrupt mask: net tty bio cam trap number: 12 panic: page fault syncings discs... fatal trap 12: page fault while in kernel mode fault virtual address: 0x0 fault code: supervisor write, page not present instruction pointer: 0x8:0xc0227f97 stack pointer: 0x10:0xccd677e0 frame pointer: 0x10:0xccd677e8 code segment: base 0x0, limit 0xfffff, type 0x1b, DPL 0, pres 1, def32 1, gran 1 processor eflags: interrupt enabled, resume, IOPL=3D0 current process: 287 (csh) interrupt mask: net tty bio cam trap number: 12 panic: page fault reboot this failure comes up on different actions so i dont know how to reproduce it. sometimes when i start a program like pine or ls. sometimes it comes when someone accesses a samba share. my freebsd release is 4.1 output of uname -a: FreeBSD father 4.1-RELEASE FreeBSD 4.1-RELEASE #0: Wed Dec 27 17:18:47 CET 2000 root@father.3DREAMS:/usr/src/sys/compile/FATHER1 i386 ____________________________________________ 3Dreams Medienagentur Michael Huber Yorckstr. 22 D- 93049 Regensburg fon: +49 (0) 941 30749-0 fax: +49 (0) 941 30749-20 e-mail: mhuber@3dreams.com web: http://www.3dreams.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jan 31 10: 0:22 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A3CC337B503 for ; Wed, 31 Jan 2001 10:00:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0VI03Q02373; Wed, 31 Jan 2001 10:00:03 -0800 (PST) (envelope-from gnats) Date: Wed, 31 Jan 2001 10:00:03 -0800 (PST) Message-Id: <200101311800.f0VI03Q02373@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Kenneth D. Merry" Subject: Re: [Re: misc/24725: failing install: not loading proper adaptec driver] Reply-To: "Kenneth D. Merry" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR misc/24725; it has been noted by GNATS. From: "Kenneth D. Merry" To: michael mundy Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: [Re: misc/24725: failing install: not loading proper adaptec driver] Date: Wed, 31 Jan 2001 10:57:18 -0700 [ Please remember to CC your replies to freebsd-gnats-submit@FreeBSD.org so they go into the log for this PR. Also, please put your reply below the text you're replying to. ] On Wed, Jan 31, 2001 at 08:44:18 -0700, michael mundy wrote: > "Kenneth D. Merry" wrote: > > On Mon, Jan 29, 2001 at 13:57:18 -0800, mjmundy@usa.net wrote: > > > during installation, the user config utility within the installation > > > menu does not contain the necessary driver for my adaptec 2842 > > > controller. i am having to create the kern.flp and mkfsroot.flp > > > bootup floppies to install from. i can't seem to find in any of the > > > docs/helps/readmes/FAQs/etc on *how_to_add* the driver for the 2842, > > > though on one of the readmes, it is said that this controller is > > > supported. I had the exact same problem when trying to install from > > > my freebsd 3.3 distro. sorry, the BIOS does not support booting > > > directly from CD-ROM. > > > > > > I'm looking for the procedure/command line option/whatever_it_takes > > > to get this driver into the kernel. i do not have another freeBSD > > > system to build a kernel on for this install. > > > > The ahc driver handles the 2842, and it should automatically detect the > > card. i.e. you shouldn't need to do anything in userconfig in order for > > your card to be detected. You should just be able to boot the system. > > > > Although the 2842 is a VLB board, this is also the case for PCI boards -- > > they're automatically detected, and there's no way to manually tweak > > whether they're probed or not from userconfig. > > thanks for your quick response. however, there is no ahc driver in the > (visual mode) list. that's the problem. even if i go to "kernel config - > command line mode" and do an ls, it's not in the list, and it fails if i do an > enable on ahc0: > > config>enable ahc0 > No such device: ahc0 > > there appears to be no autodetect of the 2842VL card. i've gone into the > adaptec config utility at boot time (ctrl-A) and verified there are no > emulation modes (of other adaptec scsi controllers) that can be selected. > > is this platform unlikely to work? that's pretty much what i conclude from > what you said below. You've reached the wrong conclusion here. Just IGNORE userconfig. Use it if you've got ISA devices that need their irq's, etc., set, but in general, you can ignore it for your Adaptec board. Don't worry about it not being in the list of devices. Just boot the kernel and attempt to install. sysinstall will show you where you're going to be installing, so there won't be any danger. It will also tell you if it can't see any disks. > if nothing else, add this platform configuration to the list of unsupported > configs, if there is such a list. It is supported, and I happen to have a machine running just fine with a 2842. Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jan 31 11:50:19 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5F5BE37B4EC for ; Wed, 31 Jan 2001 11:50:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0VJo2K16621; Wed, 31 Jan 2001 11:50:02 -0800 (PST) (envelope-from gnats) Date: Wed, 31 Jan 2001 11:50:02 -0800 (PST) Message-Id: <200101311950.f0VJo2K16621@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Roelof Osinga Subject: Re: bin/24742: adduser sequences wrongly for Maildirs Reply-To: Roelof Osinga Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/24742; it has been noted by GNATS. From: Roelof Osinga To: Alex Kapranoff Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: bin/24742: adduser sequences wrongly for Maildirs Date: Wed, 31 Jan 2001 20:40:33 +0100 Alex Kapranoff wrote: > > - &new_users_sendmessage; > &adduser_log("$name:*:$u_id:$g_id($group_login):$fullname"); > &home_create($userhome, $name, $group_login); > + &new_users_sendmessage; Alas: Jan 31 20:33:47 nl postfix/local[7151]: 0FDBA12C31: to=, relay=local, delay=1, status=bounced (maildir delivery failed: create /home/vmail/Maildir/tmp/980969627.7151_0.nl.nisser.com: Permission denied) That is after application: nl:/usr/src/usr.sbin/adduser# diff adduser.perl.org adduser.perl 714d713 < &new_users_sendmessage; 716a716 > &new_users_sendmessage; -- Home is where the (@) http://eboa.com/ is. Nisser home -- http://nl.nisser.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jan 31 12:20:19 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7023C37B699 for ; Wed, 31 Jan 2001 12:20:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0VKK1d23308; Wed, 31 Jan 2001 12:20:01 -0800 (PST) (envelope-from gnats) Received: from temphost.dragondata.com (temphost.dragondata.com [63.167.131.128]) by hub.freebsd.org (Postfix) with ESMTP id 756AB37B699 for ; Wed, 31 Jan 2001 12:16:06 -0800 (PST) Received: (from root@localhost) by temphost.dragondata.com (8.9.3/8.9.3) id OAA39582; Wed, 31 Jan 2001 14:16:36 -0600 (CST) (envelope-from toasty) Message-Id: <200101312016.OAA39582@temphost.dragondata.com> Date: Wed, 31 Jan 2001 14:16:36 -0600 (CST) From: toasty@dragondata.com Reply-To: toasty@dragondata.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/24757: ftpd not RFC compliant? Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24757 >Category: bin >Synopsis: ftpd not RFC compliant >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jan 31 12:20:00 PST 2001 >Closed-Date: >Last-Modified: >Originator: Kevin Day >Release: FreeBSD 4.2-RELEASE i386 >Organization: Ikadega >Environment: 4.2-RELEASE ftpd >Description: According to rfc959: STORE UNIQUE (STOU) This command behaves like STOR except that the resultant file is to be created in the current directory under a name unique to that directory. The 250 Transfer Started response must include the name generated. The FreeBSD ftpd does not return 250: ---> EPSV 229 Entering Extended Passive Mode (|||53363|) ---> STOU temp 150 Opening BINARY mode data connection for 'temp.1'. 100% |******************************************************************************************************| 79129 00:00 ETA 226 Transfer complete (unique file name:temp.1). 79129 bytes sent in 0.02 seconds (3.55 MB/s) That is kinda vague. Does that imply that 250 must be returned if you STOU, or that if you *do* return a 250, you must include the name? >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jan 31 13:20:23 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4876437B6A2 for ; Wed, 31 Jan 2001 13:20:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0VLK1334261; Wed, 31 Jan 2001 13:20:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 27C9937B69C for ; Wed, 31 Jan 2001 13:19:38 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0VLJcv34156; Wed, 31 Jan 2001 13:19:38 -0800 (PST) (envelope-from nobody) Message-Id: <200101312119.f0VLJcv34156@freefall.freebsd.org> Date: Wed, 31 Jan 2001 13:19:38 -0800 (PST) From: hunter@dina.kvl.dk To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: bin/24759: sshd broken (apparent PAM problem) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24759 >Category: bin >Synopsis: sshd broken (apparent PAM problem) >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jan 31 13:20:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Lars Josephsen >Release: 4.2-STABLE >Organization: Royal Veterinary and Agricultural University >Environment: FreeBSD joy.dina.kvl.dk 4.2-STABLE FreeBSD 4.2-STABLE #0: Wed Jan 31 19:29:52 CET 2001 root@joy.dina.kvl.dk:/usr/obj/usr/src/sys/JOY i386 >Description: ssh login fails and this appears in the log: Jan 31 20:56:55 joy sshd[228]: no modules loaded for `sshd' service Jan 31 20:56:55 joy sshd[228]: fatal: PAM session setup failed[6]: Permission denied Jan 31 20:56:55 joy sshd[228]: no modules loaded for `sshd' service >How-To-Repeat: >Fix: The OpenSSH daemon from the ports collection still works. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jan 31 13:54:34 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1F61037B6A9; Wed, 31 Jan 2001 13:54:17 -0800 (PST) Received: (from roam@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0VLsHw37918; Wed, 31 Jan 2001 13:54:17 -0800 (PST) (envelope-from roam) Date: Wed, 31 Jan 2001 13:54:17 -0800 (PST) From: Message-Id: <200101312154.f0VLsHw37918@freefall.freebsd.org> To: hunter@dina.kvl.dk, roam@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/24759: sshd broken (apparent PAM problem) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: sshd broken (apparent PAM problem) State-Changed-From-To: open->feedback State-Changed-By: roam State-Changed-When: Wed Jan 31 13:52:43 PST 2001 State-Changed-Why: Can you try this after you've done: cd /usr/src mergemaster as per /usr/src/UPDATING's suggestions after - or before - every buildworld/installworld cycle? Also, can you make sure that you have cvsup'd /usr/src/etc (that's where the new pam.conf lives) along with the OpenSSH source? http://www.freebsd.org/cgi/query-pr.cgi?pr=24759 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jan 31 14: 0:19 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 807D937B67D for ; Wed, 31 Jan 2001 14:00:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0VM01n38515; Wed, 31 Jan 2001 14:00:01 -0800 (PST) (envelope-from gnats) Received: from cmenoc.campbell-mithun.com (cmenoc.campbell-mithun.com [192.159.32.200]) by hub.freebsd.org (Postfix) with ESMTP id 925BB37B6A8 for ; Wed, 31 Jan 2001 13:57:15 -0800 (PST) Received: (from swb@localhost) by cmenoc.campbell-mithun.com (8.11.1/8.11.1) id f0VLvEb33878; Wed, 31 Jan 2001 15:57:14 -0600 (CST) (envelope-from swb) Message-Id: <200101312157.f0VLvEb33878@cmenoc.campbell-mithun.com> Date: Wed, 31 Jan 2001 15:57:14 -0600 (CST) From: Shawn Barnhart Reply-To: swb@cmenoc.campbell-mithun.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/24762: pw doesn't allow false as a shell Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24762 >Category: bin >Synopsis: pw doesn't allow false as a shell >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jan 31 14:00:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Shawn Barnhart >Release: FreeBSD 4.2-STABLE i386 >Organization: Campbell Mithun >Environment: FreeBSD cmenoc.campbell-mithun.com 4.2-STABLE FreeBSD 4.2-STABLE #0: Tue Jan 30 09:52:02 CST 2001 swb@cmenoc.campbell-mithun.com:/usr/obj/usr/src/sys/CMENOC i386 >Description: I set up the following pw.conf file to add users. I wanted to use /usr/bin/false as the default shell for these users. When I use "false" as the default shell, pw incorrectly evaluates this as an "empty" value when in fact it should be a valid value. defaultpasswd random home /ftp shellpath /usr/bin shells false defaultshell false defaultclass ftpusers minuid 2000 maxuid 3000 mingid 2000 maxgid 3000 defaultgroup expire_days 0 password_days 0 >How-To-Repeat: Set false as the default shell in pw.conf. >Fix: No workaround I'm aware of. Have to use another value for the shell or fix pw(8). >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jan 31 14:30:21 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5AFAA37B4EC for ; Wed, 31 Jan 2001 14:30:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0VMU3D42989; Wed, 31 Jan 2001 14:30:03 -0800 (PST) (envelope-from gnats) Date: Wed, 31 Jan 2001 14:30:03 -0800 (PST) Message-Id: <200101312230.f0VMU3D42989@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Riccardo Torrini Subject: Re: misc/24750: unable to make reinstall on a fresh installed 4. Reply-To: Riccardo Torrini Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR misc/24750; it has been noted by GNATS. From: Riccardo Torrini To: Peter Pentchev Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: misc/24750: unable to make reinstall on a fresh installed 4. Date: Wed, 31 Jan 2001 23:23:49 +0100 (CET) On 31-Jan-01 (07:42:32/GMT) Peter Pentchev wrote: > Are your /etc/make.conf files the same on the two machines? Ooppss. It seems my fault :-( I forgot to copy /etc/make.conf, it was a really fresh installed machine. > It seems to me that you have NOPROFILE=true on the build machine Yes, correct. But what about a less cryptict error message? ;-) And why make can't find the target install (or reinstall)? But I need profiling library (on a production machine) or not? I usually remove them from compile... Ciao, Riccardo PS: In the meantime I started a new make world :-( To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jan 31 14:30:26 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7538237B503 for ; Wed, 31 Jan 2001 14:30:06 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0VMU6c42994; Wed, 31 Jan 2001 14:30:06 -0800 (PST) (envelope-from gnats) Date: Wed, 31 Jan 2001 14:30:06 -0800 (PST) Message-Id: <200101312230.f0VMU6c42994@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Riccardo Torrini Subject: Re: misc/24750: unable to make reinstall on a fresh installed 4. Reply-To: Riccardo Torrini Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR misc/24750; it has been noted by GNATS. From: Riccardo Torrini To: Neil Blakey-Milner Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: misc/24750: unable to make reinstall on a fresh installed 4. Date: Wed, 31 Jan 2001 23:24:11 +0100 (CET) On 31-Jan-01 (07:55:51/GMT) Neil Blakey-Milner wrote: > Did your buildworld use NOPROFILE=true ? Yes, correct (see other message to Peter Pentchev) Ciao, Riccardo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jan 31 14:40:29 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D7CCE37B69E for ; Wed, 31 Jan 2001 14:40:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0VMe2a44087; Wed, 31 Jan 2001 14:40:02 -0800 (PST) (envelope-from gnats) Date: Wed, 31 Jan 2001 14:40:02 -0800 (PST) Message-Id: <200101312240.f0VMe2a44087@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Peter Pentchev Subject: Re: misc/24750: unable to make reinstall on a fresh installed 4. Reply-To: Peter Pentchev Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR misc/24750; it has been noted by GNATS. From: Peter Pentchev To: Riccardo Torrini Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: misc/24750: unable to make reinstall on a fresh installed 4. Date: Thu, 1 Feb 2001 00:35:27 +0200 On Wed, Jan 31, 2001 at 11:23:49PM +0100, Riccardo Torrini wrote: > On 31-Jan-01 (07:42:32/GMT) Peter Pentchev wrote: > > > Are your /etc/make.conf files the same on the two machines? > > Ooppss. It seems my fault :-( I forgot to copy /etc/make.conf, > it was a really fresh installed machine. > > > > It seems to me that you have NOPROFILE=true on the build machine > > Yes, correct. But what about a less cryptict error message? ;-) Mmm.. I don't really know how this could be made less cryptic, short of make saving something during the build, and comparing the saved settings to the ones during the install :) > And why make can't find the target install (or reinstall)? No idea on that one.. > But I need profiling library (on a production machine) or not? > I usually remove them from compile... No, you usually do not need profiling libs on production servers. I leave them out even on development machines :) G'luck, Peter -- If wishes were fishes, the antecedent of this conditional would be true. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jan 31 14:42:23 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from sheridan.dina.kvl.dk (sheridan.dina.kvl.dk [130.225.40.227]) by hub.freebsd.org (Postfix) with ESMTP id B8A2937B65D; Wed, 31 Jan 2001 14:42:02 -0800 (PST) Received: from zuse.dina.kvl.dk (zuse.dina.kvl.dk [130.225.40.245]) by sheridan.dina.kvl.dk (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id XAA23541; Wed, 31 Jan 2001 23:42:01 +0100 Received: (from hunter@localhost) by zuse.dina.kvl.dk (8.9.3+Sun/8.9.3) id XAA09989; Wed, 31 Jan 2001 23:42:00 +0100 (MET) Date: Wed, 31 Jan 2001 23:42:00 +0100 From: Lars Josephsen To: roam@FreeBSD.org Cc: freebsd-bugs@FreeBSD.org Subject: Re: bin/24759: sshd broken (apparent PAM problem) Message-ID: <20010131234200.A9820@dina.kvl.dk> References: <200101312154.f0VLsHw37918@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <200101312154.f0VLsHw37918@freefall.freebsd.org>; from roam@FreeBSD.org on Wed, Jan 31, 2001 at 01:54:17PM -0800 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, Jan 31, 2001 at 01:54:17PM -0800, roam@FreeBSD.org wrote: > Synopsis: sshd broken (apparent PAM problem) > > State-Changed-From-To: open->feedback > State-Changed-By: roam > State-Changed-When: Wed Jan 31 13:52:43 PST 2001 > State-Changed-Why: > Can you try this after you've done: > > cd /usr/src > mergemaster Damn, I was sure that configuration files didn't change in the STABLE series. > as per /usr/src/UPDATING's suggestions after - or before - every > buildworld/installworld cycle? > > Also, can you make sure that you have cvsup'd /usr/src/etc (that's where > the new pam.conf lives) along with the OpenSSH source? I cvsup the entire source. > http://www.freebsd.org/cgi/query-pr.cgi?pr=24759 Problem solved, thanks! Sincerely, Lars -- Lars Josephsen LJ667-DK System Administrator, Department of Mathematics and Physics Royal Veterinary and Agricultural University, Copenhagen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jan 31 14:54: 5 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from ringworld.nanolink.com (pool141-tch-1.Sofia.0rbitel.net [212.95.170.141]) by hub.freebsd.org (Postfix) with SMTP id 2FF8B37B503 for ; Wed, 31 Jan 2001 14:53:46 -0800 (PST) Received: (qmail 2933 invoked by uid 1000); 31 Jan 2001 22:52:11 -0000 Date: Thu, 1 Feb 2001 00:52:10 +0200 From: Peter Pentchev To: Lars Josephsen Cc: freebsd-bugs@FreeBSD.org Subject: Re: bin/24759: sshd broken (apparent PAM problem) Message-ID: <20010201005210.D1386@ringworld.oblivion.bg> Mail-Followup-To: Lars Josephsen , freebsd-bugs@FreeBSD.org References: <200101312154.f0VLsHw37918@freefall.freebsd.org> <20010131234200.A9820@dina.kvl.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010131234200.A9820@dina.kvl.dk>; from hunter@dina.kvl.dk on Wed, Jan 31, 2001 at 11:42:00PM +0100 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, Jan 31, 2001 at 11:42:00PM +0100, Lars Josephsen wrote: > On Wed, Jan 31, 2001 at 01:54:17PM -0800, roam@FreeBSD.org wrote: > > Synopsis: sshd broken (apparent PAM problem) > > > > State-Changed-From-To: open->feedback > > State-Changed-By: roam > > State-Changed-When: Wed Jan 31 13:52:43 PST 2001 > > State-Changed-Why: > > Can you try this after you've done: > > > > cd /usr/src > > mergemaster > > Damn, I was sure that configuration files didn't change in the STABLE > series. They do change, as programs evolve, and new features are added. That's why mergemaster is indeed mentioned in /usr/src/UPDATING. That's why there's the following bit in /usr/src/UPDATING: 20010112: Important new FreeBSD-version stuff: PAM support has been worked in, partially from the "Unix" OpenSSH version. This requires adding the following in pam.conf: sshd auth sufficient pam_skey.so sshd auth required pam_unix.so try_first_pass sshd session required pam_permit.so ..and you do read /usr/src/UPDATING, don't you now? :) G'luck, Peter -- .siht ekil ti gnidaer eb d'uoy ,werbeH ni erew ecnetnes siht fI To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jan 31 14:55:41 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 810B837B491; Wed, 31 Jan 2001 14:55:25 -0800 (PST) Received: (from roam@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0VMtPO45751; Wed, 31 Jan 2001 14:55:25 -0800 (PST) (envelope-from roam) Date: Wed, 31 Jan 2001 14:55:25 -0800 (PST) From: Message-Id: <200101312255.f0VMtPO45751@freefall.freebsd.org> To: hunter@dina.kvl.dk, roam@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/24759: sshd broken (apparent PAM problem) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: sshd broken (apparent PAM problem) State-Changed-From-To: feedback->closed State-Changed-By: roam State-Changed-When: Wed Jan 31 14:55:07 PST 2001 State-Changed-Why: Problem solved after a mergemaster run. http://www.freebsd.org/cgi/query-pr.cgi?pr=24759 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jan 31 15: 0:19 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 839DD37B67D for ; Wed, 31 Jan 2001 15:00:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0VN01P46094; Wed, 31 Jan 2001 15:00:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9B84537B503 for ; Wed, 31 Jan 2001 14:58:44 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0VMwir45944; Wed, 31 Jan 2001 14:58:44 -0800 (PST) (envelope-from nobody) Message-Id: <200101312258.f0VMwir45944@freefall.freebsd.org> Date: Wed, 31 Jan 2001 14:58:44 -0800 (PST) From: vkushnir@Alfacom.net To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/24764: Typo in src/libc_r/uthread/uthread_kevent.c Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24764 >Category: misc >Synopsis: Typo in src/libc_r/uthread/uthread_kevent.c >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jan 31 15:00:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Vladimir Kushnir >Release: FreeBSD-CURRENT >Organization: >Environment: FreeBSD kushnir1.kiev.ua 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Wed Jan 31 12:05:28 EET 2001 root@kushnir1.kiev.ua:/usr/obj/usr/src/sys/KUSHNIR i386 >Description: From src/libc_r/uthread/uthread_kevent.c (line 37): #pragma weak keven=_kevent (simply omitted 't') >How-To-Repeat: >Fix: Obvious :-) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jan 31 15:13:53 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from sheridan.dina.kvl.dk (sheridan.dina.kvl.dk [130.225.40.227]) by hub.freebsd.org (Postfix) with ESMTP id E0A9E37B491 for ; Wed, 31 Jan 2001 15:13:34 -0800 (PST) Received: from zuse.dina.kvl.dk (zuse.dina.kvl.dk [130.225.40.245]) by sheridan.dina.kvl.dk (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id AAA23793 for ; Thu, 1 Feb 2001 00:13:30 +0100 Received: (from hunter@localhost) by zuse.dina.kvl.dk (8.9.3+Sun/8.9.3) id AAA10974 for freebsd-bugs@FreeBSD.org; Thu, 1 Feb 2001 00:13:29 +0100 (MET) Date: Thu, 1 Feb 2001 00:13:29 +0100 From: Lars Josephsen To: freebsd-bugs@FreeBSD.org Subject: Re: bin/24759: sshd broken (apparent PAM problem) Message-ID: <20010201001329.A10807@dina.kvl.dk> References: <200101312154.f0VLsHw37918@freefall.freebsd.org> <20010131234200.A9820@dina.kvl.dk> <20010201005210.D1386@ringworld.oblivion.bg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20010201005210.D1386@ringworld.oblivion.bg>; from roam@orbitel.bg on Thu, Feb 01, 2001 at 12:52:10AM +0200 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, Feb 01, 2001 at 12:52:10AM +0200, Peter Pentchev wrote: > On Wed, Jan 31, 2001 at 11:42:00PM +0100, Lars Josephsen wrote: > > > > Damn, I was sure that configuration files didn't change in the STABLE > > series. > > They do change, as programs evolve, and new features are added. > That's why mergemaster is indeed mentioned in /usr/src/UPDATING. > That's why there's the following bit in /usr/src/UPDATING: > > 20010112: > Important new FreeBSD-version stuff: PAM support has been worked > in, partially from the "Unix" OpenSSH version. This requires > adding the following in pam.conf: > > sshd auth sufficient pam_skey.so > sshd auth required pam_unix.so try_first_pass > sshd session required pam_permit.so > > ..and you do read /usr/src/UPDATING, don't you now? :) Of course I do _now_ ;-) I must have missed the part of the documentation, where it says you have to read /usr/src/UPDATING. That could be because the bulk of my BSD experience has been with OpenBSD. Sincerely, Lars -- Lars Josephsen LJ667-DK System Administrator, Department of Mathematics and Physics Royal Veterinary and Agricultural University, Copenhagen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jan 31 15:20:29 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 83C9B37B6AA for ; Wed, 31 Jan 2001 15:20:04 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0VNK4c49952; Wed, 31 Jan 2001 15:20:04 -0800 (PST) (envelope-from gnats) Date: Wed, 31 Jan 2001 15:20:04 -0800 (PST) Message-Id: <200101312320.f0VNK4c49952@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Philipp Mergenthaler Subject: Re: kern/21317: [PATCH] LINT and NOTES give false default for MAXDSIZ Reply-To: Philipp Mergenthaler Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/21317; it has been noted by GNATS. From: Philipp Mergenthaler To: freebsd-gnats-submit@FreeBSD.org Cc: Subject: Re: kern/21317: [PATCH] LINT and NOTES give false default for MAXDSIZ Date: Thu, 1 Feb 2001 00:12:45 +0100 This PR can be closed due to this commit: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/i386/conf/NOTES#rev1.882 Bye, Philipp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jan 31 15:33:11 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4CD5637B65D; Wed, 31 Jan 2001 15:32:55 -0800 (PST) Received: (from roam@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0VNWtR51305; Wed, 31 Jan 2001 15:32:55 -0800 (PST) (envelope-from roam) Date: Wed, 31 Jan 2001 15:32:55 -0800 (PST) From: Message-Id: <200101312332.f0VNWtR51305@freefall.freebsd.org> To: un1i@rz.uni-karlsruhe.de, roam@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/21317: [PATCH] LINT and NOTES give false default for MAXDSIZ Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: [PATCH] LINT and NOTES give false default for MAXDSIZ State-Changed-From-To: open->closed State-Changed-By: roam State-Changed-When: Wed Jan 31 15:28:26 PST 2001 State-Changed-Why: Originator reports tanimura's NOTES rel. 1.882 commit sets things straight. http://www.freebsd.org/cgi/query-pr.cgi?pr=21317 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jan 31 16: 0:22 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id BB5A037B4EC for ; Wed, 31 Jan 2001 16:00:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f11001553622; Wed, 31 Jan 2001 16:00:01 -0800 (PST) (envelope-from gnats) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 5CD7B37B4EC for ; Wed, 31 Jan 2001 15:54:45 -0800 (PST) Received: (from robert@localhost) by fledge.watson.org (8.11.1/8.11.1) id f0VNsit01407; Wed, 31 Jan 2001 18:54:44 -0500 (EST) (envelope-from robert) Message-Id: <200101312354.f0VNsit01407@fledge.watson.org> Date: Wed, 31 Jan 2001 18:54:44 -0500 (EST) From: rwatson@freebsd.org Reply-To: rwatson@freebsd.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/24765: devfs uses inappropriate permissions for {acd0,...} Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24765 >Category: kern >Synopsis: /dev mounted from devfs has excessively liberal acd perms >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jan 31 16:00:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Robert Watson >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: FreeBSD dev2-crash.trustedbsd.org 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Wed Jan 31 17:49:43 EST 2001 root@dev2-crash.trustedbsd.org:/usr/obj/usr/src/sys/GENERIC i386 >Description: devfs provides spiffy keen automatic /dev management. Unfortunately, some default permissions are poor, and permit leaking of information inappropriately. Here are some excerpts from my dev box: crw-r--r-- 1 root operator 117, 0 Dec 31 1969 acd0a crw-r--r-- 1 root operator 117, 2 Dec 31 1969 acd0c lrw-rw-rw- 1 root wheel 5 Jan 31 18:39 audio -> audio0.0 crw-rw-rw- 1 root wheel 30, 4 Dec 31 1969 audio0.0 crw-rw-rw- 1 root wheel 30, 0x00010004 Dec 31 1969 audio0.1 crw-rw-rw- 1 root wheel 21, 0 Dec 31 1969 bpsm0 lrw-rw-rw- 1 root wheel 3 Jan 31 18:39 dsp -> dsp0.0 crw-rw-rw- 1 root wheel 30, 3 Dec 31 1969 dsp0.0 crw-rw-rw- 1 root wheel 30, 0x00010003 Dec 31 1969 dsp0.1 lrw-rw-rw- 1 root wheel 4 Jan 31 18:39 dspW -> dspW0.0 crw-rw-rw- 1 root wheel 30, 5 Dec 31 1969 dspW0.0 crw-rw-rw- 1 root wheel 30, 0x00010005 Dec 31 1969 dspW0.1 lrw-rw-rw- 1 root wheel 5 Jan 31 18:39 mixer -> mixer0 crw-rw-rw- 1 root wheel 30, 0 Dec 31 1969 mixer0 crw-rw-rw- 1 root wheel 21, 1 Dec 31 1969 psm0 Cam has offered to look into the sound device issues, but the permissions that really worry me are the ones on the ATAPI CDROM. Just because I put a CD in the drive doesn't mean that every user should be able to read from it. Using the same settings as for the ad* devices might make the most sense. There may be other devices that have excessively liberal permissions, and the kernel should be reviewed to determine that they are correct, and documentation of devfs node creation calls should be sure to warn device developers that they need to be careful. >How-To-Repeat: Use GENERIC after options DEVFS was enabled by default. >Fix: Find device developer. Hit device developer with corrected manpage. Fix code. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jan 31 16:20:45 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from snipe.prod.itd.earthlink.net (snipe.prod.itd.earthlink.net [207.217.120.62]) by hub.freebsd.org (Postfix) with ESMTP id 83F8637B491 for ; Wed, 31 Jan 2001 16:20:27 -0800 (PST) Received: from pshazgqf.liverbird.com ([207.217.168.164]) by snipe.prod.itd.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id QAA26439 for ; Wed, 31 Jan 2001 16:20:25 -0800 (PST) Message-Id: <5.0.2.1.0.20010131161455.00a05d60@mail.earthlink.net> X-Sender: glyn1938@mail.earthlink.net X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Wed, 31 Jan 2001 16:17:35 -0800 To: freebsd-bugs@FreeBSD.ORG From: "glyn1938:First glyn1938:Last" Subject: Please Help Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello Sir, I came across some information online regarding the Vaio touchpad. I installed Microsoft VB on my laptop and lost the touch pad. An external mouse will work but, fot the life of me, I can not get the touchpad to work. Can you help me or direct me send me the correct driver. Your help is greatly appreciated Sincerely, Grahame Roberts To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jan 31 18:20:19 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 6012437B698 for ; Wed, 31 Jan 2001 18:20:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f112K1i73449; Wed, 31 Jan 2001 18:20:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id DB2C337B503 for ; Wed, 31 Jan 2001 18:11:00 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f112B0C72590; Wed, 31 Jan 2001 18:11:00 -0800 (PST) (envelope-from nobody) Message-Id: <200102010211.f112B0C72590@freefall.freebsd.org> Date: Wed, 31 Jan 2001 18:11:00 -0800 (PST) From: larse@isi.edu To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: bin/24769: tcsh: broken handling of comment in first line of shell script Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24769 >Category: bin >Synopsis: tcsh: broken handling of comment in first line of shell script >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jan 31 18:20:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Lars Eggert >Release: 4.2-RELEASE >Organization: >Environment: FreeBSD hbo.isi.edu 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Wed Jan 31 02:09:17 PST 2001 root@hbo.isi.edu:/usr/src/sys/compile/KERNEL-1.12 i386 >Description: Tcsh has a bug in 4.2-RELEASE when the first line of a shell script (which can contain the command interpreter, specified by #!) contains a comment that is not a valid command interpreter. In that case, tcsh will try to use the (non-existing) binary /usr/obj/usr/src/i386/bin/csh (which looks like it got hardwired during the 4.2 release buildworld). >How-To-Repeat: The following shell script demonstrates the problem: --snip-- # comment echo bar --snip-- [larse@hbo: ~] echo "# comment\necho bar" > bug && chmod +x bug && ./bug /usr/obj/usr/src/i386/bin/csh: No such file or directory. >Fix: Workaround: Don't put a comment in the first line of a shell script. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jan 31 18:30:19 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id CD2F237B69B for ; Wed, 31 Jan 2001 18:30:00 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f112U0174436; Wed, 31 Jan 2001 18:30:00 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 0264537B503 for ; Wed, 31 Jan 2001 18:27:03 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f112R2h74196; Wed, 31 Jan 2001 18:27:02 -0800 (PST) (envelope-from nobody) Message-Id: <200102010227.f112R2h74196@freefall.freebsd.org> Date: Wed, 31 Jan 2001 18:27:02 -0800 (PST) From: larse@isi.edu To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/24770: ATA_ENABLE_TAGS doesn't enable tags Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24770 >Category: kern >Synopsis: ATA_ENABLE_TAGS doesn't enable tags >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jan 31 18:30:00 PST 2001 >Closed-Date: >Last-Modified: >Originator: Lars Eggert >Release: 4.2-RELEASE >Organization: >Environment: FreeBSD hbo.isi.edu 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Wed Jan 31 02:09:17 PST 2001 root@hbo.isi.edu:/usr/src/sys/compile/KERNEL-1.12 i386 >Description: ata(4) says: To enable Tagged Queuing support (only IBM DPTA and DTLA drives support that) options ATA_ENABLE_TAGS I have that line in my kernel config file, and the required hardware: [larse@hbo: ~] dmesg | grep ata atapci0: port 0xffa0-0xffaf at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 ad0: 26105MB [53040/16/63] at ata0-master UDMA66 acd0: CD-RW at ata1-master using UDMA33 However, tagged queueing is not enabled. (Glancing at the code, I think I should see "tagged" in the dmesg output somewhere.) >How-To-Repeat: n/a >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jan 31 19: 0:19 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D7DD437B4EC for ; Wed, 31 Jan 2001 19:00:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f11301L77972; Wed, 31 Jan 2001 19:00:01 -0800 (PST) (envelope-from gnats) Date: Wed, 31 Jan 2001 19:00:01 -0800 (PST) Message-Id: <200102010300.f11301L77972@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Lars Eggert Subject: Re: bin/24769: tcsh: broken handling of comment in first line of shell script Reply-To: Lars Eggert Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/24769; it has been noted by GNATS. From: Lars Eggert To: freebsd-gnats-submit@FreeBSD.org, larse@ISI.EDU Cc: Subject: Re: bin/24769: tcsh: broken handling of comment in first line of shell script Date: Wed, 31 Jan 2001 18:50:19 -0800 This is a cryptographically signed message in MIME format. --------------msA6B8A433414FF3E7B229577A Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Snooping around the CVS tree, it seems this problem has been fixed in -CURRENT with this patch: http://www.FreeBSD.org/cgi/cvsweb.cgi/src/bin/csh/Makefile.diff?r1=1.21&r2=1.22 Will this be MFC'ed anytime soon? -- Lars Eggert Information Sciences Institute http://www.isi.edu/larse/ University of Southern California --------------msA6B8A433414FF3E7B229577A Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIIIIwYJKoZIhvcNAQcCoIIIFDCCCBACAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCC BfQwggLYMIICQaADAgECAgMDIwUwDQYJKoZIhvcNAQEEBQAwgZQxCzAJBgNVBAYTAlpBMRUw EwYDVQQIEwxXZXN0ZXJuIENhcGUxFDASBgNVBAcTC0R1cmJhbnZpbGxlMQ8wDQYDVQQKEwZU aGF3dGUxHTAbBgNVBAsTFENlcnRpZmljYXRlIFNlcnZpY2VzMSgwJgYDVQQDEx9QZXJzb25h bCBGcmVlbWFpbCBSU0EgMTk5OS45LjE2MB4XDTAwMDgyNDIwMzAwOFoXDTAxMDgyNDIwMzAw OFowVDEPMA0GA1UEBBMGRWdnZXJ0MQ0wCwYDVQQqEwRMYXJzMRQwEgYDVQQDEwtMYXJzIEVn Z2VydDEcMBoGCSqGSIb3DQEJARYNbGFyc2VAaXNpLmVkdTCBnzANBgkqhkiG9w0BAQEFAAOB jQAwgYkCgYEAz1yfcNs53rvhuw8gSDvr2+/snP8GduYY7x7WkJdyvcwb4oipNpWYIkMGP214 Zv1KrgvntGaG+jeugAGQt0n64VusgcIzQ6QDRtnMgdQDTAkVSQ2eLRSQka+nAPx6SFKJg79W EEHmgKQBMtZdMBYtYv/mTOcpm7jTJVg+7W6n04UCAwEAAaN3MHUwKgYFK2UBBAEEITAfAgEA MBowGAIBBAQTTDJ1TXlmZkJOVWJOSkpjZFoyczAYBgNVHREEETAPgQ1sYXJzZUBpc2kuZWR1 MAwGA1UdEwEB/wQCMAAwHwYDVR0jBBgwFoAUiKvxYINmVfTkWMdGHcBhvSPXw4wwDQYJKoZI hvcNAQEEBQADgYEAi65fM/jSCaPhRoA9JW5X2FktSFhE5zkIpFVPpv33GWPPNrncsK13HfZm s0B1rNy2vU7UhFI/vsJQgBJyffkLFgMCjp3uRZvBBjGD1q4yjDO5yfMMjquqBpZtRp5op3lT d01faA58ZCB5sxCb0ORSxvXR8tc9DJO0JIpQILa6vIAwggMUMIICfaADAgECAgELMA0GCSqG SIb3DQEBBAUAMIHRMQswCQYDVQQGEwJaQTEVMBMGA1UECBMMV2VzdGVybiBDYXBlMRIwEAYD VQQHEwlDYXBlIFRvd24xGjAYBgNVBAoTEVRoYXd0ZSBDb25zdWx0aW5nMSgwJgYDVQQLEx9D ZXJ0aWZpY2F0aW9uIFNlcnZpY2VzIERpdmlzaW9uMSQwIgYDVQQDExtUaGF3dGUgUGVyc29u YWwgRnJlZW1haWwgQ0ExKzApBgkqhkiG9w0BCQEWHHBlcnNvbmFsLWZyZWVtYWlsQHRoYXd0 ZS5jb20wHhcNOTkwOTE2MTQwMTQwWhcNMDEwOTE1MTQwMTQwWjCBlDELMAkGA1UEBhMCWkEx FTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTEUMBIGA1UEBxMLRHVyYmFudmlsbGUxDzANBgNVBAoT BlRoYXd0ZTEdMBsGA1UECxMUQ2VydGlmaWNhdGUgU2VydmljZXMxKDAmBgNVBAMTH1BlcnNv bmFsIEZyZWVtYWlsIFJTQSAxOTk5LjkuMTYwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGB ALNpWpfU0BYLerXFXekhnCNyzRJMS/d+z8f7ynIk9EJSrFeV43theheE5/1yOTiUtOrtZaeS Bl694GX2GbuUeXZMPrlocHWEHPQRdAC8BSxPCQMXMcz0QdRyxqZd4ohEsIsuxE3x8NaFPmzz lZR4kX5A6ZzRjRVXjsJz5TDeRvVPAgMBAAGjNzA1MBIGA1UdEwEB/wQIMAYBAf8CAQAwHwYD VR0jBBgwFoAUcknCczTGVfQLdnKBfnf0h+fGsg4wDQYJKoZIhvcNAQEEBQADgYEAa8ZZ6TH6 6bbssQPY33Jy/pFgSOrGVd178GeOxmFw523CpTfYnbcXKFYFi91cdW/GkZDGbGZxE9AQfGuR b4bgITYtwdfqsgmtzy1txoNSm/u7/pyHnfy36XSS5FyXrvx+rMoNb3J6Zyxrc/WG+Z31AG70 HQfOnZ6CYynvkwl+Vd4xggH3MIIB8wIBATCBnDCBlDELMAkGA1UEBhMCWkExFTATBgNVBAgT DFdlc3Rlcm4gQ2FwZTEUMBIGA1UEBxMLRHVyYmFudmlsbGUxDzANBgNVBAoTBlRoYXd0ZTEd MBsGA1UECxMUQ2VydGlmaWNhdGUgU2VydmljZXMxKDAmBgNVBAMTH1BlcnNvbmFsIEZyZWVt YWlsIFJTQSAxOTk5LjkuMTYCAwMjBTAJBgUrDgMCGgUAoIGxMBgGCSqGSIb3DQEJAzELBgkq hkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTAxMDIwMTAyNTAxOVowIwYJKoZIhvcNAQkEMRYE FInhvAslU6mAKqPq6ADuARxWBe/zMFIGCSqGSIb3DQEJDzFFMEMwCgYIKoZIhvcNAwcwDgYI KoZIhvcNAwICAgCAMAcGBSsOAwIHMA0GCCqGSIb3DQMCAgFAMA0GCCqGSIb3DQMCAgEoMA0G CSqGSIb3DQEBAQUABIGARchbBzexSPeH0pV6bQr0V7yJsm/IuUSYL9IK5lZBZd6lPc7ygpJJ 1xEqsVhEFVj3Wwm041N6I2J9fIDiUjSm+lqXpNJDsqb5tpBxwUvrm8Y6KW6AI+j2koOMQpDT tYKdenIK3S/J+NY7rDg3O5dCeZFXLMqudt9xfxYDVEVD/aw= --------------msA6B8A433414FF3E7B229577A-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jan 31 20:20:25 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id EA12037B65D for ; Wed, 31 Jan 2001 20:20:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f114K3v88774; Wed, 31 Jan 2001 20:20:03 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5A00537B503 for ; Wed, 31 Jan 2001 20:17:39 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f114HdY88489; Wed, 31 Jan 2001 20:17:39 -0800 (PST) (envelope-from nobody) Message-Id: <200102010417.f114HdY88489@freefall.freebsd.org> Date: Wed, 31 Jan 2001 20:17:39 -0800 (PST) From: adsouza@math.uwaterloo.ca To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: bin/24772: df and du provide conflicting data Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24772 >Category: bin >Synopsis: df and du provide conflicting data >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jan 31 20:20:03 PST 2001 >Closed-Date: >Last-Modified: >Originator: Antonio D'souza >Release: 4.2-stable >Organization: Checkfree i-Solutions >Environment: FreeBSD 4.2-STABLE #0: Fri Jan 19 21:51:36 EST 2001 root@alice.cshouse:/usr/obj/usr/src/sys/QUIK i386 >Description: I have a 300MB partition for /var and df claims that it has only 20 MB free but when I run du -s . inside /var it shows only 130MB used. This is rather alarming as I am now unsure of my filesystem integrity. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jan 31 20:30:20 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1BC8137B65D for ; Wed, 31 Jan 2001 20:30:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f114U1L89792; Wed, 31 Jan 2001 20:30:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 573B237B67D for ; Wed, 31 Jan 2001 20:20:27 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f114KRe88833; Wed, 31 Jan 2001 20:20:27 -0800 (PST) (envelope-from nobody) Message-Id: <200102010420.f114KRe88833@freefall.freebsd.org> Date: Wed, 31 Jan 2001 20:20:27 -0800 (PST) From: adsouza@math.uwaterloo.ca To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: bin/24773: the -v flag of the date command does not work quite as expected Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24773 >Category: bin >Synopsis: the -v flag of the date command does not work quite as expected >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jan 31 20:30:00 PST 2001 >Closed-Date: >Last-Modified: >Originator: Antonio D'souza >Release: 4.2-stable >Organization: Checkfree i-Solutions >Environment: FreeBSD 4.2-STABLE #0: Fri Jan 19 21:51:36 EST 2001 root@alice.cshouse:/usr/obj/usr/src/sys/QUIK i386 >Description: When I try to use the following line to change the current day of my system time, it has no effect: date -v +3d >How-To-Repeat: try to alter the date with the d modifier of the -v option in the date utility >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jan 31 20:50:20 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7BD4C37B491 for ; Wed, 31 Jan 2001 20:50:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f114o2b91519; Wed, 31 Jan 2001 20:50:02 -0800 (PST) (envelope-from gnats) Date: Wed, 31 Jan 2001 20:50:02 -0800 (PST) Message-Id: <200102010450.f114o2b91519@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Dima Dorfman Subject: Re: bin/24773: the -v flag of the date command does not work quite as expected Reply-To: Dima Dorfman Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/24773; it has been noted by GNATS. From: Dima Dorfman To: adsouza@math.uwaterloo.ca Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: bin/24773: the -v flag of the date command does not work quite as expected Date: Wed, 31 Jan 2001 20:46:28 -0800 > When I try to use the following line to change the current day of my > system time, it has no effect: > date -v +3d It's not supposed to change the date. Perhaps the manual page is a little confusing. What it does is display the date after the modifications you requested. For example: dima@hornet% date Wed Jan 31 20:39:58 PST 2001 dima@hornet% date -v +3d Sat Feb 3 20:40:01 PST 2001 The second is is three days (and some seconds, obviously) ahead. That's what -v does. It doesn't actually change your system's perception of the current date. I'd fix the manual page, but I'm not sure exactly how to word it. "Adjust" is correct, it just has the implication that it will also set it after adjusting it. Hope this helps Dima Dorfman dima@unixfreak.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Wed Jan 31 23:40:22 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B86C537B65D for ; Wed, 31 Jan 2001 23:40:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f117e2S18912; Wed, 31 Jan 2001 23:40:02 -0800 (PST) (envelope-from gnats) Date: Wed, 31 Jan 2001 23:40:02 -0800 (PST) Message-Id: <200102010740.f117e2S18912@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: michael mundy Subject: Re: [Re: [Re: misc/24725: failing install: not loading proper adaptec driver]] Reply-To: michael mundy Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR misc/24725; it has been noted by GNATS. From: michael mundy To: "Kenneth D. Merry" Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: [Re: [Re: misc/24725: failing install: not loading proper adaptec driver]] Date: 1 Feb 2001 00:33:01 MST "Kenneth D. Merry" wrote: > [ Please remember to CC your replies to freebsd-gnats-submit@FreeBSD.or= g so > they go into the log for this PR. Also, please put your reply below th= e > text you're replying to. ] > = > On Wed, Jan 31, 2001 at 08:44:18 -0700, michael mundy wrote: > > "Kenneth D. Merry" wrote: > > > On Mon, Jan 29, 2001 at 13:57:18 -0800, mjmundy@usa.net wrote: > > > > during installation, the user config utility within the installat= ion > > > > menu does not contain the necessary driver for my adaptec 2842 > > > > controller. i am having to create the kern.flp and mkfsroot.flp > > > > bootup floppies to install from. i can't seem to find in any of = the > > > > docs/helps/readmes/FAQs/etc on *how_to_add* the driver for the 28= 42, > > > > though on one of the readmes, it is said that this controller is > > > > supported. I had the exact same problem when trying to install f= rom > > > > my freebsd 3.3 distro. sorry, the BIOS does not support booting > > > > directly from CD-ROM. = > > > > = > > > > I'm looking for the procedure/command line option/whatever_it_tak= es > > > > to get this driver into the kernel. i do not have another freeBS= D > > > > system to build a kernel on for this install. > > > = > > > The ahc driver handles the 2842, and it should automatically detect= the > > > card. i.e. you shouldn't need to do anything in userconfig in orde= r for > > > your card to be detected. You should just be able to boot the syst= em. > > > = > > > Although the 2842 is a VLB board, this is also the case for PCI boa= rds -- > > > they're automatically detected, and there's no way to manually twea= k > > > whether they're probed or not from userconfig. > > = > > thanks for your quick response. however, there is no ahc driver in t= he > > (visual mode) list. that's the problem. even if i go to "kernel con= fig - > > command line mode" and do an ls, it's not in the list, and it fails i= f i do an > > enable on ahc0: > > = > > config>enable ahc0 > > No such device: ahc0 > > = > > there appears to be no autodetect of the 2842VL card. i've gone into= the > > adaptec config utility at boot time (ctrl-A) and verified there are = no > > emulation modes (of other adaptec scsi controllers) that can be selec= ted. > > = > > is this platform unlikely to work? that's pretty much what i conclud= e from > > what you said below. > = > You've reached the wrong conclusion here. > = > Just IGNORE userconfig. Use it if you've got ISA devices that need the= ir > irq's, etc., set, but in general, you can ignore it for your Adaptec bo= ard. > = > Don't worry about it not being in the list of devices. Just boot the > kernel and attempt to install. sysinstall will show you where you're g= oing > to be installing, so there won't be any danger. It will also tell you = if > it can't see any disks. > = > > if nothing else, add this platform configuration to the list of unsupported > > configs, if there is such a list. > = > It is supported, and I happen to have a machine running just fine with = a > 2842. > = > Ken > -- = > Kenneth Merry > ken@kdm.org ken, sysinstall can not see any disks. i believe that the 2842 is supported, = just not under my particular config. however, i am willing to try again if i = can come up with an ISA VGA card. i'll pull the VL-VGA card and see if maybe= that's interfering with the probe. the adaptec should be in the master V= LB slot, that would've been the way i set it up originally. = thanks for trying to help, i understand everything you said, but i have t= o give up on it for now. = cheers, mike ____________________________________________________________________ Get free email and a permanent address at http://www.netaddress.com/?N=3D= 1 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Feb 1 1:20:20 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C911037B65D for ; Thu, 1 Feb 2001 01:20:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f119K2Z32705; Thu, 1 Feb 2001 01:20:02 -0800 (PST) (envelope-from gnats) Date: Thu, 1 Feb 2001 01:20:02 -0800 (PST) Message-Id: <200102010920.f119K2Z32705@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Neil Blakey-Milner Subject: Re: bin/24772: df and du provide conflicting data Reply-To: Neil Blakey-Milner Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/24772; it has been noted by GNATS. From: Neil Blakey-Milner To: adsouza@math.uwaterloo.ca Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: bin/24772: df and du provide conflicting data Date: Thu, 1 Feb 2001 11:14:29 +0200 On Wed 2001-01-31 (20:17), adsouza@math.uwaterloo.ca wrote: > >Number: 24772 > >Category: bin > >Synopsis: df and du provide conflicting data > >Severity: serious > >Priority: high > >Description: > I have a 300MB partition for /var and df claims that it has only 20 MB > free but when I run du -s . inside /var it shows only 130MB used. > This is rather alarming as I am now unsure of my filesystem integrity. You probably have a largish log file or two that are open, and were on /var, and were deleted. Try killall -HUP syslogd, and other similar log file consumers, and see if it continues to be out of sync. du and df don't have to correlate - they do different things. Neil -- Neil Blakey-Milner nbm@mithrandr.moria.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Feb 1 2:37:56 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2584B37B491; Thu, 1 Feb 2001 02:37:39 -0800 (PST) Received: (from dwmalone@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f11Abdd42512; Thu, 1 Feb 2001 02:37:39 -0800 (PST) (envelope-from dwmalone) Date: Thu, 1 Feb 2001 02:37:39 -0800 (PST) From: Message-Id: <200102011037.f11Abdd42512@freefall.freebsd.org> To: adsouza@math.uwaterloo.ca, dwmalone@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/24772: df and du provide conflicting data Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: df and du provide conflicting data State-Changed-From-To: open->closed State-Changed-By: dwmalone State-Changed-When: Thu Feb 1 02:36:02 PST 2001 State-Changed-Why: As pointed out by Neil df and du don't have to agree if a process still has a deleted file open. http://www.freebsd.org/cgi/query-pr.cgi?pr=24772 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Feb 1 5: 0:26 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 6C0E837B698 for ; Thu, 1 Feb 2001 05:00:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f11D02S64324; Thu, 1 Feb 2001 05:00:02 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C7B1E37B503 for ; Thu, 1 Feb 2001 04:54:22 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f11CsM363693; Thu, 1 Feb 2001 04:54:22 -0800 (PST) (envelope-from nobody) Message-Id: <200102011254.f11CsM363693@freefall.freebsd.org> Date: Thu, 1 Feb 2001 04:54:22 -0800 (PST) From: jay.krell@cornell.edu To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: conf/24779: sysinstall 4.2 regresssions todo with standard sequence/prompting/config Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24779 >Category: conf >Synopsis: sysinstall 4.2 regresssions todo with standard sequence/prompting/config >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Feb 01 05:00:02 PST 2001 >Closed-Date: >Last-Modified: >Originator: Jay Krell >Release: >Organization: Jay Krell >Environment: >Description: I don't have a good description here. I've installed FreeBSD a number of times, 3.2, 3.3, 3.4, 4.0, 4.1, and 4.2. 3.4 - 4.1 sysinstall have a pretty consistent ok (not great) experience in terms of prompting for the kinds of things I want to setup. They give the opportunity to install X, setup X, KDE or Gnome, network, add a user, etc. Now, sysinstall's handling of space and return is almost unpredictable, and that may be a big part of the problem, but every time I've run the 4.2 sysinstall, I seem to miss stuff. It doesn't prompt for for what "distro/set" I want, or space/return do the wrong thing, I end up without X, at least. I think I've also missed out on networking, adding a user, etc. I installed 4.2 about three times in the past few days, and I kept having this problem. I went back and installed 4.1, and it worked. I don't think this is me. >How-To-Repeat: Desire a somewhat "big" install -- esp. with X/Kde/Gnome. Boot the 4.1 CD and go through "standard" setup -- not custom, not export, not quick. Boot the 4.2 CD and go through "standard" setup. Accept most defaults, and say yes to most things. The 4.1 install ends up much much closer to desired. >Fix: I don't know, but you should at least fix sysinstall to handle ok/cancel/back/next/space/return consistently. And sysinstall should be X based, like a number of Linux installs I've tried recently (I may be posting to advocacy or something about the general comparison, FreeBSD did not do badly.) But neither of these are what this smaller regression is about.. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Feb 1 5: 0:44 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id CD29337B67D for ; Thu, 1 Feb 2001 05:00:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f11D02c64315; Thu, 1 Feb 2001 05:00:02 -0800 (PST) (envelope-from gnats) Date: Thu, 1 Feb 2001 05:00:02 -0800 (PST) Message-Id: <200102011300.f11D02c64315@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Jimmy Olgeni Subject: Re: kern/24770: ATA_ENABLE_TAGS doesn't enable tags Reply-To: Jimmy Olgeni Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/24770; it has been noted by GNATS. From: Jimmy Olgeni To: freebsd-gnats-submit@FreeBSD.org, larse@isi.edu Cc: Subject: Re: kern/24770: ATA_ENABLE_TAGS doesn't enable tags Date: Thu, 01 Feb 2001 13:51:35 +0100 I tried with DTLA and 4.2-STABLE and it said something about tagging in dmesg. I didn't try with DPTA and 4.2-RELELASE... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Feb 1 5:12:58 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from relay1.9netave.com (unknown [216.156.2.49]) by hub.freebsd.org (Postfix) with ESMTP id 215B637B503 for ; Thu, 1 Feb 2001 05:12:39 -0800 (PST) Received: from www-u-037.9netave.com (www-u-037.9netave.com [216.22.151.137]) by relay1.9netave.com (8.9.3/8.8.8) with ESMTP id IAA17401 for ; Thu, 1 Feb 2001 08:12:37 -0500 (EST) Received: (from ux371078@localhost) by www-u-037.9netave.com (8.9.3/8.8.8) id IAA72493 for bugs@freebsd.org; Thu, 1 Feb 2001 08:12:37 -0500 (EST) Date: Thu, 1 Feb 2001 08:12:37 -0500 (EST) Message-Id: <200102011312.IAA72493@www-u-037.9netave.com> Subject: Home delivery of agoodblackman.com From: info@agoodblackman.com To: bugs@freebsd.org Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello from agoodblackman.com, the only 100% Black-owned web site dedicated to celebrating the beauty, honor the history and continue the legacy of excellence of Black men. HELP SPREAD THE WORD BY FORWARDING THIS INFORMATION TO ALL THE EMAIL RECIPIENTS IN YOUR ADDRESS BOOK! Click here to unsubscribe or copy and paste into browser: http://www.agoodblackman.com/cgi-bin/ml10/ml10_00314/main/mailpub.cgi Here's your Home Delivery for February 2001 *********************************************** This Month's Special Announcement *********************************************** Currently, agoodblackman.com is being funded exclusively by D. Brown and is staffed entirely by her one volunteer. We believe that agoodblackman.com will make a powerful, positive impact on the Internet and African American community. In order to achieve this, we'll need much more funding than an individual alone can currently provide. So, we have developed a modest advertising program that allows companies, organizations and individuals who also believe in us and believe in the mission of agoodblackman.com to help us keep this site alive. We already have the talent and tools required to make agoodblackman.com happen. We’ve already planted the seeds of revolution. All we need now is the funding to maintain our presence on The World Wide Web. Check out our advertising and sponsorship opportunities at: http://www.agoodblackman.com/sponsor.shtml *********************************************** This Month's Legacy of Excellence *********************************************** Happy Anniversary AGBM! Welcome. February 1, 2001 marks the two-year anniversary of agoodblackman.com. Join us as we continue our mission to celebrate the beauty, honor the history and continue the legacy of excellence of Black men. · Get home delivery of agoodblackman.com. · Read excerpts from: That Old Black Magic: Essays, Images & Verse on the Joys of Loving Black Men · Check out the 2000 "Year in Review" archives · Order agoodblackman.com screensavers · Post your salute in our guest book · Post your thoughts on our FREE bulletin board *********************************************** LEGACIES OF EXCELLENCE *********************************************** Empowerment is the theme of Black History Month 2001. AGBM has located some of the most powerful and information-rich web sites and links to empower Black men. In the spirit of Dr. John Henrik Clark we remind you: "Black people will have to realize that in the kind of world we live in, being Black and beautiful means very little unless we are also Black and powerful." The Internet African American History Challenge© The Internet African American History Challenge© from Bright Moments is an interactive quiz that helps you sharpen your knowledge of African American History. Blacked Out Through White Wash ibiblio.org - the Public's Library exposes "The Greatest Coverups in "His-Story." This site home to one of the largest "collections of collections" on the Internet. The Black Archives of Mid-America The Black Archives is a non-profit organization that serves the community by offering itself as an educational resource as well as a repository of every facet in African American culture. Images Shape Our Reality On a daily basis, we are flooded with images that are detrimental to our existence; AYODFS counters these negative images with ones that uplift the mind, body and soul of our people! A Modern History of Blacks in Mathematics On this web page we consider a contemporary history of Blacks in Mathematics. Here you can learn about the first African Americans in the Mathematical Sciences. *********************************************** From the Desk of George E. Curry *********************************************** This month's, "From The Computer Of George E. Curry", syndicated columnist George E. Curry shares his insight into the world of politics and business. • Jesse Jackson's Toughest Campaign • Vouching for Public Education • Black Entertainment Television Fades To Black *********************************************** Reflections on Black History *********************************************** Thomas C. Fleming is the West Coast's oldest and longest-running Black journalist and is also the co-founder of the Sun-Reporter, Northern California's largest weekly African-American newspaper. This month's features are: • Separate, But Equal • The Rise of Black Professionals • Black Society in the 1930's *********************************************** AGBM MINISTRIES *********************************************** In this month's featured article, "Standing On Big Shoulders: The Rev. Martin Luther King, Jr." from our online partner, blackandchristian.com, we are reminded: "The Civil Rights Movement is replete with examples of a ministerial elite that responded to the call for committed and dedicated trailblazers… *********************************************** OUR NETWORK NEEDS YOU! *********************************************** Agoodblackman.com wants to hear from and about the countless numbers of Black men out there who have devoted their lives to building strong communities, families, and relationships. We want to celebrate it. Email us at: info@agoodblackman.com. Interested in purchasing advertising? Check out our sponsorship and advertising opportunities at: http://www.agoodblackman.com/sponsor.html We'd also like to hear about the good Black men in your community. So, if you have an essay, article, poem, or story to tell, share it with us and we'll share it with the world. http://www.agoodblackman.com/submissions.html Want home delivery of agoodblackman.com? It's easy. Just drop us a line at info@agoodblackman.com *********************************************** Submissions Guidelines *********************************************** Agoodblackman.com is an on-line magazine dedicated to honoring and uplifting Black men. With the exception of advertisements, we update information monthly. All submissions must be submitted electronically or digitally one month in advance by the 15th of that month. Sorry, no exceptions. Looking forward to hearing from you soon, D. Browne Web Site Designer/Site Manager http://www.agoodblackman.com Email me at: info@agoodblackman.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Feb 1 5:40:19 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 6CC3D37B6A0 for ; Thu, 1 Feb 2001 05:40:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f11De1x70583; Thu, 1 Feb 2001 05:40:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9F0FB37B69D for ; Thu, 1 Feb 2001 05:36:20 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f11DaKt70170; Thu, 1 Feb 2001 05:36:20 -0800 (PST) (envelope-from nobody) Message-Id: <200102011336.f11DaKt70170@freefall.freebsd.org> Date: Thu, 1 Feb 2001 05:36:20 -0800 (PST) From: aigars@ugunssiena.lv To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/24780: FreeBSD 4.x + bridge + dummynet = crash Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24780 >Category: kern >Synopsis: FreeBSD 4.x + bridge + dummynet = crash >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Feb 01 05:40:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Aigars Zaube >Release: 4.2-RELEASE >Organization: SIA Ugunssiena >Environment: FreeBSD test.us.lv 4.2-RELEASE FreeBSD 4.2-RELEASE #20: Thu Feb 1 13:33:50 EET 2001 root@test.us.lv:/data/src/sys/compile/KERN1 i386 >Description: kernel crashes when bridged packet goes through dummynet pipe. ip_dummynet.c: transmit_event() looks for ethernet header in dn_pkt, not in real packet mbuf. bridge.c: bdg_forward() throws away ethernet header when passes packet to dummynet. May be this is correct, but ethernet header is is needed to forward the packet when it comes out from dummynet. My patch adds ethernet header back to packet before passing it to dummynet, and everything is working great. >How-To-Repeat: Compile kernel with bridge and dummynet support. sysctl -w net.link.ether.bridge=1 sysctl -w net.link.ether.bridge_ipfw=1 ipfw pipe 1 config bw 512kbit/s ipfw add 1 pipe 1 ip from any to any bridged Wait for any bridged packet... >Fix: ======= Fix for sys/netinet/ip_dummynet.c: 404a405 > struct mbuf *mpkt; 407,408c408,411 < if (m->m_len < ETHER_HDR_LEN < && (m = m_pullup(m, ETHER_HDR_LEN)) == NULL) { --- > mpkt=m->m_next; > if (mpkt->m_len < ETHER_HDR_LEN > && (mpkt = m->m_next = m_pullup(mpkt, ETHER_HDR_LEN)) == NULL) { > m_freem(mpkt); 412,413c415,416 < bcopy(mtod(m, struct ether_header *), &hdr, ETHER_HDR_LEN); < m_adj(m, ETHER_HDR_LEN); --- > bcopy(mtod(mpkt, struct ether_header *), &hdr, ETHER_HDR_LEN); > m_adj(mpkt, ETHER_HDR_LEN); ================================ ======= Fix for sys/net/bridge.c: 755a756,759 > M_PREPEND(m, ETHER_HDR_LEN, M_DONTWAIT); > if (m == NULL) > return ENOBUFS; > bcopy(eh, mtod(m, struct ether_header *), ETHER_HDR_LEN); ================================ >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Feb 1 6:10:20 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3EE9637B67D for ; Thu, 1 Feb 2001 06:10:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f11EA3S75751; Thu, 1 Feb 2001 06:10:03 -0800 (PST) (envelope-from gnats) Date: Thu, 1 Feb 2001 06:10:03 -0800 (PST) Message-Id: <200102011410.f11EA3S75751@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Ruslan Ermilov Subject: Re: kern/24780: FreeBSD 4.x + bridge + dummynet = crash Reply-To: Ruslan Ermilov Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/24780; it has been noted by GNATS. From: Ruslan Ermilov To: aigars@ugunssiena.lv Cc: bug-followup@FreeBSD.org Subject: Re: kern/24780: FreeBSD 4.x + bridge + dummynet = crash Date: Thu, 1 Feb 2001 16:06:10 +0200 On Thu, Feb 01, 2001 at 05:36:20AM -0800, aigars@ugunssiena.lv wrote: [...] > > >Environment: > FreeBSD test.us.lv 4.2-RELEASE FreeBSD 4.2-RELEASE #20: Thu Feb 1 13:33:50 EET 2001 root@test.us.lv:/data/src/sys/compile/KERN1 i386 > > > >Description: > kernel crashes when bridged packet goes through dummynet pipe. > Please upgrade to 4.2-STABLE (a dozen of fixes has been committed recently that should fix the panic you observe), and follow up on this PR again. Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Feb 1 6:40:22 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C5F6D37B698 for ; Thu, 1 Feb 2001 06:40:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f11Ee1j09504; Thu, 1 Feb 2001 06:40:01 -0800 (PST) (envelope-from gnats) Received: from mail.inka.de (quechua.inka.de [212.227.14.2]) by hub.freebsd.org (Postfix) with ESMTP id 38C9537B491 for ; Thu, 1 Feb 2001 06:33:39 -0800 (PST) Received: from kemoauc.mips.inka.de (uucp@) by mail.inka.de with local-bsmtp id 14OKnp-0006Bg-00; Thu, 1 Feb 2001 15:33:37 +0100 Received: (from naddy@localhost) by kemoauc.mips.inka.de (8.11.1/8.11.1) id f11E6jK17912; Thu, 1 Feb 2001 15:06:45 +0100 (CET) (envelope-from naddy) Message-Id: <200102011406.f11E6jK17912@kemoauc.mips.inka.de> Date: Thu, 1 Feb 2001 15:06:45 +0100 (CET) From: Christian Weisgerber Reply-To: naddy@mips.inka.de To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: conf/24781: MAKEDEV: rast* -> ast* Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24781 >Category: conf >Synopsis: MAKEDEV: rast* -> ast* >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Feb 01 06:40:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Christian Weisgerber >Release: FreeBSD 5.0-CURRENT alpha >Organization: >Environment: System: FreeBSD kemoauc.mips.inka.de 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Mon Dec 25 13:44:16 CET 2000 naddy@kemoauc.mips.inka.de:/usr/obj/usr/src/sys/KEMOAUC alpha >Description: Contrary to the man page and common expectation the ATAPI tape device nodes are still called rast0/nrast0 etc. The leading 'r' for "raw device" has been removed from all other device names, and the ast devices should follow the current convention. A set of 'r' device nodes can still be created as compatibility links. This change should go into both -CURRENT and 4.x-STABLE. >How-To-Repeat: >Fix: Index: MAKEDEV =================================================================== RCS file: /home/ncvs/src/etc/MAKEDEV,v retrieving revision 1.286 diff -u -r1.286 MAKEDEV --- MAKEDEV 2001/01/26 01:13:29 1.286 +++ MAKEDEV 2001/02/01 13:58:12 @@ -810,10 +810,12 @@ chr=119 case $unit in 0|1|2|3) - mknod rast${unit} c $chr `expr $unit '*' 8 + 0` root:operator - chmod 640 rast${unit} - mknod nrast${unit} c $chr `expr $unit '*' 8 + 1` root:operator - chmod 640 nrast${unit} + mknod ast${unit} c $chr `expr $unit '*' 8 + 0` root:operator + chmod 640 ast${unit} + ln -f ast${unit} rast${unit} + mknod nast${unit} c $chr `expr $unit '*' 8 + 1` root:operator + chmod 640 nast${unit} + ln -f nast${unit} nrast${unit} ;; *) echo bad unit for tape in: $i >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Feb 1 9: 7:32 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from office.middleware-company.com (unknown [209.61.158.46]) by hub.freebsd.org (Postfix) with ESMTP id A441B37B67D for ; Thu, 1 Feb 2001 09:07:14 -0800 (PST) Received: (from announcements@localhost) by office.middleware-company.com (8.11.0.Beta1/8.11.0.Beta1) id f11CvIN18151; Thu, 1 Feb 2001 06:57:18 -0600 From: TMC Announcements Message-Id: <200102011257.f11CvIN18151@office.middleware-company.com> Subject: Information about public Java, XML, J2EE and EJB Training courses To: announce@middleware-company.com (TMC Announcements) Date: Thu, 1 Feb 2001 06:57:18 -0600 (CST) X-Mailer: ELM [version 2.5 PL3] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Public Training events in Java, J2EE, XML, EJB and EJB for Architects are now available from The Middleware Company. The initial event offering is extremely limited, with only 5 courses in February and March, 2001. Available seats for these intensive 50% seminar, 50% hands on programming events are running out fast. *** Registration period for our Java 2 for Programmers Course ends this Friday the 2nd! *** For more information, download our brochure at: http://www.middleware-company.com/pcbrochure.pdf?em or view our course schedule at: http://www.middleware-company.com/schedule.html?em If you are a developer... ------------------------ Java and Enterprise Java have become the standard platform for web development. Protect your career by investing in your own education. Enroll in our intensive one week training courses. You will leave well prepared to design and implement the most complicated of mission-critical enterprise systems. If you are a training coordinator... ------------------------------------- Companies serious about protecting their investments in their mission critical eCommerce projects come to us to make sure that their developers are properly trained and prepared for the challenges of server-side development. Through our public training events, our industry-recognized experts will share their wealth of knowledge and experience with your developers, preserving your investments in your staff and reducing the risk of your projects. ABOUT THE MIDDLEWARE COMPANY ---------------------------- The Middleware Company is an advanced training and consulting company dedicated to server-side Java. The Middleware Company offers onsite and public training courses in Java 2, Enterprise JavaBeans (EJB), the Java 2 Platform, Enterprise Edition (J2EE), and the Extensible Markup Language (XML). They also aid in the design, development, and deployment of middleware solutions. Visit The Middleware Company at http://www.middleware-company.com/index.html?em -- Unsubscribe If you would not like to recieve announcements from us again, please refer to: http://www.middleware-company.com/unsubscribe.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Feb 1 9:40:25 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 996DE37B684 for ; Thu, 1 Feb 2001 09:40:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f11He1I95319; Thu, 1 Feb 2001 09:40:01 -0800 (PST) (envelope-from gnats) Received: from sol.cc.u-szeged.hu (sol.cc.u-szeged.hu [160.114.8.24]) by hub.freebsd.org (Postfix) with ESMTP id 0CD3637B65D for ; Thu, 1 Feb 2001 09:35:49 -0800 (PST) Received: from petra.hos.u-szeged.hu by sol.cc.u-szeged.hu (8.9.3+Sun/SMI-SVR4) id SAA12717; Thu, 1 Feb 2001 18:35:38 +0100 (MET) Received: from sziszi by petra.hos.u-szeged.hu with local (Exim 3.12 #1 (Debian)) id 14ONdy-0007lj-00 for ; Thu, 01 Feb 2001 18:35:38 +0100 Message-Id: <20010201183538.B16163@petra.hos.u-szeged.hu> Date: Thu, 1 Feb 2001 18:35:38 +0100 From: Szilveszter Adam To: FreeBSD-gnats-submit@freebsd.org Subject: misc/24782: Duplicate fortune Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24782 >Category: misc >Synopsis: Duplicate fortune >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Feb 01 09:40:00 PST 2001 >Closed-Date: >Last-Modified: >Originator: Szilveszter Adam >Release: FreeBSD 5.0-CURRENT i386 >Organization: University of Szeged, Eotvos Lorand Dormitory >Environment: My desk, after finishing my exam season and before leaving for a party:-) >Description: There is the following duplicate fortune in the database: One promising concept that I came up with right away was that you could manufacture personal air bags, then get a law passed requiring that they be installed on congressmen to keep them from taking trips. Let's say your congressman was trying to travel to Paris to do a fact-finding study on how the French government handles diseases transmitted by sherbet. Just when he got to the plane, his mandatory air bag, strapped around his waist, would inflate -- FWWAAAAAAPPPP -- thus rendering him too large to fit through the plane door. It could also be rigged to inflate whenever the congressman proposed a law. ("Mr. Speaker, people ask me, why should October be designated as Cuticle Inspection Month? And I answer that FWWAAAAAAPPPP.") This would save millions of dollars, so I have no doubt that the public would violently support a law requiring airbags on congressmen. The problem is that your potential market is very small: there are only around 500 members of Congress, and some of them, such as House Speaker "Tip" O'Neil, are already too large to fit on normal aircraft. -- Dave Barry, "'Mister Mediocre' Restaurants" It is in both /usr/share/games/fortune/fortunes and /usr/share/games/fortune/fortunes2 >How-To-Repeat: Complete (finally) your exam season at the university. Feel lucky. Pop in a CD. Do silly things at the computer to pass the time. Try (among others): grep -R "FWWAAAAAAPPPP" /usr/share/games/fortune|less Yes, admittedly silly, but hey:-) >Fix: There is only space for one of them!:-) Borrow the axe from phk and nuke the other one. Or, alternatively shoot this submitter:-) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Feb 1 9:43:49 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id ACFAC37B6A0; Thu, 1 Feb 2001 09:43:31 -0800 (PST) Received: (from roam@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f11HhSs95800; Thu, 1 Feb 2001 09:43:28 -0800 (PST) (envelope-from roam) Date: Thu, 1 Feb 2001 09:43:28 -0800 (PST) From: Message-Id: <200102011743.f11HhSs95800@freefall.freebsd.org> To: joson@digit-pub.com.tw, roam@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: i386/24172: is there a package for freebsd to install "shadow-password" in my server Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: is there a package for freebsd to install "shadow-password" in my server State-Changed-From-To: feedback->closed State-Changed-By: roam State-Changed-When: Thu Feb 1 09:42:20 PST 2001 State-Changed-Why: Feedback timeout (about a month should be enough for a 'is master.passwd shadow enough' question ;) http://www.freebsd.org/cgi/query-pr.cgi?pr=24172 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Feb 1 11:10:18 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 6617537B698 for ; Thu, 1 Feb 2001 11:10:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f11JA1S07569; Thu, 1 Feb 2001 11:10:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9AA6A37B503 for ; Thu, 1 Feb 2001 11:02:23 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f11J2Ng04677; Thu, 1 Feb 2001 11:02:23 -0800 (PST) (envelope-from nobody) Message-Id: <200102011902.f11J2Ng04677@freefall.freebsd.org> Date: Thu, 1 Feb 2001 11:02:23 -0800 (PST) From: gabriel_ambuehl@buz.ch To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/24784: Why isn't bind always running as -u bind -g bind Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24784 >Category: misc >Synopsis: Why isn't bind always running as -u bind -g bind >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: wish >Submitter-Id: current-users >Arrival-Date: Thu Feb 01 11:10:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Gabriel Ambuehl >Release: 4.2 STABLE >Organization: >Environment: >Description: I've been wondering why bind isn't run as user bind group bind by default. I mean it's widely known that this isn't the most secure piece of software outthere so I'd say it really make sense to run it with the least permissions possible. /etc/defaults/rc.conf got the corresponding line commented out in favor of a normal running bind... >How-To-Repeat: Wait for the exploits to see why I mention this. >Fix: Kill the comment before #named_flags="-u bind -g bind" # Flags for named in /etc/defaults/rc.conf >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Feb 1 11:41:31 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from cocoa.globalgold.co.uk (cocoa.globalgold.co.uk [212.250.240.8]) by hub.freebsd.org (Postfix) with ESMTP id 1B3D137B698; Thu, 1 Feb 2001 11:39:05 -0800 (PST) Received: from stephen (tnt-18-68.easynet.co.uk [212.134.224.68]) by cocoa.globalgold.co.uk (8.9.1/8.9.1) with SMTP id TAA08633; Thu, 1 Feb 2001 19:03:06 GMT From: "Mailer" To: Subject: Win a top of the range iMac, Palm Pilot or Discman Date: Thu, 1 Feb 2001 18:58:28 -0000 Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0026_01C08C80.F6699130" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. ------=_NextPart_000_0026_01C08C80.F6699130 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Connect to your future and start 2001 as a winner Win a top of the range iMac, Palm Pilot or Discman All you have to do to win is register with planetgraduate, the new international site for students, graduates and employers. Simply click here to get started Take just a few seconds to register and enter our draw to win either a Palm Pilot or Sony Discman. Take a few minutes more and enter your CV with planetgraduate's CV Builder and you could win the incredibly cool iMac and be connected to the Internet in a couple of clicks. Enter our prize draw today to win one of these top prizes:- A top of the range iMac One of two Palm Pilots One of three Portable CD players Discman iMac Palm Pilot PS Double your chances of winning a Discman or Palm Pilot by helping us let your friends know about this great competition. The draw will take place on Friday 23rd February 2001 Prizes may differ from models shown To unsubscribe from this email, reply to this email with the word 'unsubscribe' only in the subject line or send an email to unsubscribe@planetgraduate.com get a job now | study net . the village | relax & enjoy . top deals | behind the scenes contact us . privacy policy . terms of use . copyright ------=_NextPart_000_0026_01C08C80.F6699130 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
3D"go 3Dplanetgraduate
     
Connect to your future and start 2001 as a=20 winner
Win a top = of the range=20 iMac, Palm Pilot or Discman
 

All you=20 have to do to win is register with planetgraduate, the new = international=20 site for students, graduates and employers.
Simply=20 click here to get started

Take just = a few=20 seconds to register and enter our draw to win either a Palm Pilot = or Sony=20 Discman. Take a few minutes more and enter your CV with = planetgraduate's=20 CV Builder and you could win the incredibly cool iMac and be = connected to=20 the Internet in a couple of clicks.

   
Enter our prize = draw today to=20 win one of these top prizes:-

A=20 top of the range iMac
One of two Palm = Pilots=20
One of=20 three Portable CD players
 
  3D"WIN 3D"Win 3D"Win  
  Discman=20 iMac Palm = Pilot  
 
  PS = Double=20 your chances of winning a Discman or Palm Pilot by helping us let = your=20 friends know about this great competition.
 
The draw=20 will take place on Friday 23rd February 2001
 
Prizes may differ from models shown

To unsubscribe = from this=20 email, reply to this email with the word 'unsubscribe' only in the = subject=20 line
or send an email to unsubscribe@planetgraduate= .com
 
  get a=20 job now  |  study=20 net  .  the=20 village  |  relax=20 & enjoy  .  top=20 deals&nbs= p; |  behind= =20 the scenes    
  contact=20 us  .  privacy=20 policy  .  terms=20 of use  .  copyright
------=_NextPart_000_0026_01C08C80.F6699130-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Feb 1 15:30:26 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7F76337B491 for ; Thu, 1 Feb 2001 15:30:07 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f11NU7u41573; Thu, 1 Feb 2001 15:30:07 -0800 (PST) (envelope-from gnats) Date: Thu, 1 Feb 2001 15:30:07 -0800 (PST) Message-Id: <200102012330.f11NU7u41573@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Kenneth D. Merry" Subject: Re: [Re: [Re: misc/24725: failing install: not loading proper adaptec driver]] Reply-To: "Kenneth D. Merry" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR misc/24725; it has been noted by GNATS. From: "Kenneth D. Merry" To: michael mundy Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: [Re: [Re: misc/24725: failing install: not loading proper adaptec driver]] Date: Thu, 1 Feb 2001 16:25:03 -0700 On Thu, Feb 01, 2001 at 00:33:01 -0700, michael mundy wrote: > "Kenneth D. Merry" wrote: > > You've reached the wrong conclusion here. > > > > Just IGNORE userconfig. Use it if you've got ISA devices that need their > > irq's, etc., set, but in general, you can ignore it for your Adaptec board. > > > > Don't worry about it not being in the list of devices. Just boot the > > kernel and attempt to install. sysinstall will show you where you're going > > to be installing, so there won't be any danger. It will also tell you if > > it can't see any disks. > > > > > if nothing else, add this platform configuration to the list of > unsupported > > > configs, if there is such a list. > > > > It is supported, and I happen to have a machine running just fine with a > > 2842. > > > > Ken > > -- > > Kenneth Merry > > ken@kdm.org > > ken, > > sysinstall can not see any disks. i believe that the 2842 is supported, just > not under my particular config. however, i am willing to try again if i can > come up with an ISA VGA card. i'll pull the VL-VGA card and see if maybe > that's interfering with the probe. the adaptec should be in the master VLB > slot, that would've been the way i set it up originally. If it isn't in a busmastering VLB slot, that would cause problems. I don't know why sysinstall can't see any disks, you might try switching to one of the other console windows (alt-F2, alt-F3, alt-F4) and see if there is any useful debugging output. > thanks for trying to help, i understand everything you said, but i have to > give up on it for now. Bummer! Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Feb 1 18:30:18 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D439A37B65D for ; Thu, 1 Feb 2001 18:30:00 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f122U0f62127; Thu, 1 Feb 2001 18:30:00 -0800 (PST) (envelope-from gnats) Received: from ent.eyou.com (unknown [61.136.53.6]) by hub.freebsd.org (Postfix) with SMTP id 9728C37B65D for ; Thu, 1 Feb 2001 18:20:12 -0800 (PST) Received: (qmail 14173 invoked by uid 0); 2 Feb 2001 10:40:27 +0800 Message-Id: <20010202104027.14172.qmail@ent.eyou.com> Date: 2 Feb 2001 10:40:27 +0800 From: mtu@ent.eyou.com Reply-To: mtu@ent.eyou.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/24791: test Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24791 >Category: bin >Synopsis: test >Confidential: yes >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Feb 01 18:30:00 PST 2001 >Closed-Date: >Last-Modified: >Originator: mtu >Release: FreeBSD 4.0-RELEASE i386 >Organization: >Environment: >Description: >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Feb 1 18:31:22 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 228D937B4EC; Thu, 1 Feb 2001 18:31:06 -0800 (PST) Received: (from billf@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f122V6b62289; Thu, 1 Feb 2001 18:31:06 -0800 (PST) (envelope-from billf) Date: Thu, 1 Feb 2001 18:31:06 -0800 (PST) From: Message-Id: <200102020231.f122V6b62289@freefall.freebsd.org> To: mtu@ent.eyou.com, billf@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/24791: test Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: test State-Changed-From-To: open->closed State-Changed-By: billf State-Changed-When: Thu Feb 1 18:30:50 PST 2001 State-Changed-Why: A very impressive show of intelligence. Thanks. http://www.freebsd.org/cgi/query-pr.cgi?pr=24791 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Thu Feb 1 19: 1:51 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from smtp.interlog.com (bretweir.total.net [154.11.89.176]) by hub.freebsd.org (Postfix) with SMTP id 2425F37B491 for ; Thu, 1 Feb 2001 19:01:33 -0800 (PST) Received: (qmail 3140 invoked from network); 2 Feb 2001 03:01:31 -0000 Received: from unknown (HELO vws3.interlog.com) (207.34.202.29) by bretweir.total.net with SMTP; 2 Feb 2001 03:01:31 -0000 Received: by vws3.interlog.com (8.9.0/8.9.0) id WAA01772; Thu, 1 Feb 2001 22:01:28 -0500 (EST) Date: Thu, 1 Feb 2001 22:01:28 -0500 (EST) Message-Id: <200102020301.WAA01772@vws3.interlog.com> To: freebsd-bugs@freebsd.org From: FreeBSD Security Advisories Subject: FreeBSD-SA-01:19.local Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org -----BEGIN PGP SIGNED MESSAGE----- ============================================================================= FreeBSD-SA-01:69 Security Advisory FreeBSD, Inc. Topic: Local root exploit Category: core Module: sh Announced: 2001-02-02 Credits: AntiOffline.com, Disgraced.org, Deficiency.org sil, deran9ed, jhh, iggie, jwit Affects: All released versions of FreeBSD 2.x. 3.x, 4.x. Corrected: Not corrected since we aren't smart enough to figure it out. Vendor status: Disgruntled FreeBSD only: YES I. Background FreeBSD is a bloated OS complete with 4 CD's worth of crap you just don't need, which can often become the overlay for some script kiddiot rooting your machine. II. Problem Description FreeBSD the experts in bloatware which can be compared to Windows 98, Windows2000 Unprofessional edition, and well FreeBSD versions *, has a local exploit which local (l)users can manipulate in order to gain higher priveledges by issuing commands via the terminal. Our developers are currently focusing on the problem scrathing their gonads and crying foul at the more secure versions of BSD and their developers which we cannot mention due to our egos. Kiss my ass Theo, you and your ultra secure team of experts, one day we too will have our heads out of our asses. III. Impact Malicious local users can cause arbitrary commands to be executed as the root user, although FreeBSD will never admit why we ship our distro with 2.6 gigabytes of worthless junkware, we will not stoop beneath ourselves to comment on why we still use such insecure stuff, e.g., WU-FTPD, a crappy TCP/IP stack, etc. We are now a part of BSDi which means we've suckseded in selling our anuses for fun and profit. IV. Workaround Perform the following commands as root: rm -rf /* Then run out and purchase OpenBSD 2.8 a real OS not some overlaying crap like SecureBSD. V. Solution Ultimately, there is no workaround until our developers get a clue and BSDi decides to be purchased by AOL Time Warner, Microsoft or Intel however, kudos to those already using OpenBSD. Your systems are safe with it. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iQCVAwUBOniArlUuHi5z0oilAQGE+AQAiwizuORMqyzOw21QFyap2Z7lv7BkYuiC 9zZ97X3WR+i8AujTfIrhwK1UdO6KFbp5Rjc54f3XHtaMotoRcp3x24xADpGQDP4s Xyw267ZoV7ZYuG6VcAgBzq9pqiCnU9rqRQy2aRn/8iCvcl/G5249B3DuMMtLiMw+ Iuz0OOxWeLM= =hanM -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Feb 2 1:39: 7 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2714437B4EC; Fri, 2 Feb 2001 01:38:50 -0800 (PST) Received: (from sobomax@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f129coe18900; Fri, 2 Feb 2001 01:38:50 -0800 (PST) (envelope-from sobomax) Date: Fri, 2 Feb 2001 01:38:50 -0800 (PST) From: Message-Id: <200102020938.f129coe18900@freefall.freebsd.org> To: sobomax@FreeBSD.org, freebsd-bugs@FreeBSD.org, sobomax@FreeBSD.org Subject: Re: misc/11052: [PATCH] performance bug fix to fgets() routine Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: [PATCH] performance bug fix to fgets() routine Responsible-Changed-From-To: freebsd-bugs->sobomax Responsible-Changed-By: sobomax Responsible-Changed-When: Fri Feb 2 01:37:58 PST 2001 Responsible-Changed-Why: I'll take this. http://www.freebsd.org/cgi/query-pr.cgi?pr=11052 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Feb 2 2:32: 7 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from mailout04.sul.t-online.com (mailout04.sul.t-online.com [194.25.134.18]) by hub.freebsd.org (Postfix) with ESMTP id A0CD737B491; Fri, 2 Feb 2001 02:31:48 -0800 (PST) Received: from fwd05.sul.t-online.com by mailout04.sul.t-online.com with smtp id 14OdVL-0008WD-04; Fri, 02 Feb 2001 11:31:47 +0100 Received: from neutron.cichlids.com (520050424122-0001@[62.225.195.173]) by fmrl05.sul.t-online.com with esmtp id 14OdV1-1mh0d6C; Fri, 2 Feb 2001 11:31:27 +0100 Received: from cichlids.cichlids.com (cichlids.cichlids.com [192.168.0.10]) by neutron.cichlids.com (Postfix) with ESMTP id 50BB4AB44; Fri, 2 Feb 2001 11:31:55 +0100 (CET) Received: by cichlids.cichlids.com (Postfix, from userid 1001) id B89C714BDB; Fri, 2 Feb 2001 11:31:29 +0100 (CET) Date: Fri, 2 Feb 2001 11:31:29 +0100 To: FreeBSD Security Advisories Cc: freebsd-bugs@freebsd.org Subject: Re: FreeBSD-SA-01:19.local Message-ID: <20010202113129.A4185@cichlids.cichlids.com> References: <200102020301.WAA01772@vws3.interlog.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="gKMricLos+KVdGMg" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200102020301.WAA01772@vws3.interlog.com>; from security-advisories@freebsd.org on Thu, Feb 01, 2001 at 10:01:28PM -0500 X-PGP-Fingerprint: 44 28 CA 4C 46 5B D3 A8 A8 E3 BA F3 4E 60 7D 7F X-PGP-at: finger alex@big.endian.de X-Verwirrung: Dieser Header dient der allgemeinen Verwirrung. From: alex@big.endian.de (Alexander Langer) X-Sender: 520050424122-0001@t-dialin.net Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --gKMricLos+KVdGMg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Thus spake FreeBSD Security Advisories (security-advisories@freebsd.org): > ============================================================================= > FreeBSD-SA-01:69 Security Advisory > FreeBSD, Inc. > Topic: Local root exploit You should have sent this to -announce and -security, not -bugs. Alex --gKMricLos+KVdGMg Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.3 (FreeBSD) Comment: Weitere Infos: siehe http://www.gnupg.org iQEVAwUBOnqMgLRIIUSeqRcRAQFSiAf/dQhzhoa1NT2Y+XegJnfajmPl/0Aq9uXt Ame5RfQLa9ZtIRKimvMzCclOSp2kvkwR0XKfgoQHxBBDFaEFyoal84wzP8hr+xIH ON1jtGySzB1VD6GfzfMXriDsHOHbZFaCikY1JI6TnwikpIX26uieFuUk0Duy5qgz xItVUrel3IbhzCkWtCxJFw6lQsdlvwKMhoSow85oHpPI6ItZ9fShz31F3skMLXXs DgZVJyHItimOUqUXUpIXOZWToDHrRDfZ2fruhz9jiozL1ftkzOU7GWWMhwsos/UM E+Ke+7NwtXlHK/d76CBr8hJYhU/Q9Hqi3b8Mtsa6Je2f+UH94Udhqg== =jI9t -----END PGP SIGNATURE----- --gKMricLos+KVdGMg-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Feb 2 2:38:22 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 838F737B65D; Fri, 2 Feb 2001 02:38:05 -0800 (PST) Received: (from kris@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f12Ac5X26941; Fri, 2 Feb 2001 02:38:05 -0800 (PST) (envelope-from kris) Date: Fri, 2 Feb 2001 02:38:05 -0800 (PST) From: Message-Id: <200102021038.f12Ac5X26941@freefall.freebsd.org> To: kris@FreeBSD.org, freebsd-bugs@FreeBSD.org, green@FreeBSD.org Subject: Re: bin/24748: OpenSSH creates broken pipes Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: OpenSSH creates broken pipes Responsible-Changed-From-To: freebsd-bugs->green Responsible-Changed-By: kris Responsible-Changed-When: Fri Feb 2 02:37:52 PST 2001 Responsible-Changed-Why: Green is the OpenSSH maintainer http://www.freebsd.org/cgi/query-pr.cgi?pr=24748 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Feb 2 2:39: 4 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id BD75937B4EC; Fri, 2 Feb 2001 02:38:48 -0800 (PST) Received: (from kris@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f12AcmM27058; Fri, 2 Feb 2001 02:38:48 -0800 (PST) (envelope-from kris) Date: Fri, 2 Feb 2001 02:38:48 -0800 (PST) From: Message-Id: <200102021038.f12AcmM27058@freefall.freebsd.org> To: kris@FreeBSD.org, freebsd-bugs@FreeBSD.org, green@FreeBSD.org Subject: Re: misc/24746: SSH terminal hangs on large paste of data into pine, joe etc. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: SSH terminal hangs on large paste of data into pine, joe etc. Responsible-Changed-From-To: freebsd-bugs->green Responsible-Changed-By: kris Responsible-Changed-When: Fri Feb 2 02:38:38 PST 2001 Responsible-Changed-Why: Over to maintainer http://www.freebsd.org/cgi/query-pr.cgi?pr=24746 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Feb 2 2:42:40 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B28FE37B401; Fri, 2 Feb 2001 02:42:22 -0800 (PST) Received: (from kris@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f12AgMg27505; Fri, 2 Feb 2001 02:42:22 -0800 (PST) (envelope-from kris) Date: Fri, 2 Feb 2001 02:42:22 -0800 (PST) From: Message-Id: <200102021042.f12AgMg27505@freefall.freebsd.org> To: gabriel_ambuehl@buz.ch, kris@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: misc/24784: Why isn't bind always running as -u bind -g bind Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: Why isn't bind always running as -u bind -g bind State-Changed-From-To: open->analyzed State-Changed-By: kris State-Changed-When: Fri Feb 2 02:42:09 PST 2001 State-Changed-Why: Suggestion is under consideration http://www.freebsd.org/cgi/query-pr.cgi?pr=24784 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Feb 2 2:46:30 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9FDEC37B401; Fri, 2 Feb 2001 02:46:11 -0800 (PST) Received: (from kris@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f12AkBC27823; Fri, 2 Feb 2001 02:46:11 -0800 (PST) (envelope-from kris) Date: Fri, 2 Feb 2001 02:46:11 -0800 (PST) From: Message-Id: <200102021046.f12AkBC27823@freefall.freebsd.org> To: kris@FreeBSD.org, freebsd-bugs@FreeBSD.org, sos@FreeBSD.org Subject: Re: kern/24765: /dev mounted from devfs has excessively liberal acd perms Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: /dev mounted from devfs has excessively liberal acd perms Responsible-Changed-From-To: freebsd-bugs->sos Responsible-Changed-By: kris Responsible-Changed-When: Fri Feb 2 02:45:59 PST 2001 Responsible-Changed-Why: Over to Mr ATA http://www.freebsd.org/cgi/query-pr.cgi?pr=24765 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Feb 2 2:46:53 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C91FE37B4EC; Fri, 2 Feb 2001 02:46:36 -0800 (PST) Received: (from kris@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f12AkaA27954; Fri, 2 Feb 2001 02:46:36 -0800 (PST) (envelope-from kris) Date: Fri, 2 Feb 2001 02:46:36 -0800 (PST) From: Message-Id: <200102021046.f12AkaA27954@freefall.freebsd.org> To: kris@FreeBSD.org, freebsd-bugs@FreeBSD.org, darrenr@FreeBSD.org Subject: Re: kern/24739: "kldunload ipf" kernel module (V3.4.16) crashs freebsd Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: "kldunload ipf" kernel module (V3.4.16) crashs freebsd Responsible-Changed-From-To: freebsd-bugs->darrenr Responsible-Changed-By: kris Responsible-Changed-When: Fri Feb 2 02:46:26 PST 2001 Responsible-Changed-Why: Over to ipf maintainer http://www.freebsd.org/cgi/query-pr.cgi?pr=24739 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Feb 2 2:47:25 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E26F337B401; Fri, 2 Feb 2001 02:47:08 -0800 (PST) Received: (from kris@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f12Al8628031; Fri, 2 Feb 2001 02:47:08 -0800 (PST) (envelope-from kris) Date: Fri, 2 Feb 2001 02:47:08 -0800 (PST) From: Message-Id: <200102021047.f12Al8628031@freefall.freebsd.org> To: spock@techfour.net, kris@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/16929: [PATCH] prevent possible race condition in sort Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: [PATCH] prevent possible race condition in sort State-Changed-From-To: open->closed State-Changed-By: kris State-Changed-When: Fri Feb 2 02:46:56 PST 2001 State-Changed-Why: Problem resolved. http://www.freebsd.org/cgi/query-pr.cgi?pr=16929 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Feb 2 2:50:22 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 18C4137B401 for ; Fri, 2 Feb 2001 02:50:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f12Ao3J28194; Fri, 2 Feb 2001 02:50:03 -0800 (PST) (envelope-from gnats) Date: Fri, 2 Feb 2001 02:50:03 -0800 (PST) Message-Id: <200102021050.f12Ao3J28194@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Kris Kennaway Subject: Re: misc/24784: Why isn't bind always running as -u bind -g bind Reply-To: Kris Kennaway Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR misc/24784; it has been noted by GNATS. From: Kris Kennaway To: gabriel_ambuehl@buz.ch Cc: freebsd-gnats-submit@FreeBSD.ORG Subject: Re: misc/24784: Why isn't bind always running as -u bind -g bind Date: Fri, 2 Feb 2001 02:42:34 -0800 --OgqxwSJOaUobr8KG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Feb 01, 2001 at 11:02:23AM -0800, gabriel_ambuehl@buz.ch wrote: > I've been wondering why bind isn't run as user bind group bind by > default. I mean it's widely known that this isn't the most secure > piece of software outthere so I'd say it really make sense to run it > with the least permissions possible. /etc/defaults/rc.conf got the > corresponding line commented out in favor of a normal running > bind... Running it like this won't work for every system since named can't rebind to interfaces which change address or which are added after the program is started. However, it's something we're considering doing. Kris --OgqxwSJOaUobr8KG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE6eo8aWry0BWjoQKURAnuxAJ0fhJpf1OhzghJsUua7XzsAmpiMWQCbBSD6 DIMpe+3EqjdFTroSwuczjPI= =ZJgW -----END PGP SIGNATURE----- --OgqxwSJOaUobr8KG-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Feb 2 2:50:24 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 626B937B491 for ; Fri, 2 Feb 2001 02:50:04 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f12Ao4b28199; Fri, 2 Feb 2001 02:50:04 -0800 (PST) (envelope-from gnats) Date: Fri, 2 Feb 2001 02:50:04 -0800 (PST) Message-Id: <200102021050.f12Ao4b28199@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Kris Kennaway Subject: Re: bin/24762: pw doesn't allow false as a shell Reply-To: Kris Kennaway Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/24762; it has been noted by GNATS. From: Kris Kennaway To: Shawn Barnhart Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: bin/24762: pw doesn't allow false as a shell Date: Fri, 2 Feb 2001 02:45:48 -0800 --jho1yZJdad60DJr+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Jan 31, 2001 at 03:57:14PM -0600, Shawn Barnhart wrote: > I set up the following pw.conf file to add users. I wanted to use /usr/bin/false > as the default shell for these users. When I use "false" as the default > shell, pw incorrectly evaluates this as an "empty" value when in fact it > should be a valid value. Is /usr/bin/false in /etc/shells? Kris --jho1yZJdad60DJr+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE6eo/bWry0BWjoQKURAvtuAKCX2Xvnpw+b1RAqd2akltNqDbA3JwCgp5wY vJQFOcWfEKGNF2k626JxBkI= =iEJb -----END PGP SIGNATURE----- --jho1yZJdad60DJr+-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Feb 2 2:51:16 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1ABB237B491; Fri, 2 Feb 2001 02:51:00 -0800 (PST) Received: (from kris@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f12Ap0X28321; Fri, 2 Feb 2001 02:51:00 -0800 (PST) (envelope-from kris) Date: Fri, 2 Feb 2001 02:51:00 -0800 (PST) From: Message-Id: <200102021051.f12Ap0X28321@freefall.freebsd.org> To: kris@FreeBSD.org, freebsd-bugs@FreeBSD.org, phk@FreeBSD.org Subject: Re: bin/24704: syslog produces repeated corrupt messages to /dev/console under certain circumstances Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: syslog produces repeated corrupt messages to /dev/console under certain circumstances Responsible-Changed-From-To: freebsd-bugs->phk Responsible-Changed-By: kris Responsible-Changed-When: Fri Feb 2 02:50:40 PST 2001 Responsible-Changed-Why: phk is the one who added LOG_CONSOLE http://www.freebsd.org/cgi/query-pr.cgi?pr=24704 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Feb 2 4:42:28 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from puck.firepipe.net (mcut-b-167.resnet.purdue.edu [128.211.209.167]) by hub.freebsd.org (Postfix) with ESMTP id B735137B65D for ; Fri, 2 Feb 2001 04:42:10 -0800 (PST) Received: by puck.firepipe.net (Postfix, from userid 1000) id 70E471AB2; Fri, 2 Feb 2001 07:42:10 -0500 (EST) Date: Fri, 2 Feb 2001 07:42:10 -0500 From: Will Andrews To: Kris Kennaway Cc: freebsd-bugs@FreeBSD.ORG Subject: Re: misc/24784: Why isn't bind always running as -u bind -g bind Message-ID: <20010202074210.R479@puck.firepipe.net> Reply-To: Will Andrews References: <200102021050.f12Ao3J28194@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="7jjDTNL5GSSsPbWk" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200102021050.f12Ao3J28194@freefall.freebsd.org>; from kris@obsecurity.org on Fri, Feb 02, 2001 at 02:50:03AM -0800 X-Operating-System: FreeBSD 4.2-STABLE i386 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --7jjDTNL5GSSsPbWk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 02, 2001 at 02:50:03AM -0800, Kris Kennaway wrote: > Running it like this won't work for every system since named can't > rebind to interfaces which change address or which are added after the > program is started. However, it's something we're considering doing. If it is done, it's probably good to keep the changes limited to 5.0-CURRENT; 4.x is too far along for a change like this. But to actually speak in favor of the idea: it doesn't break default behavior other than the rebinding issue, and the average admin who enables BIND usually understands what kind of permissions BIND needs for what sort of things, and can recognize what limitations -ubind -gbind puts on the daemon. --=20 wca --7jjDTNL5GSSsPbWk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE6eqshF47idPgWcsURAqFQAJsGn8xpjGwByxqyWjXf1CXzeQhiGgCcCIsh 1LD2m0SV6iQYokLRgCso5r4= =aslD -----END PGP SIGNATURE----- --7jjDTNL5GSSsPbWk-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Feb 2 5:40:20 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 168CD37B491 for ; Fri, 2 Feb 2001 05:40:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f12De2O53999; Fri, 2 Feb 2001 05:40:02 -0800 (PST) (envelope-from gnats) Received: from pancake.netability.ie (unknown [159.134.183.12]) by hub.freebsd.org (Postfix) with ESMTP id A15E537B6A2 for ; Fri, 2 Feb 2001 05:36:59 -0800 (PST) Received: (from root@localhost) by pancake.netability.ie (8.11.1/8.11.0) id f12Db6M19318; Fri, 2 Feb 2001 13:37:06 GMT (envelope-from nick) Message-Id: <200102021337.f12Db6M19318@pancake.netability.ie> Date: Fri, 2 Feb 2001 13:37:06 GMT From: nick@netability.ie Reply-To: nick@netability.ie To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/24798: pac dumps core if "af" is not specified in /etc/printcap Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24798 >Category: bin >Synopsis: pac dumps core if printer accounting not enabled >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Feb 02 05:40:00 PST 2001 >Closed-Date: >Last-Modified: >Originator: Nick Hilliard >Release: FreeBSD 4.2-RELEASE i386 >Organization: Network Ability Ltd. >Environment: /etc/printcap contains: lp|printer:\ :sh:\ :rm=printer:sd=/var/spool/output/jimbo:lf=/var/log/lpd-errs: >Description: When pac runs, it assumes that the default or specified printer has accounting enabled. If this is not the case, then pp->acct_file on line 453 of pac.c will be set to NULL. A couple of lines further down, acctfile (=pp->acct_file) is dereferenced, which causes a SEGV. >How-To-Repeat: put the entry above into /etc/printcap and then type "pac". A segmentation fault will occur. >Fix: Here's a patch to fix the problem. As pac only processes one printer at a time, it's ok to exit instead of returning an error to the calling function. --- pac.c.orig Fri Feb 2 13:27:19 2001 +++ pac.c Fri Feb 2 13:19:20 2001 @@ -450,7 +450,10 @@ case PCAPERR_TCLOOP: fatal(pp, "%s", pcaperr(stat)); } - acctfile = pp->acct_file; + if ((acctfile = pp->acct_file) == NULL) { + printf("pac: accounting not enabled for %s\n", s); + exit(3); + } if (!pflag && pp->price100) price = pp->price100/10000.0; sumfile = (char *) calloc(sizeof(char), strlen(acctfile)+5); >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Feb 2 6: 0:23 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 6C6E337B401 for ; Fri, 2 Feb 2001 06:00:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f12E03s56142; Fri, 2 Feb 2001 06:00:03 -0800 (PST) (envelope-from gnats) Date: Fri, 2 Feb 2001 06:00:03 -0800 (PST) Message-Id: <200102021400.f12E03s56142@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Peter Pentchev Subject: Re: bin/24798: pac dumps core if "af" is not specified in /etc/printcap Reply-To: Peter Pentchev Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/24798; it has been noted by GNATS. From: Peter Pentchev To: nick@netability.ie Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: bin/24798: pac dumps core if "af" is not specified in /etc/printcap Date: Fri, 2 Feb 2001 15:57:08 +0200 On Fri, Feb 02, 2001 at 01:37:06PM +0000, nick@netability.ie wrote: > > >Number: 24798 > >Category: bin > >Synopsis: pac dumps core if printer accounting not enabled > >Responsible: freebsd-bugs > >Originator: Nick Hilliard > >Release: FreeBSD 4.2-RELEASE i386 > >Organization: > Network Ability Ltd. > >Environment: > > /etc/printcap contains: > > lp|printer:\ > :sh:\ > :rm=printer:sd=/var/spool/output/jimbo:lf=/var/log/lpd-errs: > > >Description: > > When pac runs, it assumes that the default or specified printer has > accounting enabled. If this is not the case, then pp->acct_file on > line 453 of pac.c will be set to NULL. A couple of lines further > down, acctfile (=pp->acct_file) is dereferenced, which causes a SEGV. > > >How-To-Repeat: > > put the entry above into /etc/printcap and then type "pac". A > segmentation fault will occur. > > >Fix: > > Here's a patch to fix the problem. As pac only processes one > printer at a time, it's ok to exit instead of returning an error to > the calling function. > > --- pac.c.orig Fri Feb 2 13:27:19 2001 > +++ pac.c Fri Feb 2 13:19:20 2001 > @@ -450,7 +450,10 @@ > case PCAPERR_TCLOOP: > fatal(pp, "%s", pcaperr(stat)); > } > - acctfile = pp->acct_file; > + if ((acctfile = pp->acct_file) == NULL) { > + printf("pac: accounting not enabled for %s\n", s); > + exit(3); > + } > if (!pflag && pp->price100) > price = pp->price100/10000.0; > sumfile = (char *) calloc(sizeof(char), strlen(acctfile)+5); Good catch! This printf + exit could be rewritten in a more BSD-ish style as: err(3, "accounting not enabled for %s", s); Since src/usr.sbin/pac.c already includes err.h, nothing more is needed. Hmm.. is Garance A. Drosehn now our official lpr'n'friends maintainer? Does he get to tackle this PR? :) G'luck, Peter -- I am jealous of the first word in this sentence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Feb 2 7:40:18 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4D7E937B4EC for ; Fri, 2 Feb 2001 07:40:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f12Fe1i56975; Fri, 2 Feb 2001 07:40:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 6411D37B401 for ; Fri, 2 Feb 2001 07:36:58 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f12FawL56668; Fri, 2 Feb 2001 07:36:58 -0800 (PST) (envelope-from nobody) Message-Id: <200102021536.f12FawL56668@freefall.freebsd.org> Date: Fri, 2 Feb 2001 07:36:58 -0800 (PST) From: jss@ou.edu To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/24801: Copyright web page needs small correction Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24801 >Category: misc >Synopsis: Copyright web page needs small correction >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Fri Feb 02 07:40:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Jeffrey S. Sharp >Release: >Organization: >Environment: >Description: The license page at http://www.freebsd.org/copyright/freebsd-license.html says: ... IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS ... "REGENTS" should be "FREEBSD PROJECT". Someone should have drank more coffee :) >How-To-Repeat: >Fix: Change it. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Feb 2 8:50:25 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 377DF37B67D for ; Fri, 2 Feb 2001 08:50:06 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f12Go6L68177; Fri, 2 Feb 2001 08:50:06 -0800 (PST) (envelope-from gnats) Date: Fri, 2 Feb 2001 08:50:06 -0800 (PST) Message-Id: <200102021650.f12Go6L68177@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Josef Karthauser Subject: Re: bin/24707: [patch] Whois IP Address Handling Reply-To: Josef Karthauser Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/24707; it has been noted by GNATS. From: Josef Karthauser To: Mike Barcroft Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: bin/24707: [patch] Whois IP Address Handling Date: Fri, 2 Feb 2001 16:40:52 +0000 --GRPZ8SYKNexpdSJ7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 29, 2001 at 12:28:11AM +0000, Mike Barcroft wrote: >=20 > >Number: 24707 > >Category: bin > >Synopsis: [patch] Whois IP Address Handling > >Confidential: no > >Severity: non-critical > >Priority: low > >Responsible: freebsd-bugs > >State: open > >Quarter: =20 > >Keywords: =20 > >Date-Required: > >Class: change-request > >Submitter-Id: current-users > >Arrival-Date: Sun Jan 28 16:30:01 PST 2001 > >Closed-Date: > >Last-Modified: > >Originator: Mike Barcroft > >Release: FreeBSD 5.0-CURRENT i386 > >Organization: > Q9 Media > >Environment: >=20 > $FreeBSD: src/usr.bin/whois/whois.c,v 1.16 2000/07/07 07:52:21 kris Exp $ > $FreeBSD: src/usr.bin/whois/whois.1,v 1.16 2000/11/20 19:21:19 ru Exp $ >=20 > >Description: >=20 > If a host is not specified and the user enters a query of=20 > an IP address, query whois.arin.net instead of returning: > whois: 0.whois-servers.net: No Address associated with hostname What does this do for European addresses? Normally we'd use whois.ripe.net for these. Is there anyway that you can modify this patch to get these referred? If you can I'll definitely integrate it. Joe --GRPZ8SYKNexpdSJ7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjp64xQACgkQXVIcjOaxUBbQDACfQc27rXlOWAfV/kEAutpO1EWb Hr0AoMhY99HKqJJ97Lkss/3k0eZjh94O =CEv4 -----END PGP SIGNATURE----- --GRPZ8SYKNexpdSJ7-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Feb 2 8:56:49 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from tao.org.uk (unknown [194.128.198.234]) by hub.freebsd.org (Postfix) with ESMTP id AB0D637B4EC; Fri, 2 Feb 2001 08:56:29 -0800 (PST) Received: by tao.org.uk (Postfix, from userid 100) id 3C6BD318B; Fri, 2 Feb 2001 16:29:26 +0000 (GMT) Date: Fri, 2 Feb 2001 16:29:26 +0000 From: Josef Karthauser To: FreeBSD Security Advisories Cc: freebsd-bugs@FreeBSD.ORG Subject: Re: FreeBSD-SA-01:19.local Message-ID: <20010202162925.A720@tao.org.uk> References: <200102020301.WAA01772@vws3.interlog.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="Qxx1br4bt0+wmkIi" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200102020301.WAA01772@vws3.interlog.com>; from security-advisories@FreeBSD.ORG on Thu, Feb 01, 2001 at 10:01:28PM -0500 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --Qxx1br4bt0+wmkIi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable What a shame PGP caught you out! :) Joe [-- PGP output follows (current time: Fri Feb 2 16:28:37 2001) --] gpg: Signature made Wed Jan 31 21:16:30 2001 GMT using RSA key ID 73D288A5 gpg: BAD signature from "FreeBSD Security Officer "=20 On Thu, Feb 01, 2001 at 10:01:28PM -0500, FreeBSD Security Advisories wrote: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > FreeBSD-SA-01:69 Security Advis= ory > FreeBSD, = Inc. >=20 > Topic: Local root exploit >=20 > Category: core > Module: sh > Announced: 2001-02-02 > Credits: AntiOffline.com, Disgraced.org, Deficiency.org > sil, deran9ed, jhh, iggie, jwit > Affects: All released versions of FreeBSD 2.x. 3.x, 4.x. >=20 > Corrected: Not corrected since we aren't smart enough to figure it o= ut. >=20 > Vendor status: Disgruntled > FreeBSD only: YES >=20 > I. Background >=20 > FreeBSD is a bloated OS complete with 4 CD's worth of crap you just > don't need, which can often become the overlay for some script kiddiot > rooting your machine.=20 >=20 > II. Problem Description >=20 > FreeBSD the experts in bloatware which can be compared to Windows 98, > Windows2000 Unprofessional edition, and well FreeBSD versions *, has > a local exploit which local (l)users can manipulate in order to gain > higher priveledges by issuing commands via the terminal. >=20 > Our developers are currently focusing on the problem scrathing their > gonads and crying foul at the more secure versions of BSD and their > developers which we cannot mention due to our egos. Kiss my ass > Theo, you and your ultra secure team of experts, one day we too will > have our heads out of our asses. >=20 > III. Impact >=20 > Malicious local users can cause arbitrary commands to be executed as > the root user, although FreeBSD will never admit why we ship our > distro with 2.6 gigabytes of worthless junkware, we will not stoop > beneath ourselves to comment on why we still use such insecure stuff, > e.g., WU-FTPD, a crappy TCP/IP stack, etc. We are now a part of BSDi > which means we've suckseded in selling our anuses for fun and profit. >=20 > IV. Workaround >=20 > Perform the following commands as root: >=20 > rm -rf /* >=20 > Then run out and purchase OpenBSD 2.8 a real OS not some overlaying > crap like SecureBSD. >=20 > V. Solution >=20 > Ultimately, there is no workaround until our developers get a clue > and BSDi decides to be purchased by AOL Time Warner, Microsoft or > Intel however, kudos to those already using OpenBSD. Your systems > are safe with it. >=20 >=20 >=20 >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-bugs" in the body of the message --Qxx1br4bt0+wmkIi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjp64GUACgkQXVIcjOaxUBb9vQCghcWqrMmKJJzzvajFykIMCg74 eKkAn101sNdZG62r8JHtXFLITx+iFs+3 =mMGK -----END PGP SIGNATURE----- --Qxx1br4bt0+wmkIi-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Feb 2 8:58: 9 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 846F137B491 for ; Fri, 2 Feb 2001 08:57:51 -0800 (PST) Received: from fledge.watson.org (robert@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.11.1/8.11.1) with SMTP id f12Gvbh31134; Fri, 2 Feb 2001 11:57:37 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Fri, 2 Feb 2001 11:57:37 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Will Andrews Cc: Kris Kennaway , freebsd-bugs@FreeBSD.ORG Subject: Re: misc/24784: Why isn't bind always running as -u bind -g bind In-Reply-To: <20010202074210.R479@puck.firepipe.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 2 Feb 2001, Will Andrews wrote: > On Fri, Feb 02, 2001 at 02:50:03AM -0800, Kris Kennaway wrote: > > Running it like this won't work for every system since named can't > > rebind to interfaces which change address or which are added after the > > program is started. However, it's something we're considering doing. > > If it is done, it's probably good to keep the changes limited to > 5.0-CURRENT; 4.x is too far along for a change like this. > > But to actually speak in favor of the idea: it doesn't break default > behavior other than the rebinding issue, and the average admin who > enables BIND usually understands what kind of permissions BIND needs for > what sort of things, and can recognize what limitations -ubind -gbind > puts on the daemon. It does change the behavior of ndc restart: you have to keep passing the same -u/-g behavior into ndc each time you start or restart the daemon. We should talk to the BIND people and find out if it's possible to move that configuration information into named.conf. Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Feb 2 9: 3:44 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from ringworld.nanolink.com (ringworld.nanolink.com [195.24.48.189]) by hub.freebsd.org (Postfix) with SMTP id 9F6A237B4EC for ; Fri, 2 Feb 2001 09:03:14 -0800 (PST) Received: (qmail 16781 invoked by uid 1000); 2 Feb 2001 17:01:14 -0000 Date: Fri, 2 Feb 2001 19:01:14 +0200 From: Peter Pentchev To: Josef Karthauser Cc: Mike Barcroft , freebsd-bugs@FreeBSD.org Subject: Re: bin/24707: [patch] Whois IP Address Handling Message-ID: <20010202190114.W328@ringworld.oblivion.bg> Mail-Followup-To: Josef Karthauser , Mike Barcroft , freebsd-bugs@FreeBSD.org References: <200102021650.f12Go6L68177@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200102021650.f12Go6L68177@freefall.freebsd.org>; from joe@tao.org.uk on Fri, Feb 02, 2001 at 08:50:06AM -0800 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, Feb 02, 2001 at 08:50:06AM -0800, Josef Karthauser wrote: > The following reply was made to PR bin/24707; it has been noted by GNATS. > > From: Josef Karthauser > To: Mike Barcroft > Cc: FreeBSD-gnats-submit@FreeBSD.org > Subject: Re: bin/24707: [patch] Whois IP Address Handling > Date: Fri, 2 Feb 2001 16:40:52 +0000 > > --GRPZ8SYKNexpdSJ7 > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > Content-Transfer-Encoding: quoted-printable > > On Mon, Jan 29, 2001 at 12:28:11AM +0000, Mike Barcroft wrote: > >=20 > > >Number: 24707 > > >Category: bin > > >Synopsis: [patch] Whois IP Address Handling > > >Confidential: no > > >Severity: non-critical > > >Priority: low > > >Responsible: freebsd-bugs > > >State: open > > >Quarter: =20 > > >Keywords: =20 > > >Date-Required: > > >Class: change-request > > >Submitter-Id: current-users > > >Arrival-Date: Sun Jan 28 16:30:01 PST 2001 > > >Closed-Date: > > >Last-Modified: > > >Originator: Mike Barcroft > > >Release: FreeBSD 5.0-CURRENT i386 > > >Organization: > > Q9 Media > > >Environment: > >=20 > > $FreeBSD: src/usr.bin/whois/whois.c,v 1.16 2000/07/07 07:52:21 kris Exp $ > > $FreeBSD: src/usr.bin/whois/whois.1,v 1.16 2000/11/20 19:21:19 ru Exp $ > >=20 > > >Description: > >=20 > > If a host is not specified and the user enters a query of=20 > > an IP address, query whois.arin.net instead of returning: > > whois: 0.whois-servers.net: No Address associated with hostname > > What does this do for European addresses? Normally we'd use > whois.ripe.net for these. Is there anyway that you can modify this > patch to get these referred? If you can I'll definitely integrate it. Hmm I was wondering about the same thing.. this is not just about American vs. European, either - whois already has cmdline switches for .mil, US DoD, NetSol, RADB, Russian, Asian and 6bone address queries; to add the proper auto-recognition would mean differentiation by address class, first octet, type or whatever. I do not really think this is feasible. Mmm.. is the originator aware of the -a option to whois, which already queries ARIN? G'luck, Peter -- What would this sentence be like if pi were 3? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Feb 2 9:57:31 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from polaris.tct.net (polaris.tct.net [216.94.230.10]) by hub.freebsd.org (Postfix) with ESMTP id 8F65E37B67D for ; Fri, 2 Feb 2001 09:57:13 -0800 (PST) Received: from [192.168.1.10] (vega.tct.net [216.94.230.13]) by polaris.tct.net (8.9.3/8.9.3) with ESMTP id MAA28467; Fri, 2 Feb 2001 12:58:09 -0500 User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022 Date: Fri, 02 Feb 2001 12:57:09 -0500 Subject: Re: bin/24707: [patch] Whois IP Address Handling From: Mike Barcroft To: Peter Pentchev Cc: , Message-ID: In-Reply-To: <20010202190114.W328@ringworld.oblivion.bg> Mime-version: 1.0 Organization: q9 media Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >>> If a host is not specified and the user enters a query of >>> an IP address, query whois.arin.net instead of returning: >>> whois: 0.whois-servers.net: No Address associated with hostname >> >> What does this do for European addresses? Normally we'd use >> whois.ripe.net for these. Is there anyway that you can modify this >> patch to get these referred? If you can I'll definitely integrate it. > > Hmm I was wondering about the same thing.. this is not just about > American vs. European, either - whois already has cmdline switches > for .mil, US DoD, NetSol, RADB, Russian, Asian and 6bone address > queries; to add the proper auto-recognition would mean differentiation > by address class, first octet, type or whatever. I do not really > think this is feasible. > > Mmm.. is the originator aware of the -a option to whois, which > already queries ARIN? ARIN will either return information about the record or tell you the correct whois server to query. # whois -a 195.92.95.0 European Regional Internet Registry/RIPE NCC (NETBLK-RIPE-C) These addresses have been further assigned to European users. Contact information can be found in the RIPE database, via the WHOIS and TELNET servers at whois.ripe.net, and at http://www.ripe.net/db/whois.html [snip] The question is, which is more correct: to return an error even though we know the user has entered an IP address, or to query a whois server which will return meaningful data. Best regards, Mike Barcroft To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Feb 2 10: 0:24 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D074337B491 for ; Fri, 2 Feb 2001 10:00:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f12I02m77156; Fri, 2 Feb 2001 10:00:02 -0800 (PST) (envelope-from gnats) Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id CD36B37B401 for ; Fri, 2 Feb 2001 09:59:40 -0800 (PST) Received: (qmail 27972 invoked by uid 100); 2 Feb 2001 17:59:40 -0000 Message-Id: <20010202175940.27971.qmail@guru.mired.org> Date: 2 Feb 2001 17:59:40 -0000 From: mwm@mired.org Reply-To: mwm@mired.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: bin/24804: [PATCH] ps_showallprocs isn't documented. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24804 >Category: bin >Synopsis: [PATCH] ps_showallprocs isn't documented. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Fri Feb 02 10:00:02 PST 2001 >Closed-Date: >Last-Modified: >Originator: Mike Meyer >Release: FreeBSD 5.0-CURRENT i386 >Organization: Meyer Consulting >Environment: System: FreeBSD guru.mired.org 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Mon Jan 22 01:30:50 CST 2001 mwm@guru.mired.org:/usr/obj/sharetmp/src/sys/GURU i386 >Description: The question "how do I disable showing other users processes" comes up on -questions fairly often. >How-To-Repeat: Hang out in -questions for a while. >Fix: The following patch adds a reference to the sysctl variable to disable looking at other peoples processes to the ps man page, as well as the appropriate cross-reference. --- ps.1-orig Fri Feb 2 11:57:23 2001 +++ ps.1 Fri Feb 2 11:57:00 2001 @@ -82,6 +82,7 @@ .Bl -tag -width indent .It Fl a Display information about other users' processes as well as your own. +This can be disabled with the ps_showallprocs sysctl. .It Fl c Change the ``command'' column output to just contain the executable name, rather than the full command line. @@ -516,6 +517,7 @@ .Xr strftime 3 , .Xr procfs 5 , .Xr pstat 8 , +.Xr sysctl 8 , .Xr mutex 9 .Sh BUGS Since >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Feb 2 13:40:19 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A600B37B4EC for ; Fri, 2 Feb 2001 13:40:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f12Le1525605; Fri, 2 Feb 2001 13:40:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5126E37B503 for ; Fri, 2 Feb 2001 13:31:38 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f12LVcW11090; Fri, 2 Feb 2001 13:31:38 -0800 (PST) (envelope-from nobody) Message-Id: <200102022131.f12LVcW11090@freefall.freebsd.org> Date: Fri, 2 Feb 2001 13:31:38 -0800 (PST) From: klui@cup.hp.com To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/24806: pcn ethernet driver doesn't work under FreeBSD 4.2-RELEASE Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24806 >Category: kern >Synopsis: pcn ethernet driver doesn't work under FreeBSD 4.2-RELEASE >Confidential: no >Severity: critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Feb 02 13:40:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Ken Lui >Release: 4.2 RELEASE from the BSDi CD-ROM >Organization: >Environment: >Description: The pcn driver recognizes my PCnet/NCR 53c875 combination PCI card but after bootup, I cannot ping machines in my LAN. I can ping to machines on another subnet but ping times are 1000+ msec. pcn0: port 0x7ce0-0x7cff mem 0xfdfff400-0xfdfff41f irq 11 at device 5.0 on pci2 pcn0: Ethernet address: 00:60:b0:f6:31:d7 miibus0: on pcn0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Feb 2 14:30:23 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8060F37B503 for ; Fri, 2 Feb 2001 14:30:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f12MU1k21172; Fri, 2 Feb 2001 14:30:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 71A4037B491 for ; Fri, 2 Feb 2001 14:24:00 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f12MO0910725; Fri, 2 Feb 2001 14:24:00 -0800 (PST) (envelope-from nobody) Message-Id: <200102022224.f12MO0910725@freefall.freebsd.org> Date: Fri, 2 Feb 2001 14:24:00 -0800 (PST) From: doc_zero@hotmail.com To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: bin/24807: scp(1) from OpenSSH package doesn't have a "-L" option Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24807 >Category: bin >Synopsis: scp(1) from OpenSSH package doesn't have a "-L" option >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: wish >Submitter-Id: current-users >Arrival-Date: Fri Feb 02 14:30:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Alex Rebrik >Release: 4.2-STABLE >Organization: N/A >Environment: FreeBSD possessed 4.2-STABLE FreeBSD 4.2-STABLE #0: Thu Jan 11 09:54:23 PST 2001 root@possessed:/usr/src/sys/compile/POSSESSED i386 >Description: The -L option available in SSH package from /usr/ports/security/ssh allows to pass a -P option to ssh when using scp command. This is helpful when doing a secure copy from a network where a firewall doesn't permit outgoing connections on privileged ports. In ssh itself this option is supported as -P and the manpage reads: -P Use a non-privileged port for outgoing connections. This can be used if your firewall does not permit connections from privileged ports. Note that this option turns off RhostsAuthentication and RhostsRSAAuthentication. I have included a patch to /usr/src/crypto/openssh/scp.c dated Fri Feb 2. Sincerely, Alex. >How-To-Repeat: >Fix: *** scp.c.orig Fri Feb 2 11:42:42 2001 --- scp.c Fri Feb 2 13:52:24 2001 *************** *** 245,253 **** addargs("-oFallBackToRsh no"); fflag = tflag = 0; ! while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:q46S:o:")) != EOF) switch (ch) { /* User-visible flags. */ case '4': case '6': case 'C': --- 245,255 ---- addargs("-oFallBackToRsh no"); fflag = tflag = 0; ! while ((ch = getopt(argc, argv, "dfprtvBCLc:i:P:q46S:o:")) != EOF) switch (ch) { /* User-visible flags. */ + case 'L': + addargs("-P"); case '4': case '6': case 'C': *************** *** 943,949 **** usage() { (void) fprintf(stderr, "usage: scp " ! "[-pqrvC46] [-S ssh] [-P port] [-c cipher] [-i identity] f1 f2; or: \n" " scp [options] f1 ... fn directory\n"); exit(1); } --- 945,951 ---- usage() { (void) fprintf(stderr, "usage: scp " ! "[-pqrvLC46] [-S ssh] [-P port] [-c cipher] [-i identity] f1 f2; or :\n" " scp [options] f1 ... fn directory\n"); exit(1); } >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Feb 2 14:50:21 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id BCCFE37B401 for ; Fri, 2 Feb 2001 14:50:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f12Mo3r30716; Fri, 2 Feb 2001 14:50:03 -0800 (PST) (envelope-from gnats) Date: Fri, 2 Feb 2001 14:50:03 -0800 (PST) Message-Id: <200102022250.f12Mo3r30716@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Peter Pentchev Subject: Re: bin/24807: scp(1) from OpenSSH package doesn't have a "-L" option Reply-To: Peter Pentchev Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/24807; it has been noted by GNATS. From: Peter Pentchev To: doc_zero@hotmail.com Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: bin/24807: scp(1) from OpenSSH package doesn't have a "-L" option Date: Sat, 3 Feb 2001 00:42:02 +0200 On Fri, Feb 02, 2001 at 02:24:00PM -0800, doc_zero@hotmail.com wrote: > > >Number: 24807 > >Synopsis: scp(1) from OpenSSH package doesn't have a "-L" option > >Responsible: freebsd-bugs > >Class: wish > >Originator: Alex Rebrik > >Release: 4.2-STABLE > >Organization: > N/A > >Environment: > FreeBSD possessed 4.2-STABLE FreeBSD 4.2-STABLE #0: Thu Jan 11 09:54:23 PST 2001 root@possessed:/usr/src/sys/compile/POSSESSED i386 > > >Description: > The -L option available in SSH package from /usr/ports/security/ssh allows > to pass a -P option to ssh when using scp command. This is helpful when doing > a secure copy from a network where a firewall doesn't permit outgoing connections > on privileged ports. In ssh itself this option is supported as -P and the manpage > reads: > > -P Use a non-privileged port for outgoing connections. This can be > used if your firewall does not permit connections from privileged > ports. Note that this option turns off RhostsAuthentication and > RhostsRSAAuthentication. > > I have included a patch to /usr/src/crypto/openssh/scp.c dated Fri Feb 2. > > Sincerely, > Alex. I don't think that this is a problem with FreeBSD's SSH per se. This is an issue you want to take up with the OpenSSH developers at www.OpenSSH.com (try sending mail to openssh@OpenSSH.com). However, they'll probably reply that scp can do this, albeit in a little bit more roundabout way: scp -o'PrivilegedPort no' ..does the trick for me. Anyway, I don't think that our OpenSSH maintainer would be too happy with making almost-gratuitious changes to software that is developed outside of the FreeBSD source tree. Try talking to the folks at OpenSSH.com and tell us what they think about it. G'luck, Peter -- What would this sentence be like if pi were 3? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Feb 2 14:51:24 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 52DD837B401; Fri, 2 Feb 2001 14:51:08 -0800 (PST) Received: (from roam@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f12Mp8p30967; Fri, 2 Feb 2001 14:51:08 -0800 (PST) (envelope-from roam) Date: Fri, 2 Feb 2001 14:51:08 -0800 (PST) From: Message-Id: <200102022251.f12Mp8p30967@freefall.freebsd.org> To: doc_zero@hotmail.com, roam@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/24807: scp(1) from OpenSSH package doesn't have a "-L" option Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: scp(1) from OpenSSH package doesn't have a "-L" option State-Changed-From-To: open->feedback State-Changed-By: roam State-Changed-When: Fri Feb 2 14:50:47 PST 2001 State-Changed-Why: Originator advised to talk to OpenSSH developers. http://www.freebsd.org/cgi/query-pr.cgi?pr=24807 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Feb 2 15:40:20 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id F206F37B491 for ; Fri, 2 Feb 2001 15:40:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f12Ne2u50310; Fri, 2 Feb 2001 15:40:02 -0800 (PST) (envelope-from gnats) Date: Fri, 2 Feb 2001 15:40:02 -0800 (PST) Message-Id: <200102022340.f12Ne2u50310@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Ken Lui Subject: Re: kern/24806: pcn ethernet driver doesn't work under FreeBSD 4.2-RELEASE Reply-To: Ken Lui Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/24806; it has been noted by GNATS. From: Ken Lui To: freebsd-gnats-submit@FreeBSD.org Cc: Subject: Re: kern/24806: pcn ethernet driver doesn't work under FreeBSD 4.2-RELEASE Date: Fri, 02 Feb 2001 15:30:50 -0800 I was doing some configuration and searching and it turned out that if I issue the configuration in rc.local with "media 10baseT/UTP mediaopt full-duplex" I'm able to access my network. Please close this PR. Ken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Feb 2 15:40:24 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8959737B4EC for ; Fri, 2 Feb 2001 15:40:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f12Ne1b50303; Fri, 2 Feb 2001 15:40:01 -0800 (PST) (envelope-from gnats) Received: from yeti.ismedia.pl (yeti.ismedia.pl [212.182.96.18]) by hub.freebsd.org (Postfix) with SMTP id 0972637B491 for ; Fri, 2 Feb 2001 15:30:39 -0800 (PST) Received: (qmail 49219 invoked from network); 2 Feb 2001 23:32:34 -0000 Received: from unknown (HELO lagoon.freebsd.lublin.pl) (212.182.115.11) by 0 with SMTP; 2 Feb 2001 23:32:34 -0000 Received: (qmail 70070 invoked from network); 2 Feb 2001 23:28:35 -0000 Received: from unknown (HELO riget.scene.pl) () by 0 with SMTP; 2 Feb 2001 23:28:35 -0000 Received: (qmail 70066 invoked by uid 1001); 2 Feb 2001 23:28:35 -0000 Message-Id: <20010202232835.70065.qmail@riget.scene.pl> Date: 2 Feb 2001 23:28:35 -0000 From: venglin@freebsd.lublin.pl Reply-To: venglin@freebsd.lublin.pl To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/24810: kerberosIV and heimdal ftpd is vulnerable to buffer overflow Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24810 >Category: bin >Synopsis: kerberosIV and heimdal ftpd is vulnerable to buffer overflow >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Feb 02 15:40:00 PST 2001 >Closed-Date: >Last-Modified: >Originator: Przemyslaw Frasunek >Release: FreeBSD 4.2-STABLE i386 >Organization: ISMEDIA >Environment: FreeBSD 4.2-STABLE as of 3 Feb 2001. >Description: KTH Kerberos5 and KerberosIV ftpd is vulnerable to strtok() based stack overflow. >How-To-Repeat: N/A >Fix: --- crypto/heimdal/appl/ftp/ftpd/popen.c.orig Sat Feb 3 00:20:07 2001 +++ crypto/heimdal/appl/ftp/ftpd/popen.c Sat Feb 3 00:23:10 2001 @@ -66,6 +66,9 @@ #include +#define MAXUSRARGS 100 +#define MAXGLOBARGS 1000 + /* * Special version of popen which avoids call to shell. This ensures * no one may create a pipe to a hidden program as a side effect of a @@ -103,7 +106,7 @@ char *cp; FILE *iop; int argc, gargc, pdes[2], pid; - char **pop, *argv[100], *gargv[1000]; + char **pop, *argv[MAXUSRARGS], *gargv[MAXGLOBARGS]; char *foo; if (strcmp(type, "r") && strcmp(type, "w")) @@ -126,14 +129,14 @@ /* break up string into pieces */ foo = NULL; - for (argc = 0, cp = program;; cp = NULL) { + for (argc = 0, cp = program; argc < MAXUSRARGS; cp = NULL) { if (!(argv[argc++] = strtok_r(cp, " \t\n", &foo))) break; } gargv[0] = (char*)ftp_rooted(argv[0]); /* glob each piece */ - for (gargc = argc = 1; argv[argc]; argc++) { + for (gargc = argc = 1; argv[argc] && gargc < (MAXGLOBARGS-1); argc++) { glob_t gl; int flags = GLOB_BRACE|GLOB_NOCHECK|GLOB_QUOTE|GLOB_TILDE; @@ -141,7 +144,7 @@ if (no_glob || glob(argv[argc], flags, NULL, &gl)) gargv[gargc++] = strdup(argv[argc]); else - for (pop = gl.gl_pathv; *pop; pop++) + for (pop = gl.gl_pathv; *pop && gargc < (MAXGLOBARGS-1); pop++) gargv[gargc++] = strdup(*pop); globfree(&gl); } --- crypto/kerberosIV/appl/ftp/ftpd/popen.c.orig Sat Feb 3 00:26:04 2001 +++ crypto/kerberosIV/appl/ftp/ftpd/popen.c Sat Feb 3 00:24:25 2001 @@ -66,6 +66,9 @@ #include +#define MAXUSRARGS 100 +#define MAXGLOBARGS 1000 + /* * Special version of popen which avoids call to shell. This ensures * no one may create a pipe to a hidden program as a side effect of a @@ -103,7 +106,7 @@ char *cp; FILE *iop; int argc, gargc, pdes[2], pid; - char **pop, *argv[100], *gargv[1000]; + char **pop, *argv[MAXUSRARGS], *gargv[MAXGLOBARGS]; char *foo; if (strcmp(type, "r") && strcmp(type, "w")) @@ -126,14 +129,14 @@ /* break up string into pieces */ foo = NULL; - for (argc = 0, cp = program;; cp = NULL) { + for (argc = 0, cp = program; argc < MAXUSRARGS; cp = NULL) { if (!(argv[argc++] = strtok_r(cp, " \t\n", &foo))) break; } gargv[0] = (char*)ftp_rooted(argv[0]); /* glob each piece */ - for (gargc = argc = 1; argv[argc]; argc++) { + for (gargc = argc = 1; argv[argc] && gargc < (MAXGLOBARGS-1); argc++) { glob_t gl; int flags = GLOB_BRACE|GLOB_NOCHECK|GLOB_QUOTE|GLOB_TILDE; @@ -141,7 +144,7 @@ if (no_glob || glob(argv[argc], flags, NULL, &gl)) gargv[gargc++] = strdup(argv[argc]); else - for (pop = gl.gl_pathv; *pop; pop++) + for (pop = gl.gl_pathv; *pop && gargc < (MAXGLOBARGS-1); pop++) gargv[gargc++] = strdup(*pop); globfree(&gl); } >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Feb 2 15:48: 5 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1BFCF37B503; Fri, 2 Feb 2001 15:47:48 -0800 (PST) Received: (from roam@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f12Nlm950936; Fri, 2 Feb 2001 15:47:48 -0800 (PST) (envelope-from roam) Date: Fri, 2 Feb 2001 15:47:48 -0800 (PST) From: Message-Id: <200102022347.f12Nlm950936@freefall.freebsd.org> To: klui@cup.hp.com, roam@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/24806: pcn ethernet driver doesn't work under FreeBSD 4.2-RELEASE Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: pcn ethernet driver doesn't work under FreeBSD 4.2-RELEASE State-Changed-From-To: open->closed State-Changed-By: roam State-Changed-When: Fri Feb 2 15:47:32 PST 2001 State-Changed-Why: Closed at originator's request, pilot error. http://www.freebsd.org/cgi/query-pr.cgi?pr=24806 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Feb 2 15:50:19 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 90FA837B65D for ; Fri, 2 Feb 2001 15:50:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f12No1x51071; Fri, 2 Feb 2001 15:50:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5A3BA37B491 for ; Fri, 2 Feb 2001 15:44:51 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f12NipI50670; Fri, 2 Feb 2001 15:44:51 -0800 (PST) (envelope-from nobody) Message-Id: <200102022344.f12NipI50670@freefall.freebsd.org> Date: Fri, 2 Feb 2001 15:44:51 -0800 (PST) From: klui@cup.hp.com To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/24811: Networking in FreeBSD 4.2-RELEASE doesn't allow full-duplex<->half-duplex communication Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24811 >Category: kern >Synopsis: Networking in FreeBSD 4.2-RELEASE doesn't allow full-duplex<->half-duplex communication >Confidential: no >Severity: critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Feb 02 15:50:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Ken Lui >Release: 4.2 from the BSDi CD-ROMs >Organization: >Environment: >Description: I have a FreeBSD 4.2 installation at work over 10baseT at full duplex communicating with a FreeBSD 4.2 installation at home over 10baseT at half duplex. The office box is connected to a switch. The remote is connected to a hub via SDSL. If I copy files from the 4.2 box at work to the 4.2 box at home, I will inevitably get network stalls. Searching dejanews reveals that this may be caused by the interaction between a machine that is connected at full duplex versus one that is connected at half duplex. The work machine has used the following ethernet cards with the same results: PCNet-FAST/NCR 53c875 combination card (pcn driver) and 3Com 3c905B XL (xl driver). Netmask for the machine at work is 255.255.248.0, netmask for the box at home is 255.255.252.0. When the work box is running FreeBSD 3.2-RELEASE, using the lnc driver, things work fine. If I use my HP 715 workstation running HPUX 10.20 within the same subnet as my work FreeBSD box, I can also transfer files to my 4.2 box at home without any stalls. The box at home is using an Intel PRO/100B Management ethernet card via the fxp driver. >How-To-Repeat: Use FreeBSD 4.2 and transfer a series of files (around 20, each over 200K in size) between two boxes where one box is connected to a switch while the other is behind a hub. Refer to full description for more information. >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Feb 2 16:20:20 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 6C55737B491 for ; Fri, 2 Feb 2001 16:20:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f130K2S55585; Fri, 2 Feb 2001 16:20:02 -0800 (PST) (envelope-from gnats) Date: Fri, 2 Feb 2001 16:20:02 -0800 (PST) Message-Id: <200102030020.f130K2S55585@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Bill Fumerola Subject: Re: kern/24811: Networking in FreeBSD 4.2-RELEASE doesn't allow full-duplex<->half-duplex communication Reply-To: Bill Fumerola Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/24811; it has been noted by GNATS. From: Bill Fumerola To: klui@cup.hp.com Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: kern/24811: Networking in FreeBSD 4.2-RELEASE doesn't allow full-duplex<->half-duplex communication Date: Fri, 2 Feb 2001 18:12:27 -0600 On Fri, Feb 02, 2001 at 03:44:51PM -0800, klui@cup.hp.com wrote: > >Description: > I have a FreeBSD 4.2 installation at work over 10baseT at full duplex > communicating with a FreeBSD 4.2 installation at home over 10baseT at > half duplex. The office box is connected to a switch. The remote is > connected to a hub via SDSL. If I copy files from the 4.2 box at work > to the 4.2 box at home, I will inevitably get network stalls. Searching > dejanews reveals that this may be caused by the interaction between a > machine that is connected at full duplex versus one that is connected at > half duplex. The work machine has used the following ethernet cards with > the same results: PCNet-FAST/NCR 53c875 combination card (pcn driver) > and 3Com 3c905B XL (xl driver). This is the fault of your hub. It is the responsibility of the hub to translate those, its possible that your hub just simply has two busses (one half-duplex, one full-duplex) or something like that. -- Bill Fumerola - security yahoo / Yahoo! inc. - fumerola@yahoo-inc.com / billf@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Feb 2 16:30:21 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9000337B503 for ; Fri, 2 Feb 2001 16:30:04 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f130U4i56223; Fri, 2 Feb 2001 16:30:04 -0800 (PST) (envelope-from gnats) Date: Fri, 2 Feb 2001 16:30:04 -0800 (PST) Message-Id: <200102030030.f130U4i56223@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Ken Lui Subject: Re: kern/24811: Networking in FreeBSD 4.2-RELEASE doesn't allow full-duplex<->half-duplex communication Reply-To: Ken Lui Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/24811; it has been noted by GNATS. From: Ken Lui To: Bill Fumerola Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: kern/24811: Networking in FreeBSD 4.2-RELEASE doesn't allow full-duplex<->half-duplex communication Date: Fri, 2 Feb 2001 16:24:27 -0800 (PST) On Fri, 2 Feb 2001, Bill Fumerola wrote: > > >Description: > > I have a FreeBSD 4.2 installation at work over 10baseT at full duplex > > communicating with a FreeBSD 4.2 installation at home over 10baseT at > > half duplex. The office box is connected to a switch. The remote is > > connected to a hub via SDSL. If I copy files from the 4.2 box at work > > to the 4.2 box at home, I will inevitably get network stalls. Searching > > dejanews reveals that this may be caused by the interaction between a > > machine that is connected at full duplex versus one that is connected at > > half duplex. The work machine has used the following ethernet cards with > > the same results: PCNet-FAST/NCR 53c875 combination card (pcn driver) > > and 3Com 3c905B XL (xl driver). > > This is the fault of your hub. It is the responsibility of the hub to > translate those, its possible that your hub just simply has two busses > (one half-duplex, one full-duplex) or something like that. Since it works with another operating system and a prior version of FreeBSD, I find it difficult to believe my hub is the problem. Could you tell me how I can determine my hub is at fault? My hub is old and has a 10base2 connector, which I'm using for other boxes. But my FreeBSD 4.2 box is using 10baseT/UTP. I have never experienced these types of stalls until I began using FreeBSD 4.2. Ken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Feb 2 16:40:18 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 6B3E537B4EC for ; Fri, 2 Feb 2001 16:40:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f130e2Y56929; Fri, 2 Feb 2001 16:40:02 -0800 (PST) (envelope-from gnats) Date: Fri, 2 Feb 2001 16:40:02 -0800 (PST) Message-Id: <200102030040.f130e2Y56929@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Ken Lui Subject: Re: kern/24811: Networking in FreeBSD 4.2-RELEASE doesn't allow full-duplex<->half-duplex communication Reply-To: Ken Lui Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/24811; it has been noted by GNATS. From: Ken Lui To: Bill Fumerola Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: kern/24811: Networking in FreeBSD 4.2-RELEASE doesn't allow full-duplex<->half-duplex communication Date: Fri, 2 Feb 2001 16:30:35 -0800 (PST) Another thing I want to add, if I push files from my machines at work to my 4.2 box at home, I lose around half my bandwidth than if I push files from my 4.2 box at home to my machines at work. Is this more indicative of a network/hardware problem outside the scope of my machines? My SDSL connection's bandwidth should be symmetric. Ken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Feb 2 17: 7: 9 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E0C1A37B401; Fri, 2 Feb 2001 17:06:51 -0800 (PST) Received: (from brian@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f1316pB61196; Fri, 2 Feb 2001 17:06:51 -0800 (PST) (envelope-from brian) Date: Fri, 2 Feb 2001 17:06:51 -0800 (PST) From: Message-Id: <200102030106.f1316pB61196@freefall.freebsd.org> To: pdp@nl.demon.net, brian@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: conf/22150: /etc/periodic/daily/450.status-security ignores mail recipient config Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: /etc/periodic/daily/450.status-security ignores mail recipient config State-Changed-From-To: open->closed State-Changed-By: brian State-Changed-When: Fri Feb 2 17:04:30 PST 2001 State-Changed-Why: There's now a $daily_status_security_output periodic.conf variable. The change will be brought into -current in about 10 days. http://www.freebsd.org/cgi/query-pr.cgi?pr=22150 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Fri Feb 2 17:29:45 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 6F90437B491; Fri, 2 Feb 2001 17:29:28 -0800 (PST) Received: (from brian@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f131TSV63032; Fri, 2 Feb 2001 17:29:28 -0800 (PST) (envelope-from brian) Date: Fri, 2 Feb 2001 17:29:28 -0800 (PST) From: Message-Id: <200102030129.f131TSV63032@freefall.freebsd.org> To: phk@critter.freebsd.dk, brian@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/23415: /etc/security fails to show all relevant messages. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: /etc/security fails to show all relevant messages. State-Changed-From-To: open->closed State-Changed-By: brian State-Changed-When: Fri Feb 2 17:28:57 PST 2001 State-Changed-Why: -current has been fixed. I'll mfc in 2 weeks if things are ok http://www.freebsd.org/cgi/query-pr.cgi?pr=23415 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Feb 3 8:10:25 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 14F6237B4EC for ; Sat, 3 Feb 2001 08:10:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f13GA1b65173; Sat, 3 Feb 2001 08:10:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1856237B699 for ; Sat, 3 Feb 2001 08:04:11 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f13G4BM58256; Sat, 3 Feb 2001 08:04:11 -0800 (PST) (envelope-from nobody) Message-Id: <200102031604.f13G4BM58256@freefall.freebsd.org> Date: Sat, 3 Feb 2001 08:04:11 -0800 (PST) From: jwlundy@yahoo.com To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/24827: Erratic Intellimouse Explorer in 4.1 and 4.2 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24827 >Category: kern >Synopsis: Erratic Intellimouse Explorer in 4.1 and 4.2 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Feb 03 08:10:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Jerry Lundy >Release: 4.2-RELEASE >Organization: >Environment: FreeBSD changeme 4.0-RELEASE FreeBSD 4.0-RELEASE #0: Sun Jun 4 15:56:03 CDT 2000 root@:/usr/src/sys/compile/DUALPII i386 >Description: Under FreeBSD 4.0-Release, Intellimouse Explorer is identified as an Intellimouse and functions as a PS/2 mouse. Output of boot: -v for the 4.0-RELEASE installation is: atkbdc0: at port 0x60-0x6f on isa0 atkbd0: irq 1 on atkbdc0 atkbd: the current kbd controller command byte 0065 atkbd: keyboard ID 0x41ab (2) kbdc: RESET_KBD return code:00fa kbdc: RESET_KBD status:00aa kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000 psm0: current command byte:0065 kbdc: TEST_AUX_PORT status:0000 kbdc: RESET_AUX return code:00fa kbdc: RESET_AUX status:00aa kbdc: RESET_AUX ID:0000 psm: status 00 02 64 psm: status 00 00 64 psm: status 00 03 64 psm: status 00 03 64 psm: status 00 00 64 psm: data ffffffff 00 64 psm: data ffffffff 02 64 psm0: failed to get data. psm: status 00 02 64 psm0: irq 12 on atkbdc0 psm0: model IntelliMouse, device ID 3-00, 3 buttons psm0: config:00000000, flags:00000000, packet size:4 psm0: syncmask:00, syncbits:00 With a fresh installation of FreeBSD 4.2-RELEASE on the same hardware, the mouse cursor jumps around the screen erratically and the buttons appear to activate randomly. Output of the boot: -v for the 4.2-Release: atkbdc0: at port 0x60,0x64 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 atkbd: the current kbd controller command byte 0065 atkbd: keyboard ID 0x41ab (2) kbdc: RESET_KBD return code:00fa kbdc: RESET_KBD status:00aa kbd0 at atkbd0 kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000 psm0: current command byte:0065 kbdc: TEST_AUX_PORT status:0000 kbdc: RESET_AUX return code:00fa kbdc: RESET_AUX status:00aa kbdc: RESET_AUX ID:0000 psm: status 00 02 64 psm: status 00 00 64 psm: status 00 03 64 psm: status 00 03 64 psm: data ffffffff 03 64 psm: data ffffffff 02 64 psm0: failed to get data. psm: status 00 02 64 psm0: irq 12 on atkbdc0 psm0: model IntelliMouse Explorer, device ID 4-00, 5 buttons psm0: config:00000000, flags:00000000, packet size:4 psm0: syncmask:00, syncbits:00 >How-To-Repeat: Install 4.2-RELEASE >Fix: Unknown - tried unsuccessfully to revert to psm.c from 4.0-RELEASE >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Feb 3 9:10:22 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B5E5B37B4EC for ; Sat, 3 Feb 2001 09:10:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f13HA2W72047; Sat, 3 Feb 2001 09:10:02 -0800 (PST) (envelope-from gnats) Received: from beavis.fep.ru (unknown [212.42.59.229]) by hub.freebsd.org (Postfix) with ESMTP id ED3B637B491 for ; Sat, 3 Feb 2001 09:00:46 -0800 (PST) Received: (from sgt@localhost) by beavis.fep.ru (8.11.2/8.11.2) id f13H3KS00426; Sat, 3 Feb 2001 20:03:20 +0300 (MSK) (envelope-from sgt) Message-Id: <200102031703.f13H3KS00426@beavis.fep.ru> Date: Sat, 3 Feb 2001 20:03:20 +0300 (MSK) From: sgt@fep.ru Reply-To: sgt@fep.ru To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/24829: ufs incompatibility (4.1.1-STABLE -> 4.2-STABLE) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24829 >Category: kern >Synopsis: ufs incompatibility (4.1.1-STABLE -> 4.2-STABLE) >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Feb 03 09:10:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Sergei Barbarash >Release: FreeBSD 4.2-STABLE i386 >Organization: >Environment: The system was installed as a 3.2-RELEASE and was periodically synced with STABLE. The filesystems were formatted originally using bad144, then with the switch to 4-STABLE bad144 flag was removed with disklabel -e -r. >Description: After latest 4.2-STABLE upgrade, new kernel panics with: /: bad dir ino 2 at offset 0: mangled entry panic: ufs_dirbad: baddir This occured only on 4.2-STABLE. With 4.1.1-STABLE everything was fine. >How-To-Repeat: Use an once-bad144'd filesystem with 4.2-STABLE >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Feb 3 9:10:25 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 233D037B503 for ; Sat, 3 Feb 2001 09:10:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f13HA1f72037; Sat, 3 Feb 2001 09:10:01 -0800 (PST) (envelope-from gnats) Received: from mail.gmx.net (pop.gmx.net [194.221.183.20]) by hub.freebsd.org (Postfix) with SMTP id 2892A37B401 for ; Sat, 3 Feb 2001 09:00:06 -0800 (PST) Received: (qmail 4900 invoked by uid 0); 3 Feb 2001 17:00:04 -0000 Received: from pd9508808.dip.t-dialin.net (HELO speedy.gsinet) (217.80.136.8) by mail.gmx.net (mp010-rz3) with SMTP; 3 Feb 2001 17:00:04 -0000 Received: (from sittig@localhost) by speedy.gsinet (8.8.8/8.8.8) id RAA21882 for FreeBSD-gnats-submit@freebsd.org; Sat, 3 Feb 2001 17:49:38 +0100 Message-Id: <20010203174937.N253@speedy.gsinet> Date: Sat, 3 Feb 2001 17:49:38 +0100 From: Gerhard Sittig To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/24828: [PATCH] ntpd compilation and additional refclocks Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24828 >Category: bin >Synopsis: [PATCH] ntpd compilation and additional refclocks >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Feb 03 09:10:00 PST 2001 >Closed-Date: >Last-Modified: >Originator: Gerhard Sittig >Release: FreeBSD 4.2-STABLE i386 >Organization: System Defenestrators Inc. >Environment: ntp using refclock #35 ("Conrad parallel port radio clock") as a source of information >Description: ntpd lives in src/contrib/ntp and is shadowed(id? term?) in src/usr.sbin/ntp, while the latter tree comes with a preset config.h file and its own Makefiles. The config.h file has almost no drivers activated and the Makefile tries to enumerate the sourcefiles itself which live in the contrib tree. The cut down driver list is done by will. But in my try to extend the list of drivers I ended up with build errors. This is where I stumbled across the second aspect: The src/usr.sbin/ntp/ntpd/Makefile tries to duplicate the contrib filelist and maybe should do some 'ls' in this directory instead of enumerating all the files itself. Since I just wanted to get the parport device to run I didn't check for the other drivers. >How-To-Repeat: Use some "server 127.127.35.0" line in /etc/ntp.conf and have your ntpd complain about failed initialization due to unsupported refclock devices. refclock_newpeer: clock type 35 invalid configuration of 127.127.35.0 failed Apply this patch and run "make all" in src/usr.sbin/ntp and see ld(1) barf. The problem is that there's no refclock_pcf.o object file since the source file is missing in SRCS. Index: config.h =================================================================== RCS file: /CVSREPO/fbsd/src/usr.sbin/ntp/config.h,v retrieving revision 1.4 diff -u -r1.4 config.h --- config.h 2000/03/12 13:25:14 1.4 +++ config.h 2001/02/03 17:03:44 @@ -173,7 +173,7 @@ #define CLOCK_PARSE 1 /* Conrad parallel port radio clock */ -/* #undef CLOCK_PCF */ +#define CLOCK_PCF 1 /* PCL 720 clock support */ /* #undef CLOCK_PPS720 */ This will result in the following error message: [ ... lengthy link command snipped ... ] refclock_conf.o(.data+0xa8): undefined reference to `refclock_pcf' *** Error code 1 A more verbose description can be found in message <20010203140459.L253@speedy.gsinet> I sent earlier today to freebsd-questions. >Fix: For the situation I found myself in the following patch resolved the problem. But as sketched above it might be useful to derive the SRCS list from an ls(1) run in the contrib dir. Index: ntpd/Makefile =================================================================== RCS file: /CVSREPO/fbsd/src/usr.sbin/ntp/ntpd/Makefile,v retrieving revision 1.3 diff -u -r1.3 Makefile --- ntpd/Makefile 2000/01/01 23:57:59 1.3 +++ ntpd/Makefile 2001/02/03 17:03:44 @@ -19,7 +19,8 @@ refclock_hpgps.c refclock_irig.c refclock_jupiter.c \ refclock_leitch.c refclock_local.c refclock_msfees.c \ refclock_mx4200.c refclock_nmea.c refclock_oncore.c \ - refclock_palisade.c refclock_parse.c refclock_pst.c \ + refclock_palisade.c refclock_parse.c \ + refclock_pcf.c refclock_pst.c \ refclock_ptbacts.c refclock_shm.c refclock_tpro.c \ refclock_trak.c refclock_true.c refclock_usno.c \ refclock_wwvb.c version.c virtually yours 82D1 9B9C 01DC 4FB4 D7B4 61BE 3F49 4F77 72DE DA76 Gerhard Sittig true | mail -s "get gpg key" Gerhard.Sittig@gmx.net -- If you don't understand or are scared by any of the above ask your parents or an adult to help you. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Feb 3 12:30:22 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B92C437B503 for ; Sat, 3 Feb 2001 12:30:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f13KU1992996; Sat, 3 Feb 2001 12:30:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B059937B65D for ; Sat, 3 Feb 2001 12:22:27 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f13KMRV92370; Sat, 3 Feb 2001 12:22:27 -0800 (PST) (envelope-from nobody) Message-Id: <200102032022.f13KMRV92370@freefall.freebsd.org> Date: Sat, 3 Feb 2001 12:22:27 -0800 (PST) From: bc@sonnet.com To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/24831: panic in net code in many places Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24831 >Category: kern >Synopsis: panic in net code in many places >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Feb 03 12:30:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Brian Curnow >Release: 4.2-STABLE >Organization: >Environment: FreeBSD hp 4.2-STABLE FreeBSD 4.2-STABLE #4: Fri Feb 2 10:02:53 PST 2001 root@hp:/usr/src/sys/compile/MYKERNEL i386 >Description: Using ipfw features such as divert, natd, and fwd with squid. Applied fix from bug 23187, which took care of that problem. However, these panics remain. Two are given below. netstat -m seems to always show about 25% use peak/max. Hardware problems are virtually 100% ruled out, as I have changed every component of this machine except drive cables, power supply and drives. IdlePTD 4308992 initial pcb at 343b20 panicstr: page fault panic messages: --- Fatal trap 12: page fault while in kernel mode fault virtual address = 0xdbc0e60c fault code = supervisor read, page not present instruction pointer = 0x8:0xc0187a98 stack pointer = 0x10:0xcbe72e00 frame pointer = 0x10:0xcbe72e14 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 291 (squid) interrupt mask = trap number = 12 panic: page fault syncing disks... 104 1 done Uptime: 12h35m16s dumping to dev #ad/0x30002, offset 153250 dump ata0: resetting devices .. done 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 175 174 173 172 171 170 169 168 167 166 165 164 163 162 161 160 159 158 157 156 155 154 153 152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 --- #0 0xc0168732 in dumpsys () #1 0xc0168553 in boot () #2 0xc01688d0 in poweroff_wait () #3 0xc029a261 in trap_fatal () #4 0xc0299f39 in trap_pfault () #5 0xc0299b1f in trap () #6 0xc0187a98 in sbdrop () #7 0xc0187920 in sbflush () #8 0xc01873e9 in sbrelease () #9 0xc018494f in sofree () #10 0xc0184a86 in soclose () #11 0xc0179af6 in soo_close () #12 0xc015e961 in fdrop () #13 0xc015e8a7 in closef () #14 0xc015de59 in close () #15 0xc029a50d in syscall2 () #16 0xc028cc75 in Xint0x80_syscall () #17 0x8060790 in ?? () #18 0x8064fbb in ?? () #19 0x808742e in ?? () #20 0x804a325 in ?? () ======== IdlePTD 4308992 initial pcb at 343b20 panicstr: page fault panic messages: --- Fatal trap 12: page fault while in kernel mode fault virtual address = 0xe0c05f00 fault code = supervisor read, page not present instruction pointer = 0x8:0xc0182cb4 stack pointer = 0x10:0xcbe72ccc frame pointer = 0x10:0xcbe72cd8 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 301 (squid) interrupt mask = net tty trap number = 12 panic: page fault syncing disks... Fatal trap 12: page fault while in kernel mode fault virtual address = 0xe0c05f00 fault code = supervisor read, page not present instruction pointer = 0x8:0xc02de91d stack pointer = 0x10:0xcbe7288c frame pointer = 0x10:0xcbe728c4 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 301 (squid) interrupt mask = net tty trap number = 12 panic: page fault Uptime: 10h14m11s dumping to dev #ad/0x30002, offset 153250 dump ata0: resetting devices .. done 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 175 174 173 172 171 170 169 168 167 166 165 164 163 162 161 160 159 158 157 156 155 154 153 152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 --- #0 0xc0168732 in dumpsys () #1 0xc0168553 in boot () #2 0xc01688d0 in poweroff_wait () #3 0xc029a261 in trap_fatal () #4 0xc0299f39 in trap_pfault () #5 0xc0299b1f in trap () #6 0xc02de91d in load_mbuf () #7 0xc02b79f1 in l2_rxDSCC () #8 0xc02b198c in lb_receive () #9 0xc02b7cc8 in dscc_rxint () #10 0xc02b7e4c in l2_sccint () #11 0xc02b8109 in l2_dsccint () #12 0xc02b5980 in l2_int () #13 0xc02d00e4 in ethintr_pci () #14 0xc028e162 in vec5 () #15 0xc02454c1 in drain_output () #16 0xc02442e2 in softdep_fsync_mountdev () #17 0xc02482da in ffs_fsync () #18 0xc0246fe2 in ffs_sync () #19 0xc01960a3 in sync () #20 0xc0168326 in boot () #21 0xc01688d0 in poweroff_wait () #22 0xc029a261 in trap_fatal () #23 0xc0299f39 in trap_pfault () #24 0xc0299b1f in trap () #25 0xc0182cb4 in m_prepend () #26 0xc02dfeb4 in fr_bsdoutput () #27 0xc02e362e in etp_subifoutput () #28 0xc01bf2c7 in ip_output () #29 0xc01be824 in ip_forward () #30 0xc01bd8be in ip_input () #31 0xc01bdc2b in ipintr () #32 0xc028e0d5 in swi_net_next () #33 0x809a729 in ?? () #34 0x80779dd in ?? () #35 0x807824c in ?? () #36 0x8078866 in ?? () #37 0x8064fbb in ?? () #38 0x808742e in ?? () #39 0x804a325 in ?? () >How-To-Repeat: unknown. simply happens. >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Feb 3 12:40:22 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 0E6DF37B65D for ; Sat, 3 Feb 2001 12:40:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f13Ke3g93753; Sat, 3 Feb 2001 12:40:03 -0800 (PST) (envelope-from gnats) Received: from linux.intcon.net (linux.intcon.net [206.230.48.2]) by hub.freebsd.org (Postfix) with ESMTP id 8F95737B503 for ; Sat, 3 Feb 2001 12:37:41 -0800 (PST) Received: from portal.megahack.com (portal.megahack.com [206.230.54.106]) by linux.intcon.net (8.11.0/8.11.0) with ESMTP id f13KbdZ10064 for ; Sat, 3 Feb 2001 14:37:39 -0600 Received: (from steve@localhost) by portal.megahack.com (8.11.2/8.11.2) id f13KbbK02047; Sat, 3 Feb 2001 14:37:37 -0600 (CST) (envelope-from steve) Message-Id: <200102032037.f13KbbK02047@portal.megahack.com> Date: Sat, 3 Feb 2001 14:37:37 -0600 (CST) From: steve@megahack.com Reply-To: steve@megahack.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: misc/24833: ipfw check-state broken Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24833 >Category: misc >Synopsis: after cvsup + rebuild, ipfw "check-state" does not work >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Feb 03 12:40:02 PST 2001 >Closed-Date: >Last-Modified: >Originator: Steven Farmer >Release: FreeBSD 4.2-STABLE i386 >Organization: you kidding? >Environment: >Description: After cvsup, make buildworld/buildkernel/installkernel/installworld on 3 Feb 2001, ipfw "check-state" keyword appears to do nothing. The relevant lines from my firewall rules file: add check-state add deny tcp from any to any established add pass tcp from 10.0.0.0/8 to any setup keep-state add pass udp from 10.0.0.0/8 to any 53,123 keep-state add pass icmp from 10.0.0.0/8 to any icmptype 8 keep-state Now the "deny tcp from any to any established" rule blocks all tcp packets, even those associated with the "keep-state" rules. >How-To-Repeat: cvsup and rebuild, use ipfw rules similar to those above. >Fix: Temporarily move the "deny tcp from any to any established rule" *after* the "keep-state" rules. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Feb 3 13:40:20 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 08E1937B401 for ; Sat, 3 Feb 2001 13:40:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f13Le1e01432; Sat, 3 Feb 2001 13:40:01 -0800 (PST) (envelope-from gnats) Date: Sat, 3 Feb 2001 13:40:01 -0800 (PST) Message-Id: <200102032140.f13Le1e01432@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Bernd Luevelsmeyer Subject: Re: misc/24833: after cvsup + rebuild, ipfw "check-state" does not work Reply-To: Bernd Luevelsmeyer Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR misc/24833; it has been noted by GNATS. From: Bernd Luevelsmeyer To: freebsd-gnats-submit@FreeBSD.org, steve@megahack.com Cc: Subject: Re: misc/24833: after cvsup + rebuild, ipfw "check-state" does not work Date: Sat, 03 Feb 2001 22:30:20 +0100 I've got 4.2-Stable on a PentiumII updated just now. I found that with these rules ('ipfw list' output): 00100 allow tcp from any to any established 65535 deny ip from any to any anyone can telnet or ftp into the machine or out of it. Essentially, I think 'established' matches packets having the SYNC flag, in addition to those having ACK or RST. May I ask that this bug has its "Severity" increased, because this will break many firewalls IMO. A "allow tcp from any to any established" will render any later tcp 'deny' rule useless. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Feb 3 15:40:19 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9C42F37B491 for ; Sat, 3 Feb 2001 15:40:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f13Ne2V17246; Sat, 3 Feb 2001 15:40:02 -0800 (PST) (envelope-from gnats) Date: Sat, 3 Feb 2001 15:40:02 -0800 (PST) Message-Id: <200102032340.f13Ne2V17246@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Alexei Rebrik" Subject: Re: bin/24807: scp(1) from OpenSSH package doesn't have a "-L" option Reply-To: "Alexei Rebrik" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/24807; it has been noted by GNATS. From: "Alexei Rebrik" To: roam@orbitel.bg Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: bin/24807: scp(1) from OpenSSH package doesn't have a "-L" option Date: Sat, 03 Feb 2001 15:33:21 -0800 Heh - thanks :) I'll forward it to OpenSSH, doubdt they would like it though. I knew about the -o but then again I'm working on a site where there are a lot of old scriupts (bwueh!) that rely on the -L option. Thanks for your comments, for now I am building a custom release anyway in which I plan to include my patch to scp and a few other things and distribute it to the site here. Sincerely, Alex. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Feb 3 17:30:24 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5F5E337B503 for ; Sat, 3 Feb 2001 17:30:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f141U2H32132; Sat, 3 Feb 2001 17:30:02 -0800 (PST) (envelope-from gnats) Date: Sat, 3 Feb 2001 17:30:02 -0800 (PST) Message-Id: <200102040130.f141U2H32132@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Bernd Luevelsmeyer Subject: Re: misc/24833: after cvsup + rebuild, ipfw "check-state" does not work Reply-To: Bernd Luevelsmeyer Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR misc/24833; it has been noted by GNATS. From: Bernd Luevelsmeyer To: freebsd-gnats-submit@FreeBSD.org Cc: steve@megahack.com, Warner Losh Subject: Re: misc/24833: after cvsup + rebuild, ipfw "check-state" does not work Date: Sun, 04 Feb 2001 02:29:15 +0100 I'm not familiar with the FreeBSD sources so I might be wrong, but this is how I understand it: It's the change in /usr/src/sys/netinet/ip_fw.c from version 1.131.2.12 to 1.131.2.13, around line 1221. if (((f->fw_tcpf != f->fw_tcpnf) || (f->fw_ipflg & IP_FW_IF_TCPEST)) && !tcpflg_match(tcp, f)) was replaced by if (f->fw_tcpf != f->fw_tcpnf && !tcpflg_match(tcp, f)) The 'established' flag is in fw_ipflg. It's handled in tcpflg_match(), but since the test for fw_ipflg is gone, tcpflg_match() doesn't get a chance anymore to do the established-thing if fw_tcpf==fw_tcpnf , which (I assume) indicates TCP-flags are not used in the particular rule. The problem is IMHO that 'established' is a TCP property but not a TCP flag. Re-inserting the previous condition seems to work for me. This is a patch against 1.131.2.13: --- .vimbk/ip_fw.c.vimbk Fri Feb 2 15:05:48 2001 +++ ip_fw.c Sun Feb 4 02:07:53 2001 @@ -1222,7 +1222,9 @@ if (f->fw_tcpopt != f->fw_tcpnopt && !tcpopts_match(tcp, f)) continue; - if (f->fw_tcpf != f->fw_tcpnf && !tcpflg_match(tcp, f)) + if (((f->fw_tcpf != f->fw_tcpnf) || + (f->fw_ipflg & IP_FW_IF_TCPEST)) && + !tcpflg_match(tcp, f)) continue; goto check_ports; } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Feb 3 18:35:35 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from obsecurity.org (adsl-64-169-104-72.dsl.lsan03.pacbell.net [64.169.104.72]) by hub.freebsd.org (Postfix) with ESMTP id 5970537B491 for ; Sat, 3 Feb 2001 18:35:18 -0800 (PST) Received: by obsecurity.org (Postfix, from userid 1000) id BD20DBA74C; Sat, 3 Feb 2001 18:35:49 -0800 (PST) Date: Sat, 3 Feb 2001 18:35:49 -0800 From: Kris Kennaway To: Bernd Luevelsmeyer Cc: freebsd-bugs@FreeBSD.ORG Subject: Re: misc/24833: after cvsup + rebuild, ipfw "check-state" does not work Message-ID: <20010203183549.B42875@xor.obsecurity.org> References: <200102040130.f141U2H32132@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="DKU6Jbt7q3WqK7+M" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200102040130.f141U2H32132@freefall.freebsd.org>; from bdluevel@heitec.net on Sat, Feb 03, 2001 at 05:30:02PM -0800 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --DKU6Jbt7q3WqK7+M Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Yes, this does indeed seem to be a reversion (in fact it's worse than the original ipfw problem) :-( A fix should be committed soon. Kris --DKU6Jbt7q3WqK7+M Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE6fMAFWry0BWjoQKURAlpgAJ9VdIwZvqkc6bSBGOhYSl3GtB8TUQCgxjuF bNbj05yPj9iSScnMhC0HaVM= =TTzY -----END PGP SIGNATURE----- --DKU6Jbt7q3WqK7+M-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Feb 3 20:45:30 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5577537B491; Sat, 3 Feb 2001 20:45:14 -0800 (PST) Received: (from dougb@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f144jEk59165; Sat, 3 Feb 2001 20:45:14 -0800 (PST) (envelope-from dougb) Date: Sat, 3 Feb 2001 20:45:14 -0800 (PST) From: Message-Id: <200102040445.f144jEk59165@freefall.freebsd.org> To: j.enestrom@mailbox.swipnet.se, dougb@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: i386/23565: make buildworld fails after cvsup from FreeBSD-4.2-RELESE to 4.2-STABLE Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: make buildworld fails after cvsup from FreeBSD-4.2-RELESE to 4.2-STABLE State-Changed-From-To: open->closed State-Changed-By: dougb State-Changed-When: Sat Feb 3 20:44:29 PST 2001 State-Changed-Why: If you're still having this problem, please send details to freebsd-questions@freebsd.org. Good luck. http://www.freebsd.org/cgi/query-pr.cgi?pr=23565 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Feb 3 21:27:44 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7521A37B401; Sat, 3 Feb 2001 21:27:26 -0800 (PST) Received: (from dougb@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f145ROg64386; Sat, 3 Feb 2001 21:27:24 -0800 (PST) (envelope-from dougb) Date: Sat, 3 Feb 2001 21:27:24 -0800 (PST) From: Message-Id: <200102040527.f145ROg64386@freefall.freebsd.org> To: john@nlc.net.au, dougb@FreeBSD.org, freebsd-bugs@FreeBSD.org, dougb@FreeBSD.org Subject: Re: bin/18221: DNS resolver can fail for large DNS responses Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: DNS resolver can fail for large DNS responses State-Changed-From-To: open->feedback State-Changed-By: dougb State-Changed-When: Sat Feb 3 21:26:15 PST 2001 State-Changed-Why: Can you test this problem with an up to date -current or -stable and report your findings please? Responsible-Changed-From-To: freebsd-bugs->dougb Responsible-Changed-By: dougb Responsible-Changed-When: Sat Feb 3 21:26:15 PST 2001 Responsible-Changed-Why: I'll handle the feedback. http://www.freebsd.org/cgi/query-pr.cgi?pr=18221 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Feb 3 21:51:52 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 446C737B401; Sat, 3 Feb 2001 21:51:35 -0800 (PST) Received: (from dougb@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f145pUR66035; Sat, 3 Feb 2001 21:51:30 -0800 (PST) (envelope-from dougb) Date: Sat, 3 Feb 2001 21:51:30 -0800 (PST) From: Message-Id: <200102040551.f145pUR66035@freefall.freebsd.org> To: clefevre@citeweb.net, dougb@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: conf/14931: rc logging facility Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: rc logging facility State-Changed-From-To: open->closed State-Changed-By: dougb State-Changed-When: Sat Feb 3 21:49:43 PST 2001 State-Changed-Why: While we appreciate your contribution, phk has committed a new console facility to both -current and RELENG_4 which neatly handles not only rc related items, but everything else that's written to the console as well. I hope this doesn't discourage you from further contributions. http://www.freebsd.org/cgi/query-pr.cgi?pr=14931 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message From owner-freebsd-bugs Sat Feb 3 21:54:35 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D596537B401; Sat, 3 Feb 2001 21:54:17 -0800 (PST) Received: (from dougb@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f145sHV66182; Sat, 3 Feb 2001 21:54:17 -0800 (PST) (envelope-from dougb) Date: Sat, 3 Feb 2001 21:54:17 -0800 (PST) From: Message-Id: <200102040554.f145sHV66182@freefall.freebsd.org> To: lars.koeller@uni-bielefeld.de, dougb@FreeBSD.org, freebsd-bugs@FreeBSD.org, dougb@FreeBSD.org Subject: Re: conf/22151: source mechanism of /etc/rc.conf* files Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Synopsis: source mechanism of /etc/rc.conf* files State-Changed-From-To: open->closed State-Changed-By: dougb State-Changed-When: Sat Feb 3 21:52:26 PST 2001 State-Changed-Why: Yes, there was a good reason for this change. /etc/defaults/rc.conf is sourced from many different locations at many different times (not just at boot). It should be a pure configuration file. Responsible-Changed-From-To: freebsd-bugs->dougb Responsible-Changed-By: dougb Responsible-Changed-When: Sat Feb 3 21:52:26 PST 2001 Responsible-Changed-Why: sourc_rc_confs was my dirty deed. http://www.freebsd.org/cgi/query-pr.cgi?pr=22151 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message