sshd udev & pty...

Nathanael D. Noblet nathanael at gnat.ca
Wed Nov 16 21:55:15 UTC 2005


On Wed, 2005-11-16 at 21:45 +0000, Mike Frysinger wrote:
> On Wed, Nov 16, 2005 at 01:38:49PM -0800, Nathanael D. Noblet wrote:
> > On Wed, 2005-11-16 at 20:16 +0000, Mike Frysinger wrote:
> > > On Wed, Nov 16, 2005 at 11:21:34AM -0800, Nathanael D. Noblet wrote:
> > > > One question I have is that the /dev/pts entry only says
> > > > (rw) as options when fstab says rw,gid=5,mode=620 .. is that my problem?
> > > 
> > > run `cat /proc/mounts` to get different mount info
> > > 
> > > why are you mounting it so restrictive ?  i would change your fstab
> > > stuff to simply 'defaults' and see if that fixes it
> > 
> > RHEL 3 & Ubuntu mount with those options... and the
> > buildroot/target/generic/target_skeleton/etc/fstab is setup that way as
> > well.
> 
> hmm, and we do the samething in Gentoo :)
> mount -t devpts -o gid=5,mode=0620 devpts /dev/pts
> 
> > > > Does anyone know? Why when opening /dev/ptmx a /dev/pts/X entry isn't
> > > > created? I remember however looking at /dev/pts and seeing 0-5... odd.
> > > 
> > > nodes in /dev/pts are automatically generated ... thus you should only
> > > see nodes in there that are actually being used
> > 
> > Yeah, that is the problem. They aren't showing up there. I think the
> > reason is the mis-mounted permissions. I changed the permissions, logged
> > out and logged back in, voila it works. So now I have to figure out why
> > it doesn't mount properly in the first place.
> 
> hmm, maybe just try 'defaults,gid=5' and see if it works ...

Here's the link I was talking about. Don't know what change_console -r
does keep looking I guess...
https://www.redhat.com/archives/fedora-list/2004-September/msg02311.html

-- 
Nathanael D. Noblet
Gnat Solutions
http://www.gnat.ca/
T 250.385.4613
C 250.893.4613




More information about the uClibc mailing list