FS#70469 - [xorg-server] 1.20.11-1 permission problem
Attached to Project:
Arch Linux
Opened by Subs (Substring) - Friday, 16 April 2021, 11:14 GMT
Last edited by Laurent Carlier (lordheavy) - Wednesday, 04 August 2021, 09:40 GMT
Opened by Subs (Substring) - Friday, 16 April 2021, 11:14 GMT
Last edited by Laurent Carlier (lordheavy) - Wednesday, 04 August 2021, 09:40 GMT
|
Details
Description:
Since xorg-server 1.20.11-1, /usr/lib/Xorg.wrap lost its suid bit. Wasn't the case with xorg-server 1.20.10-3. Trying to run a root X from a normal user with X on a different virtual terminal fails with : (EE) xf86OpenConsole: Cannot open virtual console 7 (Permission denied) Additional info: * package version(s) : xorg-server 1.20.11-1 * config and/or log files etc. * link to upstream bug report, if any Steps to reproduce: * Update xorg-server * /etc/X11/Xwrapper.config: allowed_users = anybody needs_root_rights = yes * run a root X with a normal user with startx -- vt7 |
This task depends upon
Closed by Laurent Carlier (lordheavy)
Wednesday, 04 August 2021, 09:40 GMT
Reason for closing: Fixed
Additional comments about closing: xorg-server-1.20.13-2
Wednesday, 04 August 2021, 09:40 GMT
Reason for closing: Fixed
Additional comments about closing: xorg-server-1.20.13-2
Is it related to the fakeroot changes? Now mv -v fakeinstall/usr/lib/Xorg.wrap /build/xorg-server/pkg/xorg-server/usr/lib/Xorg.wrap does not preserve the suid.
Please refer to https://bugs.archlinux.org/task/71578 for details. The bug report 71578 is going to be closed because it is not a makepkg bug, it is bug of xorg-server package. Refer to the comments in that bug report, which explained why it is bug of xorg-server package.
(I was going to open a bug report against xorg-server package, before I found this one)
Edit:
xorg-server-1.20.13-2 has the setuid bit and fixes the issue for me. Thank you.