On 14/04/2021 01:40, home user wrote:
At least 3 times in the past few days I've seen the same SELinux alert. I put the text of the details in the attached file "alerts.txt". All 3 occurrences were while using caja to rename or delete a file, though it does not happen every time I rename or delete a file in caja. These alerts confuse me. There is no directory "/memdf:"...
-bash.1[~]: cd / -bash.2[/]: ls -a . boot etc lib64 mnt root srv system-upgrade usr .. .cache home lost+found opt run sys system-upgrade-root var bin dev lib media proc sbin sysroot tmp -bash.3[/]: ls -a /memfd* ls: cannot access '/memfd*': No such file or directory -bash.4[/]:
Also, the directory name (ending with a colon?) looks fishy. Further, the filename ".nvidia_drv.XXXXXX" looks fishy (but "legal").
The instruction does not work:
-bash.4[/]: /sbin/restorecon -v /memfd:/.nvidia_drv.XXXXXX (deleted) -bash: syntax error near unexpected token `(' -bash.4[/]:
-bash.5[/]: /sbin/restorecon -v /memfd:/.nvidia_drv.XXXXXX /sbin/restorecon: SELinux: Could not get canonical path for /memfd:/.nvidia_drv.XXXXXX restorecon: No such file or directory. -bash.6[/]:
I gather that a directory and or file (whatever its name really is) are missing?
memfd refers to "Memory File Descriptor". The file in question exists only in RAM and is a temporary file at that. Command such as "restorecon" are useless for this.
I'm guessing it may be caused not by caja by xeyes. But if you're not having any problems it would be something that I'd ignore. I don't know if this would apply, but when the Alert pops up there should be a button for "ignore" beside the button for "troubleshoot". If I recall correctly.
If I were having these alerts and wanted to do a little debugging I'd first run my sessions without xeyes.
I don't know how you installed your nVidia drivers. But, I would check to make sure what I had were the latest. FWIW, I use the nVidia stuff packaged by rpmfusion.