From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 91B7A138334 for ; Sat, 3 Nov 2018 14:46:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B76F0E0A76; Sat, 3 Nov 2018 14:46:29 +0000 (UTC) Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4A49DE0A6A for ; Sat, 3 Nov 2018 14:46:29 +0000 (UTC) Received: by mail-pf1-f181.google.com with SMTP id j22-v6so2360186pfh.3 for ; Sat, 03 Nov 2018 07:46:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=UUHjgfa0+516yV9a+uVsFAGU6DnZ/oc6QKBUutMdU0Y=; b=cTGH7kdRn3bKrwDSzzBe2L/7LxfLKyCuIoUr6Et3Pxeyz3QByHFP3kMxxDojdJ3ckY LbuiUUm4jeNsf3q5OC2nl9bCJ4G/JWo7zkFWPzsL1Ugij5Q6tCEdTKSrmlpHFFpGN9PJ iZnjDzcC+UZn7zpgt/e+TwwjUVcaXGFUmDjZi0b90U1euNRB0XyzDH7T3z4yLzHKsHcN YD0DmV6Rcq7Peu+rfBd7zamlkVLS4iaEz8sYZxArXY5JF3OVIXPPXtJdnbC43da2ztUz LLTmpIatqcjuuuPpg1aKbGrACuTyhKNtWNlKdewvCnTS5u8s3RIZoG3SKl4Ez+gANLrn C2xQ== X-Gm-Message-State: AGRZ1gIZSADeQdVRtkNogG+aXDPfoBEXXGZDjntdt8yj+iRDu29x3DYZ OOsKBjlFBPsotsAyHOW93+EmLACYY/DvnoMm9DcGkA== X-Google-Smtp-Source: AJdET5ceU+2sIoxxa/iUqPu+EMY8AYF6H4/GNAKqz5bCbO3LLUSLJ9pktLCuqlnimUxA4/eq+E2p0a/CIwFgQ+t+cfc= X-Received: by 2002:a65:6295:: with SMTP id f21-v6mr14493214pgv.167.1541256387571; Sat, 03 Nov 2018 07:46:27 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 References: <20181103140151.GA5029@ACM> In-Reply-To: <20181103140151.GA5029@ACM> From: Rich Freeman Date: Sat, 3 Nov 2018 10:46:15 -0400 Message-ID: Subject: Re: [gentoo-user] Permissions error on starting X. To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset="UTF-8" X-Archives-Salt: 6546e943-b7d0-4a7c-a922-c071a8d3065e X-Archives-Hash: 42c08d640ba1dcaec50b42d675c7dd4f On Sat, Nov 3, 2018 at 10:01 AM Alan Mackenzie wrote: > > > If you start your X server from the command line with, e.g. startx, you > now need to set the new(?) suid USE flag for the xorg-server package. > Sometimes. I thought this was only required if you're not using KMS. Is this not the case? The argument for defaulting it is that you had to both be using a non-KMS driver, and you had to be running from the command line. That is a somewhat uncommon situation. > The developers, in this instance, failed to raise the ebuild's version > number from 1.20.3 when making this change, and also didn't notify users > by a NEWS item, that I can see. A news item would probably have been a good idea (it almost always is). I'm not sure why the ebuild wasn't revisioned. As far as I can tell this change does change what gets installed on-disk, and as a result it is almost always appropriate to revision the ebuild (in this case to -r1). The only sorts of changes that generally don't justify revisioning would be fixes to build systems that don't actually impact what gets installed (assuming the old version built at all), and which don't change any dependencies. In that case there isn't really a benefit to users to do a rebuild, since the new build will be identical to the old. > So - if you get a permissions error whilst trying to start X, setting > the suid USE flag may well be the solution. Yup. -- Rich