← Back to team overview

touch-packages team mailing list archive

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

 

Attached debdiff between trusty-updates and SRU.

** Branch unlinked: lp:~unity-team/unity/trusty-1328677

** Patch added: "debdiff between unity_7.2.3+14.04.20140826-0ubuntu1 and unity_7.2.4+14.04.20141217-0ubuntu1"
   https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1328677/+attachment/4289426/+files/unity_7.2.4%2B14.04.20141217-0ubuntu1.debdiff

** Description changed:

+ [ 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.
  
- Relevant info:
+ [ Test Case ]
  
- unity:
-   Installed: 7.2.1+14.04.20140513-0ubuntu2
-   Candidate: 7.2.1+14.04.20140513-0ubuntu2
-   Version table:
-  *** 7.2.1+14.04.20140513-0ubuntu2 0
-         500 http://mirrors.mit.edu/ubuntu/ trusty-updates/main amd64 Packages
-         100 /var/lib/dpkg/status
-      7.2.0+14.04.20140423-0ubuntu1.2 0
-         500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
-      7.2.0+14.04.20140416-0ubuntu1 0
-         500 http://mirrors.mit.edu/ubuntu/ trusty/main amd64 Packages
+ On a non-fresh install, log in to the Unity desktop.  The Shortcuts
+ screen should ne be displayed.
  
- Distributor ID:	Ubuntu
- Description:	Ubuntu 14.04 LTS
- Release:	14.04
- Codename:	trusty
+ [ 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.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity in Ubuntu.
https://bugs.launchpad.net/bugs/1328677

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

Status in Unity:
  Fix Committed
Status in Unity 7.2 series:
  In Progress
Status in unity package in Ubuntu:
  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