utmp not updated

From: Vincent Rivière (riviere_at_iut-rodez.fr)
Date: 11/15/05

  • Next message: Robert S: "Re: Spamassassin not doing blacklist lookups"
    To: <debian-user@lists.debian.org>
    Date: Tue, 15 Nov 2005 12:53:11 +0100
    
    

    Hello.

     

    I have problems with the who command.

    Sometimes (once a week ?), the list of users shown by the who command gets
    frozen, and is no more updated as the users logs in/out.

    If I look at the last modification time of the file /var/run/utmp, I can see
    that it is no more upated.

    If I reboot, the the who command works again, for one week, then freeze
    again.

    The problem may appear when a lot of users (>20) open a Gnome session at the
    same time on X terminals.

     

    What can be the cause ?

    Is my utmp file getting corrupted ?

    Is there a lock somewhere preventing the utmp file to be updated ?

     

    Any help is welcome.

     

    My config :

    System : current Debian/testing

    Platform : x86

    Kernel : 2.4 or 2.6

     

    Vincent.

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Robert S: "Re: Spamassassin not doing blacklist lookups"

    Relevant Pages

    • Re: Help - /bin/login overwriting active utmp entries
      ... I also understood that the utmp file was to be a history of logins - ... corresponding logout entry). ... If the system crashes, the "last" command ...
      (comp.os.linux)
    • Re: local user identification
      ... > I need to know if the user of my program is a local user of ... > the machine or a remote one (connected to the machine with ... and sudo command takes into account where user have been ... they do so by looking into utmp file. ...
      (comp.unix.programmer)
    • AIX 4.3 bug with "who" command
      ... Some deconnected pts sessions stays in utmp file, so "who" command show ... Where could i found an AIX PATCH? ...
      (comp.unix.aix)
    • Re: [opensuse] Timestamping [ Was : Converting file system]
      ... On Thursday 26 April 2007 04:50, Carlos E. R. wrote: ... The things is, if the modification time is the same, the file data ... backup programs that want to reset the file times of the restored file ... when that command exited, restore the files' times. ...
      (SuSE)
    • Re: /usr/bin/login patch question
      ... > The 'chmod' command does not change the modification time of the inode. ...
      (Focus-SUN)