[gentoo-user] Change MAKEOPTS on the fly?
Hi, is there a way to change the MAKEOPTS setting on a running emerge? I am using "-j 5 -l 4" whilst emerging gcc-9.3 but its creating too much pressure on memory. I expect the emerge to take many more hours but complete eventually - but reducing it to "-j2" will help other operations whilst not losing whats already been completed (this is an old atom N330 with 4G ram and is my gateway/router/firewall/snort/... and the overload is starting to affect the network throughput significantly). BillK
[gentoo-user] cant add fonts
This is weird. background; So I've installed media-fonts/courier-prime: Installing (1 of 1) media-libs/fontconfig-2.13.1-r2::gentoo * Syncing fontconfig configuration to system ... [ ok ] * Cleaning broken symlinks in /etc/fonts/conf.d/ * abi_x86_32.x86: running multilib_pkg_postinst * Creating global font cache for x86 ... Fontconfig error: Cannot scan config file "infinality/conf.d" [ ok ] * abi_x86_64.amd64: running multilib_pkg_postinst * Creating global font cache for amd64 ... The dir '/etc/fonts/infinality' contains these files: conf.src infinality.conf styles.conf.avail so I ran 'eselect fontconfig enable 28' to enable the '52-infinality.conf *' But I still get: can't load font *-courier-medium-r-*-18-* When I try to run 'vi testtest' as user or root I get this error: can't load font *-courier-medium-r-*-18-* 'vim testtest' works fine. 'eselect fontconfig list' shows: a list of 60, including [28] 52-infinality.conf but it is not 'enabled' (perhaps a command I missing or tool option just to merely enable (52-infinality.conf) ? "but nothing related to courier-prime So how do I get the courier fonts 'to be included'? Then what are the steps to have it available. I've probably missed a simple gentoo manual/wiki page describing what is usually a very easy graphics tool ? James
Re: [gentoo-user] ssh defaults to coming in as user "root"?
On Sat, Jul 11, 2020 at 08:07:20AM +0100, Neil Bothwick wrote > On Fri, 10 Jul 2020 23:12:37 -0600, Grant Taylor wrote: > > > I find the KeyAlgorithms line to be atypical as well. > > There was an update to sshd that caused connections to some older > variants to fail unless you used this, I have it in ssh_config to allow > connections to a DD-WRT router. Is it possible to hit a similar problem > and cut and pasted from a Google hit that also included the User line. I was running an older version of Puppy linux on the laptop for a while, which may have hit the situation you describe. I'm surprised mostly that I don't remember doing the config. -- Walter Dnes I don't run "desktop environments"; I run useful applications
Re: [gentoo-user] ssh defaults to coming in as user "root"?
On Fri, Jul 10, 2020 at 11:12:37PM -0600, Grant Taylor wrote > > I find the KeyAlgorithms line to be atypical as well. > > Is there a chance that you used a fancy wrapper, possibly menu driven, > that might have updated the ~/.ssh/config file? Not that I remember. I've used "thimk" as the name for the Thinkpad in the past under both Gentoo and Puppy linux. Puppy is an older lightweight linux that runs with root as the primary user. That might have been enough to have made me dig up the docs to create the config file, but I certainly don't remember doing so. To quote the old saying "Memory is the second thing to go. I forget what the first is". Come to think of it, SSHing into "thimk" with Puppy linux would put me in as root in the past. I thought this was somehow due to root being the only user on Puppy linux. File dates in .ssh are... * Sep 6, 2018 the former .ssh/config file * Sep 22, 2018 authorized keys * May 29, 2017 id_rsa and id_rsa.pub * Jul 9, 2020 known_hosts -- Walter Dnes I don't run "desktop environments"; I run useful applications
Re: [gentoo-user] Two new-install questions
On Fri, Jul 10, 2020 at 03:13:55PM +0300, Alexey Mishustin wrote: > пт, 10 июл. 2020 г. в 08:27, Walter Dnes : > > > 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 signature.asc Description: PGP signature
Re: [gentoo-user] ssh defaults to coming in as user "root"?
On Fri, 10 Jul 2020 23:12:37 -0600, Grant Taylor wrote: > >The question is how did .ssh/config ever get there in the first > > place? > > Seeing as how there is a Host entry with your notebook's name, I can > only speculate that you, or something you ran, put it there. > > I find the KeyAlgorithms line to be atypical as well. There was an update to sshd that caused connections to some older variants to fail unless you used this, I have it in ssh_config to allow connections to a DD-WRT router. Is it possible to hit a similar problem and cut and pasted from a Google hit that also included the User line. -- Neil Bothwick Those who live by the sword get shot by those who don't. pgp3SAhzk5PGO.pgp Description: OpenPGP digital signature