public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: James <wireless@tampabay.rr.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user]  Re: kconsole lost PTYs
Date: Wed, 28 Jun 2006 03:04:55 +0000 (UTC)	[thread overview]
Message-ID: <loom.20060628T045958-360@post.gmane.org> (raw)
In-Reply-To: 20060628020610.GA9236@princeton.edu

Willie Wong <wwong <at> 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 <shows these lines>

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



  reply	other threads:[~2006-06-28  3:19 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-27 18:20 [gentoo-user] kconsole lost PTYs James
2006-06-28  0:57 ` [gentoo-user] " James
2006-06-28  2:06   ` Willie Wong
2006-06-28  3:04     ` James [this message]
2006-06-28  5:35       ` Willie Wong
2006-06-28 13:32         ` James
2006-06-29 19:19         ` James
2006-06-29 20:34           ` Willie Wong
2006-06-30 14:28             ` James
2006-06-30 15:53             ` James
2006-06-30 16:16               ` [gentoo-user] PATCHED: " James
2006-06-30 20:09               ` [gentoo-user] " Willie Wong
2006-06-28  7:37   ` Neil Bothwick
2006-06-28 13:57     ` James
2006-06-28 15:23       ` Neil Bothwick
2006-06-28 17:37         ` James
2006-06-28 17:55           ` Neil Bothwick
2006-06-29 19:34         ` James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20060628T045958-360@post.gmane.org \
    --to=wireless@tampabay.rr.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox