From owner-freebsd-standards@FreeBSD.ORG Mon Sep 27 10:14:24 2004 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5571E16A4CE; Mon, 27 Sep 2004 10:14:24 +0000 (GMT) Received: from mail.dt.e-technik.uni-dortmund.de (krusty.dt.E-Technik.Uni-Dortmund.DE [129.217.163.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 537F643D49; Mon, 27 Sep 2004 10:14:23 +0000 (GMT) (envelope-from ma@dt.e-technik.uni-dortmund.de) Received: from localhost (localhost [127.0.0.1])09A3140899; Mon, 27 Sep 2004 12:14:22 +0200 (CEST) Received: from mail.dt.e-technik.uni-dortmund.de ([127.0.0.1]) by localhost (krusty [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07389-01; Mon, 27 Sep 2004 12:14:21 +0200 (CEST) Received: from m2a2.dyndns.org (p54854C50.dip.t-dialin.net [84.133.76.80]) 9E4A040832; Mon, 27 Sep 2004 12:14:18 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by merlin.emma.line.org (Postfix) with ESMTP id F120AD29DF; Mon, 27 Sep 2004 12:14:17 +0200 (CEST) Received: from merlin.emma.line.org ([127.0.0.1]) by localhost (m2a2.dyndns.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10659-01; Mon, 27 Sep 2004 12:14:17 +0200 (CEST) Received: by merlin.emma.line.org (Postfix, from userid 500) id 96ED3D1C46; Mon, 27 Sep 2004 12:14:17 +0200 (CEST) To: Scott Long , re@freebsd.org In-Reply-To: <415720FD.8080603@samsco.org> (Scott Long's message of "Sun, 26 Sep 2004 14:05:17 -0600") References: <415720FD.8080603@samsco.org> From: Matthias Andree Date: Mon, 27 Sep 2004 12:14:17 +0200 Message-ID: User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at dt.e-technik.uni-dortmund.de cc: standards@freebsd.org cc: current@freebsd.org cc: developers@freebsd.org Subject: Re: FreeBSD 5.3-BETA6 available X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Sep 2004 10:14:24 -0000 Please Cc: me on all replies, I'm not on all lists. Scott Long writes: > IMPORTANT: > BIND9 is being imported and will be in the next and likely final beta, > BETA7. Users of the named daemon should visit the ISC website for > information about migrating to BIND9. BETA6 still has some critical and/or serious bugs open apparently (according to the PR data base): 1. /bin/sh "unset" is still in violation of IEEE Std 1003.1, 2004 edition. FIX IS AVAILABLE, bug has been open for many months, has persisted in BETA4 and 5. http://www.freebsd.org/cgi/query-pr.cgi?pr=standards/45738 http://lists.freebsd.org/pipermail/freebsd-current/2004-September/037819.html 2. tcpdump IPv6CP segfaults are still open as of BETA5, FIX IS AVAILABLE: http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/71453 3. data corruption on unaligned block access bug, kern/60313, is still open and unpatched AFAICS 4. NIS is still faulty in pretending users aren't there when in fact NIS cannot tell if an account exists; bin/46866 is still open and unpatched 5. default inetd configuration denial of service bug, conf/33670, is still open and unpatched AND A LAST CHANCE TO FIX NOW 6. (portsmgr issue) no "yes or no" or whatsoever for my inquires whether ports/72017 can be committed in spite of the freeze. It's a bugfix-only update. Please state which of these will be fixed before 5.3-RELEASE and what further help is needed with these. -- Matthias Andree Encrypted mail welcome: my GnuPG key ID is 0x052E7D95 (PGP/MIME preferred) From owner-freebsd-standards@FreeBSD.ORG Mon Sep 27 11:02:06 2004 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 57AFF16A4CF for ; Mon, 27 Sep 2004 11:02:06 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 43EBF43D53 for ; Mon, 27 Sep 2004 11:02:06 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i8RB26NF014806 for ; Mon, 27 Sep 2004 11:02:06 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i8RB25uR014797 for freebsd-standards@freebsd.org; Mon, 27 Sep 2004 11:02:05 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 27 Sep 2004 11:02:05 GMT Message-Id: <200409271102.i8RB25uR014797@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-standards@FreeBSD.org Subject: Current problem reports assigned to you X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Sep 2004 11:02:06 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2001/03/05] bin/25542 standards /bin/sh: null char in quoted string p [2002/02/25] standards/35307standards standard include files are not standard c o [2002/12/13] kern/46239 standards posix semaphore implementation errors o [2003/04/21] standards/51209standards [PATCH] add a64l()/l64a/l64a_r functions p [2003/06/05] standards/52972standards /bin/sh arithmetic not POSIX compliant o [2003/06/18] kern/53447 standards poll(2) semantics differ from susV3/POSIX o [2003/07/12] standards/54410standards one-true-awk not POSIX compliant (no exte o [2003/09/15] standards/56906standards Several math(3) functions fail to set err o [2004/01/01] standards/60772standards _Bool and bool should be unsigned o [2004/09/22] standards/72006standards floating point formating in non-C locales 10 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- f [1995/01/11] kern/105 standards Distributed libm (msun) has non-standard o [2000/09/24] bin/21519 standards sys/dir.h should be deprecated some more o [2001/01/16] bin/24390 standards Replacing old dir-symlinks when using /bi s [2001/01/24] standards/24590standards timezone function not compatible witn Sin s [2001/06/18] kern/28260 standards UIO_MAXIOV needs to be made public p [2001/11/20] standards/32126standards getopt(3) not Unix-98 conformant o [2002/02/27] misc/35381 standards incorrect floating-point display of large s [2002/03/19] standards/36076standards Implementation of POSIX fuser command o [2002/06/14] standards/39256standards [v]snprintf aren't POSIX-conformant for s o [2002/07/09] kern/40378 standards stdlib.h gives needless warnings with -an p [2002/08/12] standards/41576standards POSIX compliance of ln(1) o [2002/10/23] standards/44425standards getcwd() succeeds even if current dir has o [2002/12/09] standards/46119standards Priority problems for SCHED_OTHER using p o [2002/12/23] standards/46504standards Warnings in headers o [2003/06/22] standards/53613standards FreeBSD doesn't define EPROTO o [2003/07/24] standards/54809standards pcvt deficits o [2003/07/25] standards/54833standards more pcvt deficits o [2003/07/25] standards/54839standards pcvt deficits o [2003/07/31] standards/55112standards glob.h, glob_t's gl_pathc should be "size o [2003/09/05] standards/56476standards cd9660 unicode support simple hack o [2003/10/29] standards/58676standards grantpt(3) alters storage used by ptsname p [2003/12/26] standards/60597standards FreeBSD's /usr/include lacks of cpio.h s [2004/02/14] standards/62858standards malloc(0) not C99 compliant p [2004/02/21] standards/63173standards Patch to add getopt_long_only(3) to libc o [2004/03/29] kern/64875 standards [patch] add a system call: fdatasync() o [2004/05/07] standards/66357standards make POSIX conformance problem ('sh -e' & o [2004/05/11] standards/66531standards _gettemp uses a far smaller set of filena o [2004/08/22] standards/70813standards [PATCH] ls not Posix compliant o [2004/08/26] docs/70985 standards [patch] sh(1): incomplete documentation o o [2004/09/25] standards/72076standards [patch] German locales use old %d.%m.%y d 30 problems total. From owner-freebsd-standards@FreeBSD.ORG Mon Sep 27 13:18:08 2004 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2267816A4CE; Mon, 27 Sep 2004 13:18:08 +0000 (GMT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7889E43D53; Mon, 27 Sep 2004 13:18:07 +0000 (GMT) (envelope-from scottl@FreeBSD.org) Received: from [192.168.254.11] (junior-wifi.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.12.11/8.12.10) with ESMTP id i8RDIQSM058207; Mon, 27 Sep 2004 07:18:26 -0600 (MDT) (envelope-from scottl@FreeBSD.org) Message-ID: <415812AD.2090901@FreeBSD.org> Date: Mon, 27 Sep 2004 07:16:29 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040831 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Matthias Andree References: <415720FD.8080603@samsco.org> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=0.0 required=3.8 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on pooker.samsco.org cc: Scott Long cc: standards@FreeBSD.org cc: re@FreeBSD.org cc: current@FreeBSD.org Subject: Re: FreeBSD 5.3-BETA6 available X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Sep 2004 13:18:08 -0000 Matthias Andree wrote: > Please Cc: me on all replies, I'm not on all lists. > > Scott Long writes: > > >>IMPORTANT: >>BIND9 is being imported and will be in the next and likely final beta, >>BETA7. Users of the named daemon should visit the ISC website for >>information about migrating to BIND9. > > > BETA6 still has some critical and/or serious bugs open apparently > (according to the PR data base): > > 1. /bin/sh "unset" is still in violation of IEEE Std 1003.1, 2004 > edition. FIX IS AVAILABLE, bug has been open for many months, has > persisted in BETA4 and 5. > > http://www.freebsd.org/cgi/query-pr.cgi?pr=standards/45738 > http://lists.freebsd.org/pipermail/freebsd-current/2004-September/037819.html I'll defer this to the standards folks. > > 2. tcpdump IPv6CP segfaults are still open as of BETA5, FIX IS AVAILABLE: > http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/71453 > Looks pretty straight-forward. Anyone want to import the fix from the tcpdump CVS tree? 4 > 3. data corruption on unaligned block access bug, kern/60313, > is still open and unpatched AFAICS Is this actually an issue in FreeBSD 5? In the audit trail of the PR, Bruce Evans seems to concede that GEOM checks block alignment properly. > > 4. NIS is still faulty in pretending users aren't there when in fact NIS > cannot tell if an account exists; bin/46866 is still open and unpatched While it's a compelling argument to follow the Solaris behavior, it's also a compelling argument to have a reasonable timeout on password lookups. > > 5. default inetd configuration denial of service bug, conf/33670, is still > open and unpatched AND A LAST CHANCE TO FIX NOW inetd is not turned on by default. What do OpenBSD and NetBSD do? What does Linux do with xinetd? > > 6. (portsmgr issue) no "yes or no" or whatsoever for my inquires whether > ports/72017 can be committed in spite of the freeze. It's a > bugfix-only update. > > Please state which of these will be fixed before 5.3-RELEASE and what > further help is needed with these. > From owner-freebsd-standards@FreeBSD.ORG Mon Sep 27 15:11:47 2004 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8028C16A4CE; Mon, 27 Sep 2004 15:11:47 +0000 (GMT) Received: from mail.dt.e-technik.uni-dortmund.de (mail.dt.E-Technik.Uni-Dortmund.DE [129.217.163.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id B177C43D1F; Mon, 27 Sep 2004 15:11:46 +0000 (GMT) (envelope-from ma@dt.e-technik.uni-dortmund.de) Received: from localhost (localhost [127.0.0.1])98F9240960; Mon, 27 Sep 2004 17:11:45 +0200 (CEST) Received: from mail.dt.e-technik.uni-dortmund.de ([127.0.0.1]) by localhost (krusty [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 15454-03; Mon, 27 Sep 2004 17:11:45 +0200 (CEST) Received: from m2a2.dyndns.org (p54854C50.dip.t-dialin.net [84.133.76.80]) EF2F4408A0; Mon, 27 Sep 2004 17:11:44 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by merlin.emma.line.org (Postfix) with ESMTP id 4DE5BD621C; Mon, 27 Sep 2004 17:11:42 +0200 (CEST) Received: from merlin.emma.line.org ([127.0.0.1]) by localhost (m2a2.dyndns.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22884-04; Mon, 27 Sep 2004 17:11:42 +0200 (CEST) Received: by merlin.emma.line.org (Postfix, from userid 500) id E64CAD621B; Mon, 27 Sep 2004 17:11:41 +0200 (CEST) To: Scott Long In-Reply-To: <415812AD.2090901@FreeBSD.org> (Scott Long's message of "Mon, 27 Sep 2004 07:16:29 -0600") References: <415720FD.8080603@samsco.org> <415812AD.2090901@FreeBSD.org> From: Matthias Andree Date: Mon, 27 Sep 2004 17:11:41 +0200 Message-ID: User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at dt.e-technik.uni-dortmund.de cc: re@FreeBSD.org cc: standards@FreeBSD.org cc: Matthias Andree cc: current@FreeBSD.org Subject: Re: FreeBSD 5.3-BETA6 available X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Sep 2004 15:11:47 -0000 Scott Long writes: >> 1. /bin/sh "unset" is still in violation of IEEE Std 1003.1, 2004 >> edition. FIX IS AVAILABLE, bug has been open for many months, has >> persisted in BETA4 and 5. >> http://www.freebsd.org/cgi/query-pr.cgi?pr=standards/45738 >> http://lists.freebsd.org/pipermail/freebsd-current/2004-September/037819.html > > I'll defer this to the standards folks. Finally someone picks these up -- much appreciated, thank you very much, it's a relief to be at least heard. The fix for this has been pending for almost two years now, was filed against 4.7, the fix is _trivial_ and was filed on 2002-11-26. Given that this has been lying unattended for another ten days on -standards already, can't we just commit this on probation and back out as problems arise in BETA7? I cannot imagine anyone relying on the bug in /bin/sh, but some test scripts in third-party software stumble across this when trying to sanitize their environment and need to resort to ugly workarounds such as SOMEVAR= ; unset SOMEVAR. The standard is clear, see 5th paragraph in DESCRIPTION of http://www.opengroup.org/onlinepubs/009695399/utilities/unset.html (Julian Elischer inquired if someone had taken interest last Tuesday but the report is still assigned to freebsd-bugs, so he hasn't claimed it yet, so I presume he hasn't sufficient interest or commit permission to address this.) >> 2. tcpdump IPv6CP segfaults are still open as of BETA5, FIX IS >> AVAILABLE: >> http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/71453 >> > > Looks pretty straight-forward. Anyone want to import the fix from the > tcpdump CVS tree? I don't have a commit bit (nor am I asking for one but I'd take one if someone insisted). >> 3. data corruption on unaligned block access bug, kern/60313, >> is still open and unpatched AFAICS > > Is this actually an issue in FreeBSD 5? In the audit trail of the PR, > Bruce Evans seems to concede that GEOM checks block alignment > properly. I'll try again with a current beta and follow up on this with what I've found; at the time I filed it, there was a problem with a different symptom. If someone else has a SCRATCH partition that can lose all data, (comment out swap and reboot then you'll have one), a test program is part of http://www.freebsd.org/cgi/query-pr.cgi?pr=60313 -- if someone checks first, please Cc: me to avoid duplicated effort. >> 4. NIS is still faulty in pretending users aren't there when in fact >> NIS >> cannot tell if an account exists; bin/46866 is still open and unpatched > > While it's a compelling argument to follow the Solaris behavior, it's > also a compelling argument to have a reasonable timeout on password > lookups. The problem is that the system cannot communicate the difference between "temporary failure, try again" and "no such user", and can lead, for instance, to a bogus _PERMANENT_ reject of a mail, which, in turn, can trigger an unsubscription -- to name just one failure case I've experienced. >> 5. default inetd configuration denial of service bug, conf/33670, is >> still >> open and unpatched AND A LAST CHANCE TO FIX NOW > > inetd is not turned on by default. OK, I'll consider this closed. Feel free to close conf/33670; I'd suggest that the inetd documentation mentions that an connection rate limit doesn't bound the absolute client count and can result in DoS. > What do OpenBSD and NetBSD do? > What does Linux do with xinetd? Depends on the distribution. I cannot say anything about OpenBSD or NetBSD, SuSE Linux 9.1 doesn't automatically start services from inside inetd or xinetd AFAICS. >> 6. (portsmgr issue) no "yes or no" or whatsoever for my inquires >> whether >> ports/72017 can be committed in spite of the freeze. It's a >> bugfix-only update. >> Please state which of these will be fixed before 5.3-RELEASE and what >> further help is needed with these. Pav has claimed this and is waiting for portmgr approval which I already asked about when filing the bug, no-one stirred themselves yet. -- Matthias Andree Encrypted mail welcome: my GnuPG key ID is 0x052E7D95 (PGP/MIME preferred) From owner-freebsd-standards@FreeBSD.ORG Mon Sep 27 18:44:55 2004 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 13DED16A4CF; Mon, 27 Sep 2004 18:44:55 +0000 (GMT) Received: from smtp.des.no (flood.des.no [217.116.83.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id C166B43D48; Mon, 27 Sep 2004 18:44:54 +0000 (GMT) (envelope-from des@des.no) Received: by smtp.des.no (Pony Express, from userid 666) id 7A5B75311; Mon, 27 Sep 2004 20:44:53 +0200 (CEST) Received: from dwp.des.no (des.no [80.203.228.37]) by smtp.des.no (Pony Express) with ESMTP id 2D1C2530A; Mon, 27 Sep 2004 20:44:48 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 2602) id 0E2BDB873; Mon, 27 Sep 2004 20:44:48 +0200 (CEST) To: Matthias Andree References: <415720FD.8080603@samsco.org> From: des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) Date: Mon, 27 Sep 2004 20:44:47 +0200 In-Reply-To: (Matthias Andree's message of "Mon, 27 Sep 2004 12:14:17 +0200") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on flood.des.no X-Spam-Level: X-Spam-Status: No, hits=0.0 required=5.0 tests=AWL autolearn=no version=2.64 cc: Scott Long cc: re@freebsd.org cc: standards@freebsd.org cc: developers@freebsd.org cc: current@freebsd.org Subject: Re: FreeBSD 5.3-BETA6 available X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Sep 2004 18:44:55 -0000 Matthias Andree writes: > 5. default inetd configuration denial of service bug, conf/33670, is still > open and unpatched AND A LAST CHANCE TO FIX NOW Actually, this was fixed in HEAD a year and a week ago: ---------------------------- revision 1.188 date: 2003/09/15 16:44:24; author: nectar; state: Exp; lines: +1 -1 Add `-C 60' to the default flags for inetd, so that it is less vulnerable to run-of-the-mill DoS attacks in the default installation. =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 DES --=20 Dag-Erling Sm=F8rgrav - des@des.no From owner-freebsd-standards@FreeBSD.ORG Mon Sep 27 22:55:11 2004 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9821716A4CE; Mon, 27 Sep 2004 22:55:11 +0000 (GMT) Received: from mail.dt.e-technik.uni-dortmund.de (krusty.dt.E-Technik.Uni-Dortmund.DE [129.217.163.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC56A43D2F; Mon, 27 Sep 2004 22:55:10 +0000 (GMT) (envelope-from ma@dt.e-technik.uni-dortmund.de) Received: from localhost (localhost [127.0.0.1])37D3E40AF2; Tue, 28 Sep 2004 00:55:10 +0200 (CEST) Received: from mail.dt.e-technik.uni-dortmund.de ([127.0.0.1]) by localhost (krusty [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08078-05; Tue, 28 Sep 2004 00:55:10 +0200 (CEST) Received: from m2a2.dyndns.org (p508EFEB6.dip.t-dialin.net [80.142.254.182]) DDDE34092F; Tue, 28 Sep 2004 00:55:09 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by merlin.emma.line.org (Postfix) with ESMTP id 77E73D6382; Tue, 28 Sep 2004 00:55:07 +0200 (CEST) Received: from merlin.emma.line.org ([127.0.0.1]) by localhost (m2a2.dyndns.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 04119-02; Tue, 28 Sep 2004 00:55:07 +0200 (CEST) Received: by merlin.emma.line.org (Postfix, from userid 500) id 21A8ACA316; Tue, 28 Sep 2004 00:55:06 +0200 (CEST) To: Matthias Andree In-Reply-To: (Matthias Andree's message of "Mon, 27 Sep 2004 17:11:41 +0200") References: <415720FD.8080603@samsco.org> <415812AD.2090901@FreeBSD.org> From: Matthias Andree Date: Tue, 28 Sep 2004 00:55:06 +0200 Message-ID: User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at dt.e-technik.uni-dortmund.de cc: re@FreeBSD.org cc: standards@FreeBSD.org cc: Scott Long cc: current@FreeBSD.org Subject: Re: FreeBSD 5.3-BETA6 available X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Sep 2004 22:55:11 -0000 Matthias Andree writes: >>> 3. data corruption on unaligned block access bug, kern/60313, >>> is still open and unpatched AFAICS >> >> Is this actually an issue in FreeBSD 5? In the audit trail of the PR, >> Bruce Evans seems to concede that GEOM checks block alignment >> properly. OK, seeking to a position that is not a multiple of the block size appears to trigger EINVAL on a subsequent write so this is NOT an issue for FreeBSD 5. -- Matthias Andree Encrypted mail welcome: my GnuPG key ID is 0x052E7D95 (PGP/MIME preferred) From owner-freebsd-standards@FreeBSD.ORG Tue Sep 28 06:21:56 2004 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E613116A4CE for ; Tue, 28 Sep 2004 06:21:56 +0000 (GMT) Received: from ims-1.prv.ampira.com (ims-1.ampira.com [66.179.231.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 54B0843D2F for ; Tue, 28 Sep 2004 06:21:56 +0000 (GMT) (envelope-from kamalp@kprasad.org) Received: from [202.142.94.10] (helo=[172.16.3.26]) by ims-1.prv.ampira.com with asmtp (Exim 4.24) id 1CCBJk-0003h3-QC for freebsd-standards@freebsd.org; Tue, 28 Sep 2004 02:18:29 -0400 Message-ID: <415902F5.9030204@kprasad.org> Date: Tue, 28 Sep 2004 11:51:41 +0530 From: "Kamal R. Prasad" User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-standards@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: VSC test suite for file command X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Sep 2004 06:21:57 -0000 Hello, I am looking for a way to test my code change for file command on freebsd. This requires a full version of VSC from the Open Group. The lite version is available for free from their website but does not contain tests for the file command. Can someone help me to test the same? thanks -kamal From owner-freebsd-standards@FreeBSD.ORG Tue Sep 28 12:53:52 2004 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9ADED16A4CE; Tue, 28 Sep 2004 12:53:52 +0000 (GMT) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by mx1.FreeBSD.org (Postfix) with SMTP id 5330543D1F; Tue, 28 Sep 2004 12:53:51 +0000 (GMT) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 28 Sep 2004 13:53:46 +0100 (BST) Date: Tue, 28 Sep 2004 13:53:43 +0100 From: David Malone To: Matthias Andree Message-ID: <20040928125343.GA49465@walton.maths.tcd.ie> References: <415720FD.8080603@samsco.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i Sender: dwmalone@maths.tcd.ie cc: standards@freebsd.org cc: Scott Long cc: re@freebsd.org cc: current@freebsd.org cc: developers@freebsd.org Subject: Re: FreeBSD 5.3-BETA6 available X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Sep 2004 12:53:52 -0000 On Mon, Sep 27, 2004 at 12:14:17PM +0200, Matthias Andree wrote: > 3. data corruption on unaligned block access bug, kern/60313, > is still open and unpatched AFAICS Bruce suggests that this one is fixed in geom, which is now used by default. If this is the case, I can close the PR. David. From owner-freebsd-standards@FreeBSD.ORG Tue Sep 28 13:14:13 2004 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 17A0416A4CE; Tue, 28 Sep 2004 13:14:13 +0000 (GMT) Received: from mail.dt.e-technik.uni-dortmund.de (mail.dt.E-Technik.Uni-Dortmund.DE [129.217.163.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 656E043D46; Tue, 28 Sep 2004 13:14:12 +0000 (GMT) (envelope-from matthias.andree@gmx.de) Received: from localhost (localhost [127.0.0.1])808E340D4C; Tue, 28 Sep 2004 15:14:11 +0200 (CEST) Received: from mail.dt.e-technik.uni-dortmund.de ([127.0.0.1]) by localhost (krusty [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 06794-03-2; Tue, 28 Sep 2004 15:14:10 +0200 (CEST) Received: from m2a2.dyndns.org (p508EEA9F.dip.t-dialin.net [80.142.234.159]) 0D4F040CEC; Tue, 28 Sep 2004 15:14:09 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by merlin.emma.line.org (Postfix) with ESMTP id 0EAB7CDC79; Tue, 28 Sep 2004 15:14:09 +0200 (CEST) Received: from merlin.emma.line.org ([127.0.0.1]) by localhost (m2a2.dyndns.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07028-02; Tue, 28 Sep 2004 15:14:08 +0200 (CEST) Received: by merlin.emma.line.org (Postfix, from userid 500) id A7FBCCDC76; Tue, 28 Sep 2004 15:14:08 +0200 (CEST) Date: Tue, 28 Sep 2004 15:14:08 +0200 From: Matthias Andree To: David Malone Message-ID: <20040928131408.GA6887@merlin.emma.line.org> Mail-Followup-To: David Malone , Scott Long , re@freebsd.org, current@freebsd.org, developers@freebsd.org, standards@freebsd.org References: <415720FD.8080603@samsco.org> <20040928125343.GA49465@walton.maths.tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040928125343.GA49465@walton.maths.tcd.ie> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at dt.e-technik.uni-dortmund.de cc: Scott Long cc: re@freebsd.org cc: current@freebsd.org cc: developers@freebsd.org cc: standards@freebsd.org cc: Matthias Andree Subject: Re: FreeBSD 5.3-BETA6 available X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Sep 2004 13:14:13 -0000 On Tue, 28 Sep 2004, David Malone wrote: > On Mon, Sep 27, 2004 at 12:14:17PM +0200, Matthias Andree wrote: > > 3. data corruption on unaligned block access bug, kern/60313, > > is still open and unpatched AFAICS > > Bruce suggests that this one is fixed in geom, which is now used > by default. If this is the case, I can close the PR. Please do not close the PR yet, the bug persists in FreeBSD 4.10-RELEASE-p3 (tested a few minutes ago) and probably also in 4.8. -- Matthias Andree Encrypted mail welcome: my GnuPG key ID is 0x052E7D95 (PGP/MIME preferred) From owner-freebsd-standards@FreeBSD.ORG Tue Sep 28 14:37:56 2004 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B5F016A4CE; Tue, 28 Sep 2004 14:37:56 +0000 (GMT) Received: from mailout1.pacific.net.au (mailout1.pacific.net.au [61.8.0.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9417F43D46; Tue, 28 Sep 2004 14:37:55 +0000 (GMT) (envelope-from bde@zeta.org.au) Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.0.86])i8SEbjfA019784; Wed, 29 Sep 2004 00:37:45 +1000 Received: from katana.zip.com.au (katana.zip.com.au [61.8.7.246]) i8SEbhWS025932; Wed, 29 Sep 2004 00:37:44 +1000 Date: Wed, 29 Sep 2004 00:37:43 +1000 (EST) From: Bruce Evans X-X-Sender: bde@delplex.bde.org To: Matthias Andree In-Reply-To: Message-ID: <20040929002825.M60452@delplex.bde.org> References: <415720FD.8080603@samsco.org> <415812AD.2090901@FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Scott Long cc: standards@FreeBSD.org cc: re@FreeBSD.org cc: current@FreeBSD.org Subject: Re: FreeBSD 5.3-BETA6 available X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Sep 2004 14:37:56 -0000 On Tue, 28 Sep 2004, Matthias Andree wrote: > Matthias Andree writes: > > >>> 3. data corruption on unaligned block access bug, kern/60313, > >>> is still open and unpatched AFAICS > >> > >> Is this actually an issue in FreeBSD 5? In the audit trail of the PR, > >> Bruce Evans seems to concede that GEOM checks block alignment > >> properly. > > OK, seeking to a position that is not a multiple of the block size > appears to trigger EINVAL on a subsequent write so this is > NOT an issue for FreeBSD 5. Except EINVAL is an undocumented and unreasonable errno for write(2). (It is documented and reasonable for pwrite(2) because it is for pwrite()'s offset arg, but even for pwrite(), misaligned offsets are not invalid: as specified in POSIX.1 but not in pwrite(4), only negative args are invalid for pwrite().) The correct errno seems to be EIO (because the device is physically incapable of doing misaligned i/o). Bruce From owner-freebsd-standards@FreeBSD.ORG Tue Sep 28 15:05:15 2004 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B46516A4CF; Tue, 28 Sep 2004 15:05:15 +0000 (GMT) Received: from mail.dt.e-technik.uni-dortmund.de (mail.dt.E-Technik.Uni-Dortmund.DE [129.217.163.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9913A43D39; Tue, 28 Sep 2004 15:05:12 +0000 (GMT) (envelope-from ma@dt.e-technik.uni-dortmund.de) Received: from localhost (localhost [127.0.0.1])DA8F040DFE; Tue, 28 Sep 2004 17:05:11 +0200 (CEST) Received: from mail.dt.e-technik.uni-dortmund.de ([127.0.0.1]) by localhost (krusty [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 03399-01-10; Tue, 28 Sep 2004 17:05:11 +0200 (CEST) Received: from m2a2.dyndns.org (p508EEA9F.dip.t-dialin.net [80.142.234.159]) 87FBF40DFC; Tue, 28 Sep 2004 17:05:11 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by merlin.emma.line.org (Postfix) with ESMTP id D93AAD6511; Tue, 28 Sep 2004 17:05:10 +0200 (CEST) Received: from merlin.emma.line.org ([127.0.0.1]) by localhost (m2a2.dyndns.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10376-02-3; Tue, 28 Sep 2004 17:05:10 +0200 (CEST) Received: by merlin.emma.line.org (Postfix, from userid 500) id 899AED6510; Tue, 28 Sep 2004 17:05:10 +0200 (CEST) To: Bruce Evans In-Reply-To: <20040929002825.M60452@delplex.bde.org> (Bruce Evans's message of "Wed, 29 Sep 2004 00:37:43 +1000 (EST)") References: <415720FD.8080603@samsco.org> <415812AD.2090901@FreeBSD.org> <20040929002825.M60452@delplex.bde.org> From: Matthias Andree Date: Tue, 28 Sep 2004 17:05:10 +0200 Message-ID: User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at dt.e-technik.uni-dortmund.de cc: Scott Long cc: standards@FreeBSD.org cc: Matthias Andree cc: current@FreeBSD.org cc: re@FreeBSD.org Subject: Re: FreeBSD 5.3-BETA6 available X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Sep 2004 15:05:15 -0000 Bruce Evans writes: > Except EINVAL is an undocumented and unreasonable errno for write(2). > (It is documented and reasonable for pwrite(2) because it is for > pwrite()'s offset arg, but even for pwrite(), misaligned offsets are > not invalid: as specified in POSIX.1 but not in pwrite(4), only > negative args are invalid for pwrite().) > The correct errno seems to be EIO (because the device is physically > incapable of doing misaligned i/o). Yes indeed, EIO is better. It is however of paramount importance to refuse the misaligned write operation on the raw (as in unbuffered) device rather than round down the offset and write to the wrong offset, as happens now in FreeBSD 4. Imagine someone (ported Linux program) trying to write the last 64 bytes of the MBR (IA32 or AMD64) with a new partition table at offset #448 and the data ends up at offset #0 -> the system has just become unbootable with trashed boot code, and the application believing everything is in order... -- Matthias Andree Encrypted mail welcome: my GnuPG key ID is 0x052E7D95 (PGP/MIME preferred) From owner-freebsd-standards@FreeBSD.ORG Wed Sep 29 06:49:06 2004 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 21AD416A4F5 for ; Wed, 29 Sep 2004 06:48:46 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD2CE43D48 for ; Wed, 29 Sep 2004 06:48:45 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (harmony.village.org [10.0.0.6]) by harmony.village.org (8.13.1/8.13.1) with ESMTP id i8T6kcSs009481; Wed, 29 Sep 2004 00:46:40 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Wed, 29 Sep 2004 00:47:54 -0600 (MDT) Message-Id: <20040929.004754.129577385.imp@bsdimp.com> To: matthias.andree@gmx.de From: "M. Warner Losh" In-Reply-To: <20040928131408.GA6887@merlin.emma.line.org> References: <20040928125343.GA49465@walton.maths.tcd.ie> <20040928131408.GA6887@merlin.emma.line.org> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: re@freebsd.org cc: current@freebsd.org cc: developers@freebsd.org cc: standards@freebsd.org cc: dwmalone@maths.tcd.ie cc: ma@dt.e-technik.uni-dortmund.de Subject: Re: FreeBSD 5.3-BETA6 available X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Sep 2004 06:49:06 -0000 In message: <20040928131408.GA6887@merlin.emma.line.org> Matthias Andree writes: : On Tue, 28 Sep 2004, David Malone wrote: : : > On Mon, Sep 27, 2004 at 12:14:17PM +0200, Matthias Andree wrote: : > > 3. data corruption on unaligned block access bug, kern/60313, : > > is still open and unpatched AFAICS : > : > Bruce suggests that this one is fixed in geom, which is now used : > by default. If this is the case, I can close the PR. : : Please do not close the PR yet, the bug persists in FreeBSD : 4.10-RELEASE-p3 (tested a few minutes ago) and probably also in 4.8. Does it persist in RELENG_4? Warner