Re: Sid: devfsd: following upgrade, can't open pseudo-tty (rxvt, xterm)
Karsten M. Self wrote:
> I've just done a nightly upgrade on Sid.
I, too.
> I now cannot open a new terminal window, getting e.g.:
>
> $ rxvt
> rxvt: can't open pseudo-tty
> rxvt: aborting
>
> I can open a terminal as root, leading me to suspect a permissions
> error.
Sounds reasonable. I'm having no problems, so maybe the differences between
our configurations will account for your troubles.
> File permissions on /dev/pts (I'm using the devfs 2.4 kernel /dev
> filesystem, not the more traditional /dev filesystem):
>
> drw-rw---- 1 root tape 0 Dec 31 1969 /dev/pts
>
> ...the use of the "tape" group strikes me as odd.
No kidding.
> Someone got the proper UID/GID combination and access modes for this
> directory?
Mine is owned by root.tty (GID 5), with mode 0755.
> Any thoughts on the package(s) that have changed perms? Only reference
> I can find to /dev/pts is /var/lib/dpkg/info/xterm.config, but it
> doesn't
>
> Hmm...
>
> I'm also running devfsd (this is a compatibility daemon which makes it
> appear as if old-style 'dev' files still exist), among config files in
> /etc/devfsd, I find:
>
> ./devfsd.conf:REGISTER ^pts/.* PERMISSIONS -1.tty 0600
>
>
> ...and, yes, it looks as if there are several bugs filed against devfsd:
>
> http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=devfsd
>
>
> So, looks as if this is a known bug.
>
> Anyone else with data, or a devfsd.conf line for pts from an earlier
> version?
I also run devfsd. Here's the relevant lines from my /etc/devfs/perms:
REGISTER ^pts$ PERMISSIONS root.tty 0755
REGISTER ^pty[^/]*$ PERMISSIONS root.tty 0666
And from /etc/devfs/devfsd.conf:
REGISTER ^pts/.* PERMISSIONS -1.tty 0600
Hope that helps.
Craig
Reply to: