From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1FvQa7-0001m2-5M for garchives@archives.gentoo.org; Wed, 28 Jun 2006 03:19:11 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k5S3HF7T016054; Wed, 28 Jun 2006 03:17:15 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k5S357rX014594 for ; Wed, 28 Jun 2006 03:05:08 GMT Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 4E6B964DF5 for ; Wed, 28 Jun 2006 03:05:07 +0000 (UTC) Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 13345-20 for ; Wed, 28 Jun 2006 03:05:05 +0000 (UTC) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id DA95D64845 for ; Wed, 28 Jun 2006 03:05:04 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FvQMP-0001p5-6a for gentoo-user@gentoo.org; Wed, 28 Jun 2006 05:05:01 +0200 Received: from www.buffer.net ([24.73.161.102]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 28 Jun 2006 05:05:01 +0200 Received: from wireless by www.buffer.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 28 Jun 2006 05:05:01 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: James Subject: [gentoo-user] Re: kconsole lost PTYs Date: Wed, 28 Jun 2006 03:04:55 +0000 (UTC) Message-ID: References: <20060628020610.GA9236@princeton.edu> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 24.73.161.102 (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060616) Sender: news X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Status: No, score=-2.577 required=5.5 tests=[AWL=0.022, BAYES_00=-2.599, UPPERCASE_25_50=0] X-Spam-Score: -2.577 X-Spam-Level: X-Archives-Salt: 5e025e0c-2f4c-43be-9aab-b252478822e1 X-Archives-Hash: b1bdea25d15646bee94ce2fe4df7533a Willie Wong Princeton.EDU> writes: > On Wed, Jun 28, 2006 at 12:57:30AM +0000, Penguin Lover James squawked: > > Well I found a temporary work around, but it does not solve > > the problem. > > chown root:tty /dev/pty* > > chown root:tty /dev/tty* > > chmod 666 /dev/null > > I'd sure like to know what to remerge to fix this problem. > > hal ? udev ? > If you are running udev, check > /etc/udev/permissions.d/50-udev.permissions > it should have lines like > tty:root:tty:0666 > tty[0-9]*:root:tty:0660 > and > null:root:root:0666 > zero:root:root:0666 Well I put udev in my /etc/portage/package.keyworks to get the latest version, thinking that might fix the problem. It do not. # egrep tty 50-udev.rules KERNEL=="pty[pqrstuvwxyzabcdef][0123456789abcdef]", NAME="%k", GROUP="tty", OPTIONS="last_rule" KERNEL=="tty[pqrstuvwxyzabcdef][0123456789abcdef]", NAME="%k", GROUP="tty", OPTIONS="last_rule" KERNEL=="vcs*", NAME="%k", GROUP="tty", OPTIONS="last_rule" KERNEL=="vcsa*", NAME="%k", GROUP="tty", OPTIONS="last_rule" KERNEL=="tty", NAME="%k", GROUP="tty", MODE="0666", OPTIONS="last_rule" KERNEL=="tty[0-9]", NAME="%k", GROUP="tty", OPTIONS="last_rule" KERNEL=="tty[0-9][0-9]", NAME="%k", GROUP="tty", OPTIONS="last_rule" KERNEL=="console", NAME="%k", GROUP="tty", MODE="0600" KERNEL=="ptmx", NAME="%k", GROUP="tty", MODE="0666" # tty devices KERNEL=="ttyS[0-9]*", NAME="%k", SYMLINK="tts/%n", GROUP="tty" KERNEL=="ttyUSB[0-9]*", NAME="%k", SYMLINK="tts/USB%n", GROUP="tty", MODE="0660" KERNEL=="ippp0", NAME="%k", GROUP="tty" KERNEL=="isdn*" NAME="%k", GROUP="tty" KERNEL=="dcbri*", NAME="%k", GROUP="tty" KERNEL=="ircomm*", NAME="%k", GROUP="tty" # alias pnp:dPNP0510 irtty-sir # alias pnp:dPNP0511 irtty-sir Likewise: # egrep null 50-udev.rules KERNEL=="null", NAME="%k", MODE="0666" Want to suggest specific changes to which lines? It looks as though the (mode) permissions and groups are getting set per the udev files? James -- gentoo-user@gentoo.org mailing list