misc/160517: X pseudo-terminals are not registered in utmp and wtmp if parent tty session is closed

Renato Tambellini rtsanch at gmail.com
Tue Sep 6 14:30:02 UTC 2011


>Number:         160517
>Category:       misc
>Synopsis:       X pseudo-terminals are not registered in utmp and wtmp if parent tty session is closed
>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 Sep 06 14:30:01 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Renato Tambellini
>Release:        FreeBSD 8.2-STABLE amd64
>Organization:
>Environment:
FreeBSD devilbox.homeunix.net 8.2-STABLE FreeBSD 8.2-STABLE #0: Mon Aug 15 14:58:04 BRT 2011     root at devilbox.homeunix.net:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
The pseudo-terminals (pts) allocated by xterm, rxvt and possibly others X terminal emulators are not registered in the utmp and wtmp files if the session of tty that called the X session is closed. Consequently the pts sessions not appears in the list of sessions of commands last(1), who(1), w(1) and others that depends of utmp and wtmp entries to run properly.
>How-To-Repeat:
1) Make a login in the system tty console eg: ttyv0
2) Run the command: startx & exit
3) Open a xterm or rxvt using the window manager
4) Do commands last, who or w and verify that this session not appear in the list.
>Fix:
unknown

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list