Date: Wed, 26 Feb 1997 11:24:52 -0500 (EST) From: fcawth@jjarray.umd.edu To: FreeBSD-gnats-submit@freebsd.org Subject: ports/2821: XFree86 for 2.2-GAMMA utmp problems Message-ID: <199702261624.LAA01007@jjarray.umd.edu> Resent-Message-ID: <199702261630.IAA16397@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 2821 >Category: ports >Synopsis: XFree86 distributed with 2.2-GAMMA corrupts /var/run/utmp >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-ports >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Feb 26 08:30:01 PST 1997 >Last-Modified: >Originator: Fred Cawthorne >Organization: University of Maryland >Release: FreeBSD 2.2-970205-GAMMA i386 >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) >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199702261624.LAA01007>