[DNG] libpam-xdg-support / libpam-systemd

2015-09-10 Thread tilt!
Hi, for jack-autostart i need to store some data in a per-user file across the lifetime of the jackd process. It's a pretty typical tempfile, when the process goes away, it will be considered stale, when the system is rebooted, it should be discarded. It may exist once per user. Since i already

Re: [DNG] libpam-xdg-support / libpam-systemd

2015-09-10 Thread Roger Leigh
On 10/09/2015 12:11, tilt! wrote: Since i already use $HOME/.config for configuration data, which more precisely is the default setting of XDG_CONFIG_HOME (according to [1]), i would like to consider the pendant XDG_RUNTIME_DIR for the tempfile i have described. Unfortunately, the specification

Re: [DNG] libpam-xdg-support / libpam-systemd

2015-09-10 Thread tilt!
Hi Roger, On 09/10/2015 01:46 PM, Roger Leigh wrote: On 10/09/2015 12:11, tilt! wrote: Question open for debate: On a systemd-free system, should an alternative exist which assumes the task of initializing XDG envvars as described by [1] in the way done by [3]? > [...] Thank you very much fo

Re: [DNG] libpam-xdg-support / libpam-systemd

2015-09-10 Thread Jaromil
On Thu, 10 Sep 2015, Roger Leigh wrote: > So my recommendation here would be to > - place /run/user in a subdirectory of /tmp > - configure XDG_RUNTIME_DIR to use this location either in a PAM > module, or even by hardcoding the default to use this location--the > specification might not provide th

Re: [DNG] ia32-libs on amd64

2015-09-10 Thread hal
On September 9, 2015 5:44:31 AM CDT, Adam Borowski wrote: :: :: ia32-libs is gone, replaced by multiarch. Do "dpkg :: --add-architecture i386" :: then apt-get update and install whatever libraries you want, giving :: them :: :386 suffix (like libc6:i386). :: Thank you Adam! _

Re: [DNG] libpam-xdg-support / libpam-systemd

2015-09-10 Thread tilt!
Hi, in Ubuntu defaults are in X11/Xsession.d/60x11-common_xdg_path which is shipped by x11-common and sourced by XSession > BTW there is some XDG_* env setting also in X11/Xsession.d/00upstart Ok, now if only we knew what to actually use as a default for XDG_RUNTIME_DIR; it is a per-user se

Re: [DNG] libpam-xdg-support / libpam-systemd

2015-09-10 Thread Roger Leigh
On 10/09/2015 20:33, tilt! wrote: Hi, in Ubuntu defaults are in X11/Xsession.d/60x11-common_xdg_path which is shipped by x11-common and sourced by XSession > BTW there is some XDG_* env setting also in X11/Xsession.d/00upstart Ok, now if only we knew what to actually use as a default for X

Re: [DNG] libpam-xdg-support / libpam-systemd

2015-09-10 Thread Daniel Reurich
On 10/09/15 23:46, Roger Leigh wrote: On 10/09/2015 12:11, tilt! wrote: Since i already use $HOME/.config for configuration data, which more precisely is the default setting of XDG_CONFIG_HOME (according to [1]), i would like to consider the pendant XDG_RUNTIME_DIR for the tempfile i have descr

Re: [DNG] libpam-xdg-support / libpam-systemd

2015-09-10 Thread tilt!
Hi, On 09/10/2015 10:01 PM, Roger Leigh wrote: > On 10/09/2015 20:33, tilt! wrote: >> [...] >> Come to think of it, my choice of >> >> ${XDG_RUNTIME_DIR:-/tmp/run/$USER} >> >> is no good, because, just as an example, if $USER comes from an AD >> domain or LDAP it might contain '\'; in the least,