Control: tag -1 + moreinfo Hi Didier,
Didier 'OdyX' Raboud wrote: > With 0.4.2, after noticing my directories didn't get symlinked, I tried to > run unburden-home-dir by hand and I got the following error(s) (with or > without -F): Thanks for the bug report! > WARNING: Can't handle /home/didier/.cache: /tmp/.unburden-didier/cache not > equal /run/user/1000/.unburden-didier/cache at /usr/bin/unburden-home-dir > line 245, <$list_fh> line 2 This basically means that to wants symlink files elsewhere than before. > I haven't spent much time investigating; as 0.4.1.2 works for me now. > > Anything I could do to help? 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 <mpar...@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 <a...@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 <a...@deuxchevaux.org> Date: Sun Feb 13 23:03:49 2022 +0100 Fix superfluous whitespace Note: Same as above. commit ced05b7a52e0e9736f9fcd6683898c84ab65c0ee Author: Axel Beckert <a...@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 <a...@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 -- ,''`. | Axel Beckert <a...@debian.org>, https://people.debian.org/~abe/ : :' : | Debian Developer, ftp.ch.debian.org Admin `. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5 `- | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE