On 10/23/20 11:37, Predrag Zecevic - Unix Systems Administrator wrote:
Hi all,
This is pretty annoying: Xorg fills in syslog with messages like:
[2020-10-23 10:15:03] solarix genunix: [ID 864859 kern.notice] NOTICE:
Xorg[1075]: missing privilege "sys_devices" (euid = 2903, syscall = 54)
needed at drv_priv+0x1d#012
euid is my UID:
:; id
uid=2903(predrag_zecevic) gid=1961(admin) groups=1961(admin),1962(vboxuser)
For today only:
:; grep -E "2020-10-23.*Xorg.*missing privilege" /var/adm/messages | awk
'{printf("%s\n", $12)}' | sort | uniq -c | sort -rn
75750 "sys_devices"
173 "file_dac_search"
4 "proc_owner"
2 "file_dac_read"
What has to be added to /etc/security/exec_attr.d/SOME_FILE to prevent
this?
Any suggestion?
Thanks in advance
Regards.
I have tried this:
:; ppriv -S $(pgrep Xorg)
1075: /usr/bin/Xorg :0 -seat seat0 -auth /var/run/lightdm/root/:0
-nolisten
flags = <none>
E: basic
I: basic
P: all
L: all
Changed:
:; pfexec ppriv -s +file_dac_search $(pgrep Xorg)
:; pfexec ppriv -s +sys_devices $(pgrep Xorg)
:; pfexec ppriv -s +proc_owner $(pgrep Xorg)
:; pfexec ppriv -s +file_dac_read $(pgrep Xorg)
Checked:
:; ppriv -S $(pgrep Xorg)
1075: /usr/bin/Xorg :0 -seat seat0 -auth /var/run/lightdm/root/:0
-nolisten
flags = <none>
E: basic,file_dac_read,file_dac_search,proc_owner,sys_devices
I: basic,file_dac_read,file_dac_search,proc_owner,sys_devices
P: all
L: all
And errors written to syslog has stopped. What is still annoying, this
does not survive reboot, so question is still there: what to put to
/etc/security/exec_attr.d/SOME_FILE to handle it permanently?
Regards.
--
Predrag Zečević
Technical Support Analyst
2e Systems GmbH
tel: +49 - 6196 - 95058 - 15
mob: +49 - 174 - 3109288
fax: +49 - 6196 - 95058 - 94
e-mail: [email protected]
headquarter: 2e Systems GmbH, Koenigsteiner Str. 87, 65812 Bad Soden am
Taunus, Germany
registration: Amtsgericht Koenigstein (Germany), HRB 7303
managing director: Phil Douglas
http://www.2e-systems.com/ - Making your business fly!
_______________________________________________
openindiana-discuss mailing list
[email protected]
https://openindiana.org/mailman/listinfo/openindiana-discuss