Hi Didier,
Didier 'OdyX' Raboud wrote:
Thanks for the bug report!
This basically means that to wants symlink files elsewhere than before.
The output of "env | fgrep XDG_" might be helpful.
The weird thing is that there weren't any changes which explains that
out of the box:
commit 35b8081adf5186e9ea8b366f3da027d6e3eed9f7
Author: Marcel Partap <mpartap@gmx.net>
Date: Wed Mar 2 22:59:32 2022 +0100
Only append UID if XDG_RUNTIME_DIR is unset
Note: I seem to have forgotten und mention this pull request in the
changelog. Fixed in git now.
Anyway, this was a bugfix which seemed to rather unbreak things than
break things. See https://github.com/xtaran/unburden-home-dir/pull/20
commit cbc8088fe133f4230104d3e7527a0806973d6dca
Author: Axel Beckert <abe@deuxchevaux.org>
Date: Mon Feb 14 00:23:01 2022 +0100
Fix wrong file name order in output when creating symlinks
Only happened when something actually was replaced by a symlink.
Note: This is just a change in the output formatting, not a change in
the logic.
commit 2f65f99ef8447ef886fa2e9e3b2f007aa5b738c6
Author: Axel Beckert <abe@deuxchevaux.org>
Date: Sun Feb 13 23:03:49 2022 +0100
Fix superfluous whitespace
Note: Same as above.
commit ced05b7a52e0e9736f9fcd6683898c84ab65c0ee
Author: Axel Beckert <abe@deuxchevaux.org>
Date: Sun Feb 13 22:07:54 2022 +0100
Support %i = user id in the FILELAYOUT configuration variable
Allows one to use /run/user/<numerical_id>/ as TARGETDIR. Add an
example for that as well.
Also make documentation of the configuration file easier to grok,
by using dotted lists for listing the format strings, etc.
Semantic versioning: Bump minor version due to an backwards
compatible feature.
Note: This just adds a potential format string, but doens't change any
logic.
That's all since 0.4.1.3. (And the only change in the script itself
between 0.4.1.2 and 0.4.1.3 was the version bump.)
And under etc/ there weren't any changes since 2017.
Then again, I noticed this, too, on one of my hosts. I thought I might
have toyed with a non-standard config for testing one of the changes
mentioned above and just uncommented this line in
/etc/unburden-home-dir to make it work again:
#TARGETDIR=/tmp
(But before you do the same change, please read until the end of this
mail and do "stat" that file.)
Actually this looks a bit like a result of this commit from 2015 between
0.3.3 and 0.4:
commit 65f632b73c7a78e6f30aae143eebb95e5bb15866
Author: Axel Beckert <abe@deuxchevaux.org>
Date: Sun Jul 5 01:43:27 2015 +0200
Don't set TARGETDIR in config by default but compute a sane
default value
The default value is determined as follows:
- Use $TARGETDIR if set in the configuration file.
- Else use $XDG_RUNTIME_DIR/$UID if it exists.
- Else use /run/user/$UID if it exists.
- Else use $TMPDIR if it exists.
- Else use /tmp/.
Requires new runtime dependency libfile-slurp-perl.
For coverage computation, the test suite is run twice, once with
and once without $TMPDIR and $XDG_RUNTIME_DIR being set.
Closes: #780387
So I wonder if for some reason the /etc/unburden-home-dir conffile got
updated this time while it didn't get update with quite a lot of
previous updates.
Can you also send me the output of "stat /etc/unburden-home-dir" in
case you didn't edit it since the update.
Regards, Axel