From fcawth@jjarray.umd.edu  Wed Feb 26 08:24:54 1997
Received: from jjarray.umd.edu (jjarray.umd.edu [129.2.40.99])
          by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA16108
          for <FreeBSD-gnats-submit@freebsd.org>; Wed, 26 Feb 1997 08:24:53 -0800 (PST)
Received: (from fcawth@localhost)
	by jjarray.umd.edu (8.8.5/8.8.5) id LAA01007;
	Wed, 26 Feb 1997 11:24:52 -0500 (EST)
Message-Id: <199702261624.LAA01007@jjarray.umd.edu>
Date: Wed, 26 Feb 1997 11:24:52 -0500 (EST)
From: fcawth@jjarray.umd.edu
Reply-To: fcawth@jjarray.umd.edu
To: FreeBSD-gnats-submit@freebsd.org
Subject: XFree86 for 2.2-GAMMA utmp problems 
X-Send-Pr-Version: 3.2

>Number:         2821
>Category:       bin
>Synopsis:       XFree86 distributed with 2.2-GAMMA corrupts /var/run/utmp
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    jkh
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 26 08:30:01 PST 1997
>Closed-Date:    Tue Sep 2 02:59:17 PDT 1997
>Last-Modified:  Tue Sep  2 02:59:43 PDT 1997
>Originator:     Fred Cawthorne
>Release:        FreeBSD 2.2-970205-GAMMA i386
>Organization:
University of Maryland
>Environment:


FreeBSD 2.2-970205-GAMMA #1: Wed Feb 26 10:07:04 EST 1997
    fcawth@jjarray.umd.edu:/usr/src/sys/compile/JJARRAY
Calibrating clock(s) relative to mc146818A clock ... i586 clock: 199434307 Hz, i8254 clock: 1193198 Hz
CPU: Pentium Pro (199.43-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x617  Stepping=7
  Features=0xf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,<b11>,MTRR,PGE,MCA,CMOV>
real memory  = 67108864 (65536K bytes)

>Description:

The XFree86 in the 2.2-Gamma dist on wcarchive appears to be compiled on a 
machine with UT_NAMESIZE=16 in utmp.h, (i.e. -current). This makes programs
like xterm write 16 byte names into /var/run/utmp, corrupting it badly...


>How-To-Repeat:
Start X, run "w", see that the entries are corrupted.  Open more xterms, get
more messed up /var/run/utmp file.

>Fix:
	
Re-compile the XFree86 binaries with the proper utmp.h include file 
(i.e. the one that comes with 2.2-GAMMA works just fine)
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->jkh 
Responsible-Changed-By: asami 
Responsible-Changed-When: Mon Mar 3 02:24:06 PST 1997 
Responsible-Changed-Why:  
This is not a port problem.  I'm not sure who is building the XFree86 
distribution for the CD so I'm assigning this to the current release 
engineer. 
State-Changed-From-To: open->closed 
State-Changed-By: jkh 
State-Changed-When: Tue Sep 2 02:59:17 PDT 1997 
State-Changed-Why:  
This was fixed awhile back; the PR has gone stale. 
>Unformatted:
