Debian bug report logs - #1558
xbase contains /dev/:0 -> /dev/console

Package: xbase; Reported by: Ian Jackson <iwj10@cus.cam.ac.uk>; 25 days old.

Message received at debian-bugs:


From cus.cam.ac.uk!iwj10 Fri Oct  6 19:29:16 1995
Return-Path: <iwj10@cus.cam.ac.uk>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0t1P0l-0006KJC; Fri, 6 Oct 95 19:29 PDT
Received: from bootes.cus.cam.ac.uk by pixar.com with SMTP id AA03529
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Fri, 6 Oct 1995 19:28:55 -0700
Received: by bootes.cus.cam.ac.uk 
	(Smail-3.1.29.0 #36) id m0t1P0f-000BzJC; Sat, 7 Oct 95 03:29 BST
Received: by chiark
	id <m0t1Oz0-0002cLZ@chiark.al.cl.cam.ac.uk>
	(Debian /\oo/\ Smail3.1.29.1 #29.33); Sat, 7 Oct 95 03:27 BST
Message-Id: <m0t1Oz0-0002cLZ@chiark.al.cl.cam.ac.uk>
Date: Sat, 7 Oct 95 03:27 BST
From: Ian Jackson <iwj10@cus.cam.ac.uk>
To: Debian bugs submission address <debian-bugs@pixar.com>
X-Debian-Cc: Aldabra Stoddard <pas14@cus.cam.ac.uk>
Subject: xbase contains /dev/:0 -> /dev/console

Package: xbase
Version: 3.1.2-3

-chiark:~> ll /dev/:0
lrwxrwxrwx   1 root     500             7 Sep 20 22:30 /dev/:0 -> console
-chiark:~> dpkg -=search /dev/:0
xbase: /dev/:0
-chiark:~> 

I don't know why this was put there, but it breaks `talk'.

When logging in using X the `sessreg' program is used to add a utmp
entry:
-chiark:~> who
ian      :0       Oct  6 13:13
[...]
-chiark:~>

:0 appears in the ut_line field in utmp.

If one then gets a talk request the talk daemon obviously and
correctly tries to see if /dev/:0 is useable.  (Usually the ut_line
field contains `ttyp3' or something similar.)  Unfortunately, because
of the symlink, talk sees that /dev/console is available and uses it.

This means that the talk request message gets sent to the current VC,
which is usually the X VC.  The user hears console-style beeps, but is
unable to find where they are coming from.

Ian.

Acknowledgement sent to Ian Jackson <iwj10@cus.cam.ac.uk>:
New bug report received and forwarded. Copy sent to Aldabra Stoddard <pas14@cus.cam.ac.uk>. Full text available.
Report forwarded to debian-devel@pixar.com:
Bug#1558; Package xbase. Full text available.
Ian Jackson / iwj10@thor.cam.ac.uk, with the debian-bugs tracking mechanism
This page last modified 07:43:01 GMT Wed 01 Nov