Package: xen-tools
Version: 3.9-2
Severity: normal
Tags: patch

Hello,

I created a Fedora Core 7 image and soon had problems with users pseudo 
terminals, for example screen was 
always exiting with "Sorry could not find a PTY" error message and 
gnome-terminal not running; running as root user 
gave no problems.

I found that I need to manually add this line to /etc/fstab in domU:

devpts          /dev/pts        devpts  rw,noexec,nosuid,gid=5,mode=620 0 0

after mounting (mount /dev/pts) all is running fine.

Please find attached a tiny patch.

Thank you for your good work.

Ciao.
Giovanni.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-xen-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages xen-tools depends on:
ii  debootstrap                 0.3.3.2etch1 Bootstrap a basic Debian system
ii  libconfig-inifiles-perl     2.39-2       Read .ini-style configuration file
ii  libtext-template-perl       1.44-1.1     Text::Template perl module
ii  perl-modules                5.8.8-7etch1 Core Perl modules

Versions of packages xen-tools recommends:
pn  libexpect-perl                <none>     (no description available)
ii  reiserfsprogs                 1:3.6.19-4 User-level tools for ReiserFS file
ii  rinse                         1.0-1      RPM installation environment
ii  xen-hypervisor-3.0.3-1-amd64  3.0.3-0-4  The Xen Hypervisor on AMD64
ii  xen-hypervisor-3.2-1-amd64 [x 3.2.0-4    The Xen Hypervisor on AMD64
ii  xen-shell                     1.8-1      Console based Xen administration u
pn  xfsprogs                      <none>     (no description available)

-- no debconf information
--- /usr/lib/xen-tools/fedora-core-7.d/90-make-fstab    2008-02-20 
22:27:15.000000000 +0100
+++ 90-make-fstab.fix   2008-04-07 22:59:28.000000000 +0200
@@ -62,8 +62,9 @@
 cat <<E_O_FSTAB > ${prefix}/etc/fstab
 # /etc/fstab: static file system information.
 #
-# <file system> <mount point>   <type>  <options>       <dump>  <pass>
-proc            /proc           proc    defaults        0       0
+# <file system> <mount point>   <type>  <options>                      <dump>  
<pass>
+proc            /proc           proc    defaults                       0       0
+devpts          /dev/pts        devpts  rw,noexec,nosuid,gid=5,mode=620        
0       0
 E_O_FSTAB
 for part in `seq 1 ${NUMPARTITIONS}`; do
     eval "PARTITION=\"\${PARTITION${part}}\""

Reply via email to