misc/74309: xterm -C and rxvt -C do not grab /dev/console

J. Porter Clark jpc at drum.msfc.nasa.gov
Wed Nov 24 01:40:18 GMT 2004


>Number:         74309
>Category:       misc
>Synopsis:       xterm -C and rxvt -C do not grab /dev/console
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 24 01:40:17 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     J. Porter Clark
>Release:        5.3-STABLE
>Organization:
NASA MSFC
>Environment:
FreeBSD auricle.charter.net 5.3-STABLE FreeBSD 5.3-STABLE #0: Sat Nov 20 21:49:00 CST 2004     jpc at auricle.charter.net:/usr/obj/usr/src/sys/AURICLE5  i386
    
>Description:
xterm -C and rxvt -C fail to grab the console when started from inside X.  I'm using Windowmaker.  Changing the owner and mode of /dev/console to me and 0666 wasn't necessary in 4.X and doesn't help in 5.3.  It looks as though the TIOCCONS ioctl was changed significantly between 4.10 and 5.3.      
>How-To-Repeat:
Run xterm -C from inside a window manager.  When the window pops up, it says:

     xterm: cannot open console: Device busy

Occasionally, the error message does not show up, but in all cases, the new terminal is not connected to /dev/console.
>Fix:
None.
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list