On 26/11/2018 10.49, Ralph wrote:
On Sun, 25 Nov 2018 20:01:33 -0500 Patrick Shanahan <paka@opensuse.org> wrote:
* Ralph <suselist@cableone.net> [11-25-18 19:50]:
[os Leap 15, xfce]
I have a private mlocate database in my /home. Since a few days ago attempting to update the db now fails for a command such as:
"updatedb -l 0 -o /home/rsil/Downloads/rsildb -U /home/rsil"
Message is: "updatedb: can not open a temporary file for `/home/rsil/Downloads/rsildb"
There was an update to mlocate on 17 Nov, perhaps the culprit, or not. Whatever. How do I get back the ability to update my own database?
google for the error msg, iirc was incorrect perms for a directory
Did that. My google-fu is really weak but it seems the Nov 17 update to mlocate was to fix a problem with mlocate/updatedb permissions related to apparmor, and since that date is when my problems likely began then I assume that the "fix" broke something. That Nov 17 "fix" was:
https://bugzilla.opensuse.org/show_bug.cgi?id=1089594
I'm having trouble following the logic of that bug chat as my knowledge of apparmor is slim to none, especially at 3:30 am here. What's it say there? 8-/
Move the file "/etc/apparmor.d/usr.bin.locate" temporarily somewhere else, restart apparmour, and try again with locate. If it works, open a bugzilla. Alternative. Run "aa-logprof", hopefully it says something about something in locate being denied and gives you the chance to allow it. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)