Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Nov 1996 02:40:35 +0100
From:      "Philippe Charnier" <charnier@xp11.frmug.org>
To:        joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: syslogd error on /dev/console 
Message-ID:  <199611240140.CAA00825@xp11.frmug.org>
In-Reply-To: Your message of "Sat, 23 Nov 1996 10:50:18 %2B0100." <199611230950.KAA02077@uriah.heep.sax.de> 

next in thread | previous in thread | raw e-mail | index | archive | help
Salut,

J Wunsch <j@uriah.heep.sax.de> wrote:

>As Philippe Charnier wrote:
>
>> Since the last change in syslogd, The first su command generates an error
>> in /var/log/messages speaking about /dev/console. xconsole does not always 
>> report messages from su.
>
>Would you kindly post the error message, too?  It's hard to guess
>what's happening on other people's machines. ;)
>

Sorry about that, was at work and didn't remember the exact message
Using syslogd.c v1.13 (v1.12 is ok for me)

boot -s
crw--w--w-  1 root  wheel  -   0,   0 Nov 24 ??:?? /dev/console
exit to multi-user mode
crw--w--w-  1 charnier  wheel  -   0,   0 Nov 24 02:15 /dev/console
log in as charnier via xdm
start an xterm

Nov 24 02:15:03 xp11 lpd[121]: restarted
xp11 [83] ~ % su
Password:
xp11# exit
exit
xp11 [84] ~ % tail /var/log/messages
Nov 24 02:15:03 xp11 lpd[121]: restarted
Nov 24 02:15:42 xp11 syslogd: /dev/console: Input/output error
Nov 24 02:15:42 xp11 su: charnier to root on /dev/ttyp1
xp11 [85] ~ % su
Password:
xp11# tail /var/log/messages
Nov 24 02:15:03 xp11 lpd[121]: restarted
Nov 24 02:15:42 xp11 syslogd: /dev/console: Input/output error
Nov 24 02:15:42 xp11 su: charnier to root on /dev/ttyp1
Nov 24 02:16:15 xp11 su: charnier to root on /dev/ttyp1
xp11# exit
exit
xp11 [86] ~ % su
Password:

No change in /var/log/messages

xp11 [87] ~ % su
Password:

Ditto

xp11 [88] ~ % su
Password:

Ditto

start another xterm and run su on it

xp11# tail /var/log/messages
Nov 24 02:15:03 xp11 lpd[121]: restarted
Nov 24 02:15:42 xp11 syslogd: /dev/console: Input/output error
Nov 24 02:15:42 xp11 su: charnier to root on /dev/ttyp1
Nov 24 02:16:15 xp11 su: charnier to root on /dev/ttyp1
Nov 24 02:17:39 xp11 last message repeated 3 times
Nov 24 02:17:51 xp11 su: charnier to root on /dev/ttyp2

Nothing written in xconsole. Note that sometimes, xconsole is able to
grab some of the messages.

Kernel(syscons) and world are at level cvs-cur#2730 (19961122090002Z).

------                                                            ------ 
Philippe Charnier                               charnier@lirmm.fr (smtp)       
                                          charnier@xp11.frmug.org (uucp) 

    ``a PC not running FreeBSD is like a venusian with no tentacles'' 
------------------------------------------------------------------------




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611240140.CAA00825>