Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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 Andreas Radke (AndyRTR) - Friday, 16 April 2021, 14:19 GMT
Task Type Bug Report
Category Packages: Extra
Status Assigned
Assigned To Andreas Radke (AndyRTR)
Laurent Carlier (lordheavy)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

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

Comment by loqs (loqs) - Wednesday, 21 April 2021, 17:34 GMT
Build xorg-server 1.20.11-1 in a clean chroot using packages from https://archive.archlinux.org/repos/2020/12/14/$repo/os/$arch Xorg.wrap has its suid bit.
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.

Loading...