← Back to team overview

desktop-packages team mailing list archive

[Bug 864609] Re: libvte9 fails to record utmp/login entries

 

This bug has bad side-effects on others applications that use utmp. Of
course thismeans users and who are not correct but the timekpr is also
affected making parental control unavailable in xubuntu.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to vte in Ubuntu.
https://bugs.launchpad.net/bugs/864609

Title:
  libvte9 fails to record utmp/login entries

Status in “vte” package in Ubuntu:
  Confirmed
Status in “vte” package in Debian:
  New

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
             run-level 2  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
             run-level 2  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
  ProcVersionSignature: Ubuntu 3.0.0-12.19-generic 3.0.4
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vte/+bug/864609/+subscriptions