Thank you very much! I’ve had no idea that a piece of fine tuning like this is possible. It can be a life saver some day.
Meanwhile, my problems are subtler than this
I’ve got two boxes powered with Manjaro KDE, one of them “intact” - no fooling with system directories, no visible quirks. I checked the relevant permissions:
drwx------ 2 root root 4096 дек 12 18:01 .config
nothing there, no error messages…
Another weird thing: stm32cubeide AUR package won’t install on the box with the /var and /opt moved. It can’t be relevant anyway because all the building takes place in the user space. Still, makepkg fails, just as yay -S stm32cubeide does.
So I build the package on the good box, carry it to the tampered with, and install:
$ yay -U stm32cubeide-1.8.0-1-x86_64.pkg.tar.zst
Success(of sorts)!
Today I tried to build the package again on the bad box, just to report the errors.