libvte9 fails to record utmp/login entries
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vte (Debian) |
Fix Released
|
Unknown
|
|||
vte (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When using xfce4-terminal (0.4.8-1) on freshly installed Xubuntu 11.10 beta2 x86_64 no utmp entries are being recorded.
On the same machine login, sshd, screen, xterm and gnome-terminal all record utmp entries successfully.
This is an example output of "w" and "who" run on a machine with several xfce4-terminals open:
snabb@oil:~$ w
19:47:37 up 2:32, 0 users, load average: 0.52, 2.00, 2.81
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
snabb@oil:~$ who am i
snabb@oil:~$ who -a
system boot 2011-10-02 17:15
LOGIN tty4 2011-10-02 17:15 1255 id=4
LOGIN tty5 2011-10-02 17:15 1259 id=5
LOGIN tty2 2011-10-02 17:15 1266 id=2
LOGIN tty3 2011-10-02 17:15 1268 id=3
LOGIN tty6 2011-10-02 17:15 1274 id=6
LOGIN tty1 2011-10-02 17:15 2198 id=1
snabb@oil:~$
This is an example output when xterm is being used (with one window open). It can be seen that xterm records utmp entries successfully:
snabb@oil:~$ w
19:49:47 up 2:34, 1 user, load average: 0.32, 1.38, 2.48
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
snabb pts/14 :0.0 19:49 0.00s 0.33s 0.01s w
snabb@oil:~$ who am i
snabb pts/14 2011-10-02 19:49 (:0.0)
snabb@oil:~$ who -a
system boot 2011-10-02 17:15
LOGIN tty4 2011-10-02 17:15 1255 id=4
LOGIN tty5 2011-10-02 17:15 1259 id=5
LOGIN tty2 2011-10-02 17:15 1266 id=2
LOGIN tty3 2011-10-02 17:15 1268 id=3
LOGIN tty6 2011-10-02 17:15 1274 id=6
LOGIN tty1 2011-10-02 17:15 2198 id=1
snabb + pts/14 2011-10-02 19:49 . 10462 (:0.0)
snabb@oil:~$
Some additional observations:
- I am surprised that gnome-terminal does NOT exhibit this problem. I thought that both xfce4-terminal and gnome-terminal just use libvte routines for utmp handling.
- utmp was recently moved to /run/utmp. Maybe this is related?
I will add additional details to this report in case I notice something useful.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: xfce4-terminal 0.4.8-1
ProcVersionSign
Uname: Linux 3.0.0-12-generic x86_64
ApportVersion: 1.23-0ubuntu2
Architecture: amd64
Date: Sun Oct 2 19:42:57 2011
InstallationMedia: Xubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110920.2)
ProcEnviron:
LANGUAGE=en_US:en
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: xfce4-terminal
UpgradeStatus: No upgrade log present (probably fresh install)
CVE References
Changed in vte (Debian): | |
status: | Unknown → New |
Changed in vte (Debian): | |
status: | New → Fix Released |
Some additional details about this bug:
I run "strace -o trace.out -f xfce4-terminal" and found the following:
6828 execve( "/usr/lib/ vte/gnome- pty-helper" , ["gnome- pty-helper" ], [/* 54 vars */]) = -1 ENOENT (No such file or directory)
On my system "locate gnome-pty-helper" tells me the following:
/usr/lib/ libvte2- 90/gnome- pty-helper libvte9/ gnome-pty- helper
/usr/lib/
Thus the path of gnome-pty-helper is wrong somewhere.
I also tried "strace -o trace.out -f gnome-terminal" for comparison. In that case the path of gnome-pty-helper is correct:
9000 execve( "/usr/lib/ libvte2- 90/gnome- pty-helper" , ["gnome- pty-helper" ], [/* 50 vars */]) = 0