Quote:
|
In the meantime, something like this near the top of rc.networkmanager should move the problem somewhere other than /:
Code:
XDG_CACHE_HOME=/run |
Quote:
|
Quote:
:D :D :D |
Grr - This issue is back in -current with the latest NetworkManager-1.8.0 which silently overwrote my existing /etc/rc.d/rc.networkmanager on upgrade.
|
Quote:
|
The problem is in this function of the doinst.sh
Code:
preserve_perms() { Perhaps Code:
cp -a ${OLD} ${OLD}.orig |
preserve_perms() usually has a config $NEW rather than a mv $NEW $OLD where files are to be treated as config files and left for the user to manage. It would probably be more in keeping with the slackware way of doing things to do that than creating a *.orig in this case.
|
The .cache folder is using by some apps or services.
In my $HOME/.cache i have some folders like gstreamer-1.0 , obexd , google-crome , and others. Is not an error ,some apps, want this ,if no exists "create a new one". Thats all. |
Quote:
PS The XDG Base Directory Specification states: Quote:
|
@burdi01:from the ChangeLog for Slackware-Current:
Code:
Fri May 26 22:40:13 UTC 2017 PS This complies to the XDG Base Specification as reminded by my previous post. Sounds logical as our friend LP is both NM's author and a co-author of the spec :D(1) PPS I just checked: when /etc/rc/d.rc.M starts rc.networkmanager, $HOME is set to "/". I have no idea on why nor what sets it, but that sounds weird as POSIX states: Code:
HOME Anyway as rc.M runs on behalf of root, setting XDG_CACHE_HOME as /root/.cache in rc.networkmanager is indeed the right thing to do. EDIT (1) No LP is not author of NM, sorry for this mistake. As we say here on ne prête qu'aux riches. |
I still cannot help feeling that this solution is working around the problem rather that resolving the cause.
Anyway, marking this thread as solved. Thks everyone. :D Edit: Hmm, when reading back this post I notice that it sounds more negative than I meant it to be. |
Quote:
|
Quote:
The alternative would be that if HOME is set to / NM sets it to /root. I wouldn't like that at all, as it would be too much intrusive: it's simply not NM's job to set HOME. Doing that in the startup script instead is way better, as the admin can easily change this setting if so inclined. |
Previous content deleted: I mistakenly quoted my post #41 instead of editing it, sorry.
|
All times are GMT -5. The time now is 07:18 AM. |