← Back to team overview

desktop-packages team mailing list archive

[Bug 1328677] Re: unity first-run stamp should not be in XDG_CACHE_HOME

 

** Changed in: unity
       Status: Fix Committed => Fix Released

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

Title:
  unity first-run stamp should not be in XDG_CACHE_HOME

Status in Unity:
  Fix Released
Status in Unity 7.2 series:
  In Progress
Status in unity package in Ubuntu:
  Fix Released
Status in unity source package in Trusty:
  Fix Released

Bug description:
  [ Impact ]

  The unity first_run.stamp file should not be in XDG_CACHE_HOME.  As it
  is a _cache_, it can be ephemeral.  Rather, it should be in
  XDG_CONFIG_HOME.  Once the keyboard shortcut list, for example, has
  been presented, I don't need to be told about it again, even if I need
  to purge my ~/.cache directory.

  This is a problem at our site, where XDG_CACHE_HOME is stored on a
  temporary filesystem, to cut down on the tremendous amount of useless
  network traffic between workstations and the user's file server.  As a
  result, users now have to learn about Unity keyboard shortcuts on
  every single login.

  [ Test Case ]

  On a non-fresh install, log in to the Unity desktop.  The Shortcuts
  screen should ne be displayed.

  [ Regression Potential ]

  The regression potential in Ubuntu 14.04 LTS is nil since
  XDG_CONFIG_HOME is required to be writable in that distribution.

  [ Other Info ]

  The Ubuntu 14.04 LTS SRU was cherry-picked from Ubuntu 14.10 where the
  fix has been in production use for some time and has been stable.

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