Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 670860 - x11-base/xorg-server-1.20.3: New default -suid breaks starting Xorg without systemd.
Summary: x11-base/xorg-server-1.20.3: New default -suid breaks starting Xorg without s...
Status: RESOLVED DUPLICATE of bug 669648
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-10 21:29 UTC by Piotr Karbowski (RETIRED)
Modified: 2018-11-11 17:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Karbowski (RETIRED) gentoo-dev 2018-11-10 21:29:59 UTC
Hi,

It appears that xorg-server-1.20.3 got bump without new -r release with the flag 'suid' that is disabled by default.

This breaks starting X via `startx` for users that runs without systemd. This is a huge change at least worth news item to be added. As either `systemd` flag needs to be enabled and systemd used, or `suid` to be enabled. Otherwise only root can start Xorg.
Comment 1 Piotr Karbowski (RETIRED) gentoo-dev 2018-11-10 21:34:34 UTC
Commit that added it https://github.com/gentoo/gentoo/commit/92cc7c28132dd325318abd0f1150e96a9e631036#diff-d4507b969b25af0988f7a1d859fe2786

Looks like autoconf was enabling suid by default, now with the `use_enable`, it's disabled by default.
Comment 2 Andreas Sturmlechner gentoo-dev 2018-11-10 21:36:16 UTC

*** This bug has been marked as a duplicate of bug 669648 ***
Comment 3 Matt Turner gentoo-dev 2018-11-11 17:53:08 UTC
Fixed with

commit 4928f93b1f033b51d8f1e80cc4730da64bf318ca
Author: Matt Turner <mattst88@gentoo.org>
Date:   Sun Nov 11 09:43:00 2018 -0800

    x11-base/xorg-server: Enable suid by default
    
    Closes: https://bugs.gentoo.org/670212
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

Thanks a bunch for your analysis.