From owner-freebsd-ports Sun Apr 4 11: 2: 0 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 6047A15018 for ; Sun, 4 Apr 1999 11:01:57 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id LAA45016; Sun, 4 Apr 1999 11:00:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from pinhead.parag.codegen.com (207-44-235-154.CodeGen.COM [207.44.235.154]) by hub.freebsd.org (Postfix) with ESMTP id 8B7A4150E6 for ; Sun, 4 Apr 1999 10:54:25 -0700 (PDT) (envelope-from parag@pinhead.parag.codegen.com) Received: (from parag@localhost) by pinhead.parag.codegen.com (8.9.3/8.9.3) id KAA53048; Sun, 4 Apr 1999 10:52:29 -0700 (PDT) (envelope-from parag) Message-Id: <199904041752.KAA53048@pinhead.parag.codegen.com> Date: Sun, 4 Apr 1999 10:52:29 -0700 (PDT) From: parag@codegen.com Reply-To: parag@codegen.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/10945: X11 "sessreg" program does not update /var/run/utmp file Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 10945 >Category: ports >Synopsis: X11 "sessreg" program does not update /var/run/utmp file >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Apr 4 11:00:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Parag Patel >Release: FreeBSD 4.0-CURRENT i386 >Organization: CodeGen, Inc. >Environment: X11R6 package from XFree86 3.3.3.1 binaries off of FreeBSD 3.1 March 1999 CD-ROM (Walnut Creek) >Description: The X11 "sessreg" program does not update the /var/run/utmp file, even when run as root. It is handy to register the virtual-console being used by xdm when someone logs in. >How-To-Repeat: The following line from the "sessreg" man-page fails to work: sessreg -a -l $DISPLAY -x /usr/X11R6/lib/xdm/Xservers $USER who Something simpler like this also fails: sessreg -a -l ttyv3 bozo who >Fix: I think the UTMP support needs to be switched on when compiling this file. The file "xdm/sessreg.c" seems to turn off UTMP support for CSRG_BASED builds. I think that commenting out this line should make it work again. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message