From owner-freebsd-current Sat Nov 23 17:54:35 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA22831 for current-outgoing; Sat, 23 Nov 1996 17:54:35 -0800 (PST) Received: from frmug.org (frmug-gw.frmug.org [193.56.58.252]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id RAA22826 for ; Sat, 23 Nov 1996 17:54:32 -0800 (PST) Received: (from uucp@localhost) by frmug.org (8.8.2/8.8.2/frmug-1.2) with UUCP id CAA27944; Sun, 24 Nov 1996 02:54:22 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by xp11.frmug.org (8.8.3/8.7.3/xp11-uucp-1.1) with ESMTP id CAA00825; Sun, 24 Nov 1996 02:40:35 +0100 (CET) Message-Id: <199611240140.CAA00825@xp11.frmug.org> To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) cc: freebsd-current@FreeBSD.org Subject: Re: syslogd error on /dev/console In-reply-to: Your message of "Sat, 23 Nov 1996 10:50:18 +0100." <199611230950.KAA02077@uriah.heep.sax.de> Date: Sun, 24 Nov 1996 02:40:35 +0100 From: "Philippe Charnier" Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Salut, J Wunsch 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'' ------------------------------------------------------------------------