centos 6.4 /dev/pts/ptmx 出现问题

centos 6.4 /dev/pts/ptmx 出现问题

我在 CentOS 上运行的服务器有问题。 CentOS已升级至6.4版本并拥有所有更新。根据官方存储库进行更新。在运行 V-Server 的服务器上。

/etc/fstab

# Device     Mountpoint   FStype  Options                 Dump Pass
/dev/sda1      /boot      ext3    rw,noatime                1  2
/dev/vg0/root  /          ext3    rw,noatime                1  1
/dev/vg0/swap  none       swap    sw                        0  0
/dev/vg0/usr   /usr       ext3    rw,noatime                1  2
/dev/vg0/var   /var       ext3    rw,noatime                1  2
/dev/vg0/log   /var/log   ext3    rw,noatime                1  2
/dev/vg0/tmp   /tmp       ext3    rw,noatime,nosuid,noexec  1  2
/dev/vg0/home  /home      ext3    rw,noatime                1  2
/dev/vg0/vz    /vservers  ext3    rw,noatime                1  2
tmpfs          /dev/shm   tmpfs   defaults                  0  0
devpts         /dev/pts   devpts  rw,gid=5,mode=620         0  0
sysfs          /sys       sysfs   defaults                  0  0
proc           /proc      proc    defaults                  0  0

问题在于/dev/pts/ptmx

root@Hostname #/dev/pts > ls -la
total 0
drwxr-xr-x 2 root root 0 Sep 12 12:34 .
drwxr-xr-x 18 root root 3860 Sep 12 12:34 ..
crw--w---- 1 mmichalski tty 136, 0 Sep 12 12:53 0
c--------- 1 root root 5, 2 Sep 12 12:34 ptmx

如您所见,它没有任何权利。虚拟运行也是同样的情况。下面是虚拟的fstab文件

在 Vserver 上运行的虚拟上的 fstab

无 /proc proc 默认值 0 0
无 /tmp tmpfs size=16m,mode=1777 0 0
none /dev/pts devpts gid=5,mode=620 0 0

什么可能导致此问题以及在哪里寻找解决方案?

答案1

如果我读到文档正确的是,这是设计使然:

The only difference between this single-instance mode and the legacy mode
is the presence of new, '/dev/pts/ptmx' node with permissions 0000, which
can safely be ignored.

相关内容