Kaputtes /dev/pts/*
Thomas Laubrock
log-owl at laubrock.de
Sat May 3 01:36:08 CEST 2008
Hi,
habe hier auf einem Debian Etch das Problem, dass seit dem Kernel Update
von 2.6.18 auf 2.6.21 irgendwas mit /dev/pts nicht in Ordnung ist.
Als Symptom kann ich unter X keine Terminals mehr öffnen.
Der mount von /dev/pts sieht erst mal O.K.aus:
kieken:/data/home/thl# mount
/dev/sda1 on / type ext3 (rw)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
/sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
/dev/mapper/lvg1-llv on /data type ext3 (rw,user_xattr)
/dev/mapper/lvg1-llvideo on /video type ext3 (rw,user_xattr)
tmpfs on /dev type tmpfs (rw,size=10M,mode=0755)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
kieken:/data/home/thl#
Allerdings hilft ein umount und dann ein mount:
kieken:/data/home/thl#umount /dev/pts
umount: devpts: not found
umount: /dev/pts: not mounted
umount: devpts: not found
umount: /dev/pts: not mounted
Die Meldungen ist irgendwie seltsam, weil ja wie oben zu sehen /dev/pts
wirklich gemountet ist.
Die Meldungen tauchen auch wirklich doppelt auf.
Mit einem :
kieken:/data/home/thl# mount -o noexec,nosuid,rw,gid=5,mode=0620 -t
devpts devpts /dev/pts
Sieht es dann fast wieder gleich aus:
kieken:/data/home/thl# mount
/dev/sda1 on / type ext3 (rw)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
/sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
/dev/mapper/lvg1-llv on /data type ext3 (rw,user_xattr)
/dev/mapper/lvg1-llvideo on /video type ext3 (rw,user_xattr)
tmpfs on /dev type tmpfs (rw,size=10M,mode=0755)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
kieken:/data/home/thl#
und unter X kann ich auch wieder Terminals öffnen.
Aus der /etc/fstab habe ich /dev/pts komplett auskommentiert, aber es
wird immer noch gemountet.
Ein paar init.d scripte scheinen das ganze auch zu mounten.
Auf einem anderen Debian Etch sind aber die gleichen Scripte am werk und
alles funktioniert.
Leider finde ich gar nichts in den Logs, wann und wer /dev/pts mountet.
Hat jemand eine Idee, wo ich noch schauen kann.
Danke
Thomas
More information about the Linux
mailing list