← Back to team overview

touch-packages team mailing list archive

[Bug 467300] Re: motd-legal files don't respect XDG_CACHE_HOME

 

Reasons to want this ‘configurable’ is to match the rest of the system, as this is one of the few remaining binaries that writes into ~/.cache
john@joran ~ ❯ tree .cache
.cache
├── motd.legal-displayed
└── upstart

As everything else already behaves:
john@joran ~ ❯ set | grep XDG_.*_HOME
XDG_CACHE_HOME=/home/john/settings/cache
XDG_CONFIG_HOME=/home/john/settings/config
XDG_DATA_HOME=/home/john/settings/data
XDG_STATE_HOME=/home/john/settings/state
john@joran ~ ❯ tree $XDG_CONFIG_HOME | wc
   2525   11435  126830

Current solution is having this module not run instead.

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

Title:
  motd-legal files don't respect XDG_CACHE_HOME

Status in pam package in Ubuntu:
  Triaged

Bug description:
  Binary package hint: base-files

  The files $XDG_CACHE_HOME/motd.legal-displayed and
  $XDG_CACHE_HOME/motd/legal-displayed don't respect the value of
  XDG_CACHE_HOME, they will always be stored in ~/.cache.

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