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

John Drinkwater john at nextraweb.com
Tue Jan 19 13:38:44 UTC 2016


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 at joran ~ ❯ tree .cache
.cache
├── motd.legal-displayed
└── upstart

As everything else already behaves:
john at 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 at 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
Foundations Bugs, 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



More information about the foundations-bugs mailing list