Kind thanks, Zbyszek. Forgive init script habits. Systemd docs need
execution flowcharts. Maybe a wiki for best practice XDG? Setting up
users is basic sysadmin.
Reviewing pam_env, is /etc/environment a decent place to set XDG vars?
$USER works from there, yes? I guess $HOME/.pam_environment
On Sat, Nov 02, 2013 at 01:43:51AM +0200, Mantas Mikulėnas wrote:
On Sat, Nov 2, 2013 at 1:37 AM, Zbigniew Jędrzejewski-Szmek
zbys...@in.waw.pl wrote:
On Fri, Nov 01, 2013 at 11:02:30PM +, systemdki...@yopmail.com wrote:
Might some expert address:
On Sat, Nov 02, 2013 at 02:54:20AM +, systemdki...@yopmail.com wrote:
Zbigniew Jędrzejewski-Szmek wrote:
'systemctl --user show-environment' will show what's set
I get errors as normal user and root.
$ systemctl --user show-environment
Failed to issue method call: Process
Might some expert address:
https://bbs.archlinux.org/viewtopic.php?id=172220
It seems systemd pushes hard-wired paths irrespective of XDG vars, a
possible bug.
On this box XDG_DATA_HOME and XDG_CACHE_HOME point outside $HOME, while
XDG_CONFIG_HOME is the default ~/.config folder. XDG_DATA_DIRS
On Fri, Nov 01, 2013 at 11:02:30PM +, systemdki...@yopmail.com wrote:
Might some expert address:
https://bbs.archlinux.org/viewtopic.php?id=172220
It seems systemd pushes hard-wired paths irrespective of XDG vars, a
possible bug.
On this box XDG_DATA_HOME and XDG_CACHE_HOME point
On Sat, Nov 2, 2013 at 1:37 AM, Zbigniew Jędrzejewski-Szmek
zbys...@in.waw.pl wrote:
On Fri, Nov 01, 2013 at 11:02:30PM +, systemdki...@yopmail.com wrote:
Might some expert address:
https://bbs.archlinux.org/viewtopic.php?id=172220
It seems systemd pushes hard-wired paths irrespective of
Zbigniew Jędrzejewski-Szmek wrote:
Are you sure that systemd is actually running
with this variable set?
Excellent question, and no, I'm not sure.
If you can tell me how to determine the
answer, please do.
What I can say is that
1) XDG_DATA_HOME is set in /etc/profile.d on
Arch Linux, the
Zbigniew Jędrzejewski-Szmek wrote:
I guess that systemd should not create
the link if the destination doesn't exist.
+1
Mantas Mikulėnas wrote:
I'm curious why the symlink is created at all...
I know not why, but I do know that:
If a symlink is made, the C code should use $XDG_CONFIG_HOME to
Zbigniew Jędrzejewski-Szmek wrote:
'systemctl --user show-environment' will show what's set
I get errors as normal user and root.
$ systemctl --user show-environment
Failed to issue method call: Process /bin/false exited with status 1
$ su -
Password:
# systemctl --user show-environment