* [gentoo-user] Two new-install questions
@ 2020-07-10 5:27 Walter Dnes
2020-07-10 5:39 ` Ashley Dixon
2020-07-10 12:13 ` Alexey Mishustin
0 siblings, 2 replies; 6+ messages in thread
From: Walter Dnes @ 2020-07-10 5:27 UTC (permalink / raw
To: Gentoo Users List
1) Look Ma... no cpio. During my first attempt to build a kernel, it
died because the process couldn't find "cpio". I ran "emerge -1 cpio"
and tried again, finishing successfully. "emerge -p --depclean" wants
to remove it, which should not be happening. To overcome that I ran
"emerge --noreplace cpio" which put cpio into my world set, keeping it
safe. Why is this happening in the first place?
2) When building xorg-server I got a news item about the "suid" flag
soon no longer being default for xorg-server. I forced it manually on
my laptop and desktop. The other 3 options were...
* systemd... no thanks.
* elogind... with PAM doing the authentication... no thanks. I've
tangled with PAM in the past once too often.
* some memory-heavy "desktop environment" on my 3-gigs-ram-laptop...
no thanks.
--
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Two new-install questions
2020-07-10 5:27 [gentoo-user] Two new-install questions Walter Dnes
@ 2020-07-10 5:39 ` Ashley Dixon
2020-07-10 5:41 ` Ashley Dixon
2020-07-10 12:13 ` Alexey Mishustin
1 sibling, 1 reply; 6+ messages in thread
From: Ashley Dixon @ 2020-07-10 5:39 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 867 bytes --]
On Fri, Jul 10, 2020 at 01:27:06AM -0400, Walter Dnes wrote:
> 1) Look Ma... no cpio. During my first attempt to build a kernel, it
> died because the process couldn't find "cpio". I ran "emerge -1 cpio"
> and tried again, finishing successfully. "emerge -p --depclean" wants
> to remove it, which should not be happening. To overcome that I ran
> "emerge --noreplace cpio" which put cpio into my world set, keeping it
> safe. Why is this happening in the first place?
Discussed here: https://bugs.gentoo.org/731666
and here: https://bugs.gentoo.org/696840
Summarised, this dependency is triggered by CONFIG_IKHEADERS, which has been
configured too obscure to pull in cpio for everyone (hence the WONTFIX status
for the latter bug report).
--
Ashley Dixon
suugaku.co.uk
2A9A 4117
DA96 D18A
8A7B B0D2
A30E BF25
F290 A8AA
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Two new-install questions
2020-07-10 5:39 ` Ashley Dixon
@ 2020-07-10 5:41 ` Ashley Dixon
2020-07-10 16:18 ` Walter Dnes
0 siblings, 1 reply; 6+ messages in thread
From: Ashley Dixon @ 2020-07-10 5:41 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 460 bytes --]
On Fri, Jul 10, 2020 at 06:39:54AM +0100, Ashley Dixon wrote:
> Summarised, this dependency is triggered by CONFIG_IKHEADERS, which has been
> configured too obscure to pull in cpio for everyone (hence the WONTFIX status
> for the latter bug report).
My apologies for a small typo. This should read "...which has been _determined_
too obscure...".
--
Ashley Dixon
suugaku.co.uk
2A9A 4117
DA96 D18A
8A7B B0D2
A30E BF25
F290 A8AA
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Two new-install questions
2020-07-10 5:27 [gentoo-user] Two new-install questions Walter Dnes
2020-07-10 5:39 ` Ashley Dixon
@ 2020-07-10 12:13 ` Alexey Mishustin
2020-07-11 8:59 ` Ashley Dixon
1 sibling, 1 reply; 6+ messages in thread
From: Alexey Mishustin @ 2020-07-10 12:13 UTC (permalink / raw
To: Gentoo
пт, 10 июл. 2020 г. в 08:27, Walter Dnes <waltdnes@waltdnes.org>:
> 2) When building xorg-server I got a news item about the "suid" flag
> soon no longer being default for xorg-server. I forced it manually on
> my laptop and desktop. The other 3 options were...
>
> * systemd... no thanks.
> * elogind... with PAM doing the authentication... no thanks. I've
> tangled with PAM in the past once too often.
> * some memory-heavy "desktop environment" on my 3-gigs-ram-laptop...
> no thanks.
There is a way to run rootless X without elogind:
For Nouveau and Intel video cards except xorg modesetting driver:
https://wiki.gentoo.org/wiki/Non_root_Xorg
For AMD video cards and/or xorg modesetting driver:
https://forums.gentoo.org/viewtopic-t-1092792-start-0.html
--
Regards,
Alex
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Two new-install questions
2020-07-10 5:41 ` Ashley Dixon
@ 2020-07-10 16:18 ` Walter Dnes
0 siblings, 0 replies; 6+ messages in thread
From: Walter Dnes @ 2020-07-10 16:18 UTC (permalink / raw
To: gentoo-user
On Fri, Jul 10, 2020 at 06:41:31AM +0100, Ashley Dixon wrote
> On Fri, Jul 10, 2020 at 06:39:54AM +0100, Ashley Dixon wrote:
> > Summarised, this dependency is triggered by CONFIG_IKHEADERS, which
> > has been configured too obscure to pull in cpio for everyone, (hence
> > the WONTFIX status for the latter bug report).
>
> My apologies for a small typo. This should read "...which has been
> _determined_ too obscure...".
Thank you. That's a relief. I was afraid that I had missed something
during the install process.
--
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Two new-install questions
2020-07-10 12:13 ` Alexey Mishustin
@ 2020-07-11 8:59 ` Ashley Dixon
0 siblings, 0 replies; 6+ messages in thread
From: Ashley Dixon @ 2020-07-11 8:59 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 2108 bytes --]
On Fri, Jul 10, 2020 at 03:13:55PM +0300, Alexey Mishustin wrote:
> пт, 10 июл. 2020 г. в 08:27, Walter Dnes <waltdnes@waltdnes.org>:
>
> > 2) When building xorg-server I got a news item about the "suid" flag
> > soon no longer being default for xorg-server. I forced it manually on
> > my laptop and desktop. The other 3 options were...
> >
> > * systemd... no thanks.
> > * elogind... with PAM doing the authentication... no thanks. I've
> > tangled with PAM in the past once too often.
> > * some memory-heavy "desktop environment" on my 3-gigs-ram-laptop...
> > no thanks.
>
> There is a way to run rootless X without elogind:
>
> For Nouveau and Intel video cards except xorg modesetting driver:
> https://wiki.gentoo.org/wiki/Non_root_Xorg
>
> For AMD video cards and/or xorg modesetting driver:
> https://forums.gentoo.org/viewtopic-t-1092792-start-0.html
There was some debate on Gentoo-Dev regarding this a while ago ([1] is the
discussion, and [2] is the final announcement). It was suggested in [3] that
disabling `suid` is a step forward, as running X as root is "anti-pattern",
which is probably correct for most cases. Nonetheless, as you do not want to use
any of the proposed alternatives (XDM or `startx` with systemd/elogind), just
re-enable `suid` and use X as it always has been used in the past, however
"anti-UNIX" that may be.
The other fundamental reason for this change was security. As described by Dale
in [4], from a user's perspective, it should be a reasonable expectation that
the defaults, especially for such a widely used package, are secure.
[1] https://archives.gentoo.org/gentoo-dev/message/58660319f295f643ae89946d49e0156e
[2] https://archives.gentoo.org/gentoo-dev/message/b44d49d7a92e01ce97338e9087ec9323
[3] https://archives.gentoo.org/gentoo-dev/message/6ce49ea52cbb9a1452e30d4b91f7b27c
[4] https://archives.gentoo.org/gentoo-dev/message/30b71b916288d028f0557c7c44891f82
--
Ashley Dixon
suugaku.co.uk
2A9A 4117
DA96 D18A
8A7B B0D2
A30E BF25
F290 A8AA
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-07-11 9:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-10 5:27 [gentoo-user] Two new-install questions Walter Dnes
2020-07-10 5:39 ` Ashley Dixon
2020-07-10 5:41 ` Ashley Dixon
2020-07-10 16:18 ` Walter Dnes
2020-07-10 12:13 ` Alexey Mishustin
2020-07-11 8:59 ` Ashley Dixon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox