#962987 xserver-xorg-core: should not map files from /root

Package:
sddm
Source:
sddm
Description:
modern display manager for X11
Submitter:
Russell Coker
Date:
2022-01-13 00:00:05 UTC
Severity:
normal
#962987#5
Date:
2020-06-16 22:41:49 UTC
From:
To:
# ps aux|grep Xorg
root       582  0.3  0.8 340884 50468 tty7     Ssl+ Jun01  82:02 /usr/lib/xorg/Xorg -nolisten tcp -auth /var/run/sddm/{f66ea786-13c9-4499-95f6-f7bdce850668} -background none -noreset -displayfd 17 -seat seat0 vt7
root      1854  0.0  0.0   6076   892 pts/3    S+   08:39   0:00 grep Xorg
# grep /root /proc/582/maps
7f628cb07000-7f628cc48000 rw-s 00000000 00:15 1030181                    /root/.cache/mesa_shader_cache/index (deleted)
7f628dab7000-7f628dbf8000 rw-s 00000000 00:15 1030181                    /root/.cache/mesa_shader_cache/index (deleted)

Xorg when run as a daemon from sddm should not touch any files under /root.
As an aside the system has only had one user login and that user was not root.

#962987#10
Date:
2021-12-23 06:57:23 UTC
From:
To:
Stashing files in /root/.cache seems like a really bad idea.  My first take on this was it was a likely virus.

This seems non compliant with Filesystem Hierarchy Standard (FHS)

#962987#15
Date:
2022-01-11 14:17:18 UTC
From:
To:

sddm could set MESA_GLSL_CACHE_DISABLE=true to disable the cache,
nothing here for the Xserver to do.

#962987#20
Date:
2022-01-12 23:52:30 UTC
From:
To:
reassign 962987 sddm
thanks

sddm should set MESA_GLSL_CACHE_DISABLE=true to disable the cache