← Back to team overview

desktop-packages team mailing list archive

[Bug 771661] Re: Allow .xsession-errors to be a symlink

 

** Tags added: testcase

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

Title:
  Allow .xsession-errors to be a symlink

Status in GDM: The Gnome Display Manager:
  Fix Released
Status in Lucid Backports:
  Fix Released
Status in “gdm” package in Ubuntu:
  Fix Released
Status in “gdm” source package in Lucid:
  Fix Released

Bug description:
  Binary package hint: gdm

  Bug 60448 discusses the problem about ~/.xsession-errors growing
  unbearably large when there are buggy programs spamming it. One remedy
  is to allow ~/.xsession-errors to be a symlink to e. g. /dev/null or a
  local file, so that you can at least avoid network contention if ~ is
  on NFS.

  scm sent a first patch for this (https://launchpadlibrarian.net/70203386/gdm-session-worker.c.diff). This should be cleaned up to use g_file_test() and reported upstream.
   
  SRU TEST CASE:
   * Remove ~/.xsession-errors and ~/.xsession-errors.old
   * ln -s /tmp/xe ~/.xsession-errors
   * Reboot and log back in.
     -> Current behavior: the ~/.xsession-errors symlink gets rotated to ~/.xsession-errors.old, and a new ~/.xsession-errors is created as a regular file.
     -> Desired behaviour: ~/.xsession-errors remains a symlink, and the target file /tmp/xe is truncated for the new session.

To manage notifications about this bug go to:
https://bugs.launchpad.net/gdm/+bug/771661/+subscriptions