[gentoo-user] Re: glibc emerge error

2018-01-11 Thread Ian Zimmerman
On 2018-01-11 07:28, Corbin Bird wrote: > > export LD_LIBRARY_PATH=$VULKAN_SDK/lib:$LD_LIBRARY_PATH This is wrong, because it will put the current directory (as represented by the empty string) into the list even if it wasn't there originally. Try something like this (untested): export LD_LIBRA

[gentoo-user] Re: fsck check of /usr on a separate partition fails during boot

2018-01-13 Thread Ian Zimmerman
On 2018-01-13 15:49, Dale wrote: > I think without a init thingy, it mounts / ro at first, runs the checks > and then remounts rw. Right. > I think it does the same with /usr. No, other filesystems are not mounted at all until they're checked, in this situation (which is the traditional one, fs

[gentoo-user] Re: Firefox 57.0.4 without pulseaudio? Possible?

2018-01-14 Thread Ian Zimmerman
On 2018-01-14 05:49, tu...@posteo.de wrote: > I tried Palemoon some time ago. I checked its security and privacy > feature with certain sites on the internet, which provide such > services and found some issues, which I wanted to discuss on their > forum. The answer was not to believe such sites a

[gentoo-user] Re: Firefox 57.0.4 without pulseaudio? Possible?

2018-01-14 Thread Ian Zimmerman
On 2018-01-14 18:50, tu...@posteo.de wrote: > And: I dont want to start a flame war here. Yoy asked and tried > to give a answer, which may be useful onlu to explain my own point > of view. Yes, it is very useful, many thanks. Exactly what I asked for. -- Please don't Cc: me privately on maili

[gentoo-user] Re: OT awk question

2018-01-16 Thread Ian Zimmerman
On 2018-01-17 12:49, Adam Carter wrote: > I'm using this to grab a section of text across multiple lines, how do > i get it to exit after the first match? > > awk '/foo/,/bar/' I don't think I ever tried to match multiple line range. I would do it like this: /foo/ { selecting = 1; } ( selecti

[gentoo-user] Re: Kernel 4.14.14 has meltdown / spectre info in /sys

2018-01-18 Thread Ian Zimmerman
On 2018-01-18 19:28, Adam Carter wrote: > Nice; > > $ ls /sys/devices/system/cpu/vulnerabilities/ > meltdown spectre_v1 spectre_v2 > $ cat /sys/devices/system/cpu/vulnerabilities/meltdown > Mitigation: PTI > $ cat /sys/devices/system/cpu/vulnerabilities/spectre_v1 > Vulnerable > $ cat /sys/devi

[gentoo-user] Re: USB3 external storage HD's

2018-01-18 Thread Ian Zimmerman
On 2018-01-18 13:44, R0b0t1 wrote: > Buy a SATA to USB3 enclosure and a 2.5" laptop drive separately. I got one of those (a Rosewill). First thing I noted was it got _really_ hot after a few minutes of use. Hot as in highly unpleasant to touch. Nonetheless I kept using it, but it stopped worki

[gentoo-user] Re: Kernel 4.14.14 has meltdown / spectre info in /sys

2018-01-18 Thread Ian Zimmerman
On 2018-01-19 08:22, Adam Carter wrote: > > On my fam10/barcelona; > > cat /sys/devices/system/cpu/vulnerabilities/meltdown > > Not affected > Ian. which CPU do you have? matica!13 linux$ dmesg | fgrep -i phenom [0.603608] smpboot: CPU0: AMD Phenom(tm) II X4 955 Processor (family: 0x10, mod

[gentoo-user] Re: Simple SMTP to cmd-line MTA relay?

2018-01-19 Thread Ian Zimmerman
On 2018-01-19 18:03, Grant Edwards wrote: > It needs to accept messages as an SMTP server (using SSL and AUTH on a > non-standard port) from a single user and single source and then relay > them by passing them to a command-line MTA (e.g. /usr/bin/sendmail > replacement provided by msmtp). Just l

[gentoo-user] Re: Simple SMTP to cmd-line MTA relay?

2018-01-19 Thread Ian Zimmerman
On 2018-01-19 18:49, Grant Edwards wrote: > > Just like the others writing in this thread, I am wondering why you > > need 2 pieces here. Why won't e.g. exim do both sides of this for > > you? It certainly has all the functionality. > > I don't see how you can say that when you don't know the m

[gentoo-user] Re: Simple SMTP to cmd-line MTA relay?

2018-01-19 Thread Ian Zimmerman
On 2018-01-19 20:19, Grant Edwards wrote: > Can exim transfer mail to an Exchange server that doesn't expose an > SMTP server? > >>> > >>> Errr, no. exim does SMTP. > >>> > >>> If the above is what you need, any orthodox mail server would need > >>> to hand the mail over to something tha

[gentoo-user] Re: Simple SMTP to cmd-line MTA relay?

2018-01-19 Thread Ian Zimmerman
On 2018-01-19 23:58, Grant Edwards wrote: > That would require seperate outbound transports that are selected > based on how the mail was read: smtp vs. /usr/bin/sendmail (the real > one). I get the impression from exim and postfix docs that outbound > routing based on input method aren't possibl

[gentoo-user] Re: Kernel 4.14.14 has meltdown / spectre info in /sys

2018-01-24 Thread Ian Zimmerman
On 2018-01-19 10:50, Adam Carter wrote: > > Looking at the kernel source (for 4.9.77), the flag is initially set no > > matter what in arch/x86/kernel/cpu/common.c @cpu_show_meltdown(), and > > nothing afterwards clears it ... > > > With 4.14.14, pretty much same CPU; > model : 4 > mod

[gentoo-user] Re: Downloading podcasts via the command line?

2018-01-27 Thread Ian Zimmerman
On 2018-01-27 12:38, Stroller wrote: > Can anyone recommend a command line podcast downloader, please? > > Ideally I want to run it in a cronjob, saving .mp3 files which can be > uploaded to my Google Drive (using net-misc/drive). > > My priority is NPR's Planet Money podcasts - I think they're

[gentoo-user] Re: gcc 7.3 + kernel 4.15 = spectre_v2 fixed

2018-01-29 Thread Ian Zimmerman
On 2018-01-29 20:11, Adam Carter wrote: > Comparing the contents of /sys/devices/system/cpu/vulnerabilities/spectre_v2 > > With gcc 7.2 + kernel 4.14.15; > Intel system shows; Vulnerable: Minimal generic ASM retpoline > AMD system shows: Vulnerable: Minimal AMD ASM retpoline > > With gcc 7.3 + k

[gentoo-user] Re: gcc 7.3 + kernel 4.15 = spectre_v2 fixed

2018-01-30 Thread Ian Zimmerman
On 2018-01-29 20:35, Alexander Kapshuk wrote: > To compile the kernel with a different compiler, the method shown > below may be used, e.g.: > make CC=clang Unfortunately, this has the annoying side effect that kconfig forces a full reconfiguration, asking every question. Maybe there is a way ar

[gentoo-user] Re: NeoMutt and GnuPG

2018-01-30 Thread Ian Zimmerman
On 2018-01-31 05:17, Floyd Anderson wrote: > Instead I suggest to set ‘gpgme’ USE-flag and *only that* – no > ‘crypt’, ‘gpg’, ‘pgp_classic’, ‘smime’, ‘smime_classic’. Look at the > ebuild and especially the comments. This way I only need to set one ! > variable to get the stuff working: > > set c

[gentoo-user] Re: A little help for non-native English speakers

2018-02-01 Thread Ian Zimmerman
On 2018-02-01 18:55, Neil Bothwick wrote: > > I figured that would make the example more confusion which would > > defeat the purpose. > And don't get me started on people using "which" when they should be using > "that". > > (In this case, which is correct but it should have a preceding comma).

[gentoo-user] Re: Failed builds of kbuild and cdrdao with "undefined reference to `__alloca'"

2018-02-04 Thread Ian Zimmerman
On 2018-02-04 15:03, tu...@posteo.de wrote: > I still have the problem of failed builds due to an > 'undefined reference to `__alloca''. I recompiled > gcc/glibc and I am using linux-4.15.1 (from kernel.org) > with linux-headers 4.15. . > > Affected are (at least) cdrdao and kbuild. [...] > I

[gentoo-user] Re: /var/tmp on tmpfs

2018-02-08 Thread Ian Zimmerman
On 2018-02-09 01:15, Wol's lists wrote: > > Care to cite an example of such a program in the Gentoo repo? I > > certainly can't think of any, and I've been running with /var/tmp on > > tmpfs for over a decade. > > I don't know of any. vim? Although that choice was recently criticized on the os

[gentoo-user] Re: some spectre v1 code in 4.15.2

2018-02-12 Thread Ian Zimmerman
On 2018-02-13 03:13, Nikos Chantziaras wrote: > Apparently, and contrary to what people (me included) wrote here in > the past, BPF JIT is the secure option, and the interpreter is the > insecure one. Do you have a reference for this? It sounds strange indeed. -- Please don't Cc: me privately

[gentoo-user] Re: Vulnerability info in /sys

2018-02-12 Thread Ian Zimmerman
On 2018-02-12 19:24, Daniel Frey wrote: > I've read online that there should be vulnerability info (Meltdown, > Spectre) in /sys under /sys/devices/system/cpu/vulnerabilities but this > doesn't exist on my PC. > I've updated to gentoo-sources-4.9.76-r1, shouldn't this info be present? > > $ unam

[gentoo-user] Re: some spectre v1 code in 4.15.2

2018-02-13 Thread Ian Zimmerman
On 2018-02-13 22:50, mad.scientist.at.la...@tutanota.com wrote: > seriously, can we try to keep these corporate schills the hell off the > list? I guess you mean the core kernel devs, who after all wrote the page quoted by Nick? If you feel that way maybe switch to a BSD kernel? -- Please don'

[gentoo-user] Re: some spectre v1 code in 4.15.2

2018-02-13 Thread Ian Zimmerman
On 2018-02-14 00:27, Peter Humphrey wrote: > > It's not so much that we've produced a generation of bad coders who > > don't know better, the problem is no one cares about anything other > > than $$$ in america any more. > > What do you mean, "any more"? Wasn't it ever thus? When I arrived in US

[gentoo-user] Re: Vulnerability info in /sys

2018-02-13 Thread Ian Zimmerman
On 2018-02-13 18:38, Daniel Frey wrote: > > See the other threads: you need at least 4.9.79 for the /sys bits. > I'm surprised I missed those threads, I read all messages on here. > According to the thread I found it's actually starts on 4.9.77, I'm > just on the latest stable (.76). You're prob

[gentoo-user] Is ABI a portage variable?

2018-02-14 Thread Ian Zimmerman
I am trying to package software whose build process (autotools based) depends on a variable "ABI" to determine (on x86 and amd64 arch at least) whether to build as 64 bit or 32 bit. If it is not set externally, the configure script sets it by inspecting the native pointer size of the C compiler, t

[gentoo-user] How to test package install?

2018-02-14 Thread Ian Zimmerman
I'm trying to test my package by running "ebuild /path/to/pkg.ebuild install". Naturally (for me) I do this as an unprivileged user, not as root. It fails because at least some steps such as dobin need to give away ownership of the files being installed. I tried to run the whole thing including

[gentoo-user] Re: How to test package install?

2018-02-15 Thread Ian Zimmerman
On 2018-02-15 23:39, Andreas K. Huettel wrote: > > I'm trying to test my package by running "ebuild /path/to/pkg.ebuild > > install". Naturally (for me) I do this as an unprivileged user, not > > as root. It fails because at least some steps such as dobin need to > > give away ownership of the f

[gentoo-user] Re: Is ABI a portage variable?

2018-02-16 Thread Ian Zimmerman
On 2018-02-16 11:14, Mike Gilbert wrote: > ABI is a profile variable. On an amd64 system it is defined in > profiles/arch/amd64/make.defaults. > > The ABI variable is used by functions in multilib.eclass, > toolchain-funcs.eclass, and the econf function to determine the > correct libdir (lib, lib

[gentoo-user] Re: Is --changed-deps going to be *that* useless?

2018-02-27 Thread Ian Zimmerman
On 2018-02-27 16:44, Paul Colquhoun wrote: > > > Yes, I use --deep. I've run into cases many times in the past > > > where portage was skipping updates unless I used --deep. > > > > You might want to avoid combining both --deep and --changed-deps. When I read this, I realize I don't understand t

[gentoo-user] Re: Is --changed-deps going to be *that* useless?

2018-02-27 Thread Ian Zimmerman
On 2018-02-27 11:02, Neil Bothwick wrote: > A combination of --changed-deps, --with-bdeps=y and --deep is bound to > result in plenty of unnecessary re-emerging. So, what _is_ the recommended set of emerge flags for regular daily or weekly updates (assuming no binary packages)? -- Please don't

[gentoo-user] Re: Is --changed-deps going to be *that* useless?

2018-02-27 Thread Ian Zimmerman
On 2018-02-27 12:45, Rich Freeman wrote: > I use --with-bdeps=n because I really don't care that much about > build-time deps, other than stuff that is going to get updated anyway > like gcc. These packages don't even need to be installed for software > to work correctly, and if a dev does miss a

[gentoo-user] Re: Best *SIMPLE* firewall?

2018-02-28 Thread Ian Zimmerman
On 2018-02-28 13:28, Jorge Almeida wrote: > > Is there something besides iptables? It seems to be like > > systemd/perl/python, continuously expanding its scope. And no, I'm > > not looking for an "easy-peasy front-end gui" that'll probably pull > > in 90% of QT as dependancies. I fondly rememb

[gentoo-user] Re: Bouncing Messages

2018-03-01 Thread Ian Zimmerman
On 2018-03-01 14:42, R0b0t1 wrote: > I keep getting emails from the mailer daemon about bouncing messages. > I am worried. Am I missing messages from my internet friends? Please > send help. Do you mean the crud from outlook/365? I get that too; it's probably because my list mail lacks DKIM sigs

[gentoo-user] Re: Bouncing Messages

2018-03-01 Thread Ian Zimmerman
On 2018-03-01 23:48, Branko Grubic wrote: > > I keep my messages locally so when I miss messages, it can throw a > > thread into some random weirdness. If one uses the web interface to > > read/reply etc then it wouldn't matter but for those who use email > > software, it seems we are missing som

[gentoo-user] Re: Bouncing Messages

2018-03-01 Thread Ian Zimmerman
On 2018-03-01 18:12, Dale wrote: > If it helps, this is the complete message headers and all that I got > for one of them. Obviously, I'm editing out my email addy. I get > enough spam as it is. I'm replacing my email addy with ohnoyourenot > even if it is a partial. It seems to me that they are c

[gentoo-user] Re: Bouncing Messages

2018-03-01 Thread Ian Zimmerman
On 2018-03-01 18:12, Dale wrote: > Here is the list of the bounced messages: > - 182748 > - 182749 > - 182751 If you succeed in retrieving them, please let us know which ones they were, so we can guess as to the cause. -- Please don't Cc: me privately on mailing lists and Usenet, if you also po

[gentoo-user] Re: Bouncing Messages

2018-03-02 Thread Ian Zimmerman
On 2018-03-02 12:04, Floyd Anderson wrote: > > >

[gentoo-user] Re: Bouncing Messages

2018-03-02 Thread Ian Zimmerman
On 2018-03-02 15:51, Grant Taylor wrote: > The reason that messages are being rejected is because of the DMARC > policy. 1) I publish DMARC records and 2) Gmail honor published DMARC > records. [...] > - This is a growing change in the email industry. - I just happen to > live towards (but not

[gentoo-user] Re: QEMU on a partition

2018-03-02 Thread Ian Zimmerman
On 2018-03-02 20:12, R0b0t1 wrote: > I can't find it again, but there was a neat writeup investigating the > TCP over TCP "tunnel collapse" phenomena. When two layers are doing > the same thing, there is a tendency for both to behave poorly. I'm not > sure any deeper explanation was or can be offe

[gentoo-user] Re: Ripping "enhanced" CDs with abcde/cdparanoia

2018-03-04 Thread Ian Zimmerman
On 2018-03-04 14:01, Lasse Pouru wrote: > You know, the ones with video or software tracks shoehorned into the > end. Whenever I try to rip one with abcde I get the error "selected > span contains non audio track at track X", even when I've chosen a > range not containing track X (e.g. abcde 1-11,

[gentoo-user] Re: USB ports reset/restart

2018-03-05 Thread Ian Zimmerman
On 2018-03-05 20:41, the...@sys-concept.com wrote: > I have an usb extension cord pluged-in to the back of the computer "blue > usb port" (I think the color blue designates USB-3), there are two of > them. > My usb stick was working OK on one, but it stopped. I pluged the USB > extension cord to

[gentoo-user] A new AMD CPU weakness?

2018-03-13 Thread Ian Zimmerman
https://v.gd/PZkiuR Does anyone know more details? -- Please don't Cc: me privately on mailing lists and Usenet, if you also post the followup to the list or newsgroup. To reply privately _only_ on Usenet and on broken lists which rewrite From, fetch the TXT record for no-use.mooo.com.

[gentoo-user] Re: A new AMD CPU weakness?

2018-03-13 Thread Ian Zimmerman
On 2018-03-14 10:28, Pengcheng Xu wrote: > Actually there’s a more memorable link that describes the matter > concisely: > > https://amdflaws.com Thanks for that, but there is nothing on that page I can actually read without lowering my uBlock "shield". I'm going to check out LWN. In any case,

[gentoo-user] Re: New xorg-proto package blocks everything else.

2018-03-25 Thread Ian Zimmerman
On 2018-03-25 13:50, Neil Bothwick wrote: > The only hard block here appears to be xscrnsaverproto, unmerge that and > the rest should take care of themselves. I had all the soft blocks today > but not that one, and everything worked fine. But ... I actually have packages that depend on scrnsaver

[gentoo-user] OT: github (and gitlab, etc etc): track down a particular commit

2018-03-25 Thread Ian Zimmerman
Very often, for a some large FLOSS project (often but not always packaged by gentoo) I am interested in answering the question: Which official released released versions V1.0, V2.0 etc contain a particular commit C1ABCDE? Using branches as an imperfect but mostly OK proxy for releases, the questi

[gentoo-user] Re: Would unmerging xorg-server certainly help it?

2018-03-25 Thread Ian Zimmerman
On 2018-03-25 17:49, Martin Vaeth wrote: > It should be scrnsaverproto-1.2.2-r2 which is pulled in. > Maybe you sync'ed at an unfortunate moment. Try emerge --sync again. In my case at least, the root cause was this: in the nightly webrsync snapshot (which I prefer to use instead of rsync), scrns

[gentoo-user] Re: The return of the dreaded "Cannot run C compiled programs"

2018-03-27 Thread Ian Zimmerman
Have you looked at config.log in the work directory after the failed build? Those are very verbose, including the source code of tests run. -- Please don't Cc: me privately on mailing lists and Usenet, if you also post the followup to the list or newsgroup. To reply privately _only_ on Usenet an

[gentoo-user] What is the meaning of "mirror" URI scheme in ebuilds?

2018-03-27 Thread Ian Zimmerman
Example from app-editors/emacs/emacs-24.5-r5 : SRC_URI="mirror://gnu/emacs/${P}.tar.xz https://dev.gentoo.org/~ulm/emacs/${P}-patches-4.tar.xz"; -- Please don't Cc: me privately on mailing lists and Usenet, if you also post the followup to the list or newsgroup. To reply privately _only

[gentoo-user] Re: What is the meaning of "mirror" URI scheme in ebuilds?

2018-03-27 Thread Ian Zimmerman
On 2018-03-27 22:00, David Haller wrote: > So, using your example, portage looks up the mirror for mirror://gnu > by looking in /etc/portage/mirrors (if it exists) and > /usr/portage/profiles/thirdpartymirrors for a line with the word "gnu" > at the beginning, and then tries the mirrors specified

[gentoo-user] Re: gcc-6.4.0-r1::gentoo failed (compile phase)

2018-03-28 Thread Ian Zimmerman
On 2018-03-28 17:40, Peter Humphrey wrote: > I think NFS may be simpler to operate, but that may be because I'm > more familiar with it. You just need something like this in the Atom's > /etc/ exports: /usr/portage > 192.168.1.5(rw,no_subtree_check,anonuid=250,anongid=250,no_wdelay) NBD (Network

[gentoo-user] Re: gcc-6.4.0-r1::gentoo failed (compile phase)

2018-03-28 Thread Ian Zimmerman
On 2018-03-28 15:08, Grant Taylor wrote: > Doesn't NBD (iSCSI and ATA over Ethernet) show up more like SAN > compared to NFS which is NAS? Well, that's too many 3-letter acronyms for me ;-) It is lower level, yes. All the filesystem code is on the client; the server only handles requests of the

[gentoo-user] Re: gcc-6.4.0-r1::gentoo failed (compile phase)

2018-03-28 Thread Ian Zimmerman
On 2018-03-28 16:09, Grant Taylor wrote: > The point being, NBD / AoE / iSCSI are SAN technologies and not > conducive for multiple clients to access at the same time (without a > clustered file system). Unlike NFS which is safe for multiple clients > to access at the same time. So, having multi

[gentoo-user] Re: Firefox and addons no longer supported question

2018-03-31 Thread Ian Zimmerman
On 2018-03-31 08:18, Martin Vaeth wrote: > As usual, there is the balance > "convenience" (old plugins) <-> "security". > In the beginning (say, until firefox-52 is no longer supported > upstream), there is a certain choice. But after that staying on the > "convenience" side is not sane anymore.

[gentoo-user] Re: Firefox and addons no longer supported question

2018-04-01 Thread Ian Zimmerman
On 2018-04-01 09:15, Martin Vaeth wrote: > If you speak about defenses like noscript, there are safer variants > available. I guess the usage of the already mentioned user.js (of > course adapted to your needs) together with current Webextensions > noscript, ublock-origin, and https-everywhere (ma

[gentoo-user] Re: Firefox and addons no longer supported question

2018-04-01 Thread Ian Zimmerman
On 2018-04-01 16:29, Martin Vaeth wrote: > An alarm sign for me was that palemoon was eventually dropped for > android after being practically unmaintained (i.e. with known open > security holes) for months/years. A similar alarm sign concerning > linux is that they were not able to pull the fixes

[gentoo-user] Re: [TOT: Total offtopic]

2018-04-01 Thread Ian Zimmerman
On 2018-04-01 12:04, taii...@gmx.com wrote: > If you are unable to fix it yourself (but I think you can :D) Unicomp > offers parts and repairs for Model M's (along with their kentucky usa > made Model M's - they use the original tooling) I have owned Unicomp keyboards, and those made after a cert

[gentoo-user] Re: Firefox and addons no longer supported question

2018-04-01 Thread Ian Zimmerman
On 2018-04-01 18:22, Dale wrote: > Just for giggles, I tried to re-emerge palemoon. This is part of the > output I got. > > * Supported GCC versions: 4.7, 4.9 > * Selected GCC version: 6.4 I no longer use the overlay; I have my own private ebuild series. I tried to remove the old gcc dependenc

[gentoo-user] Re: [TOT: Total offtopic]

2018-04-01 Thread Ian Zimmerman
On 2018-04-02 04:14, tu...@posteo.de wrote: > Do you have experience in removing the steel back plate from the > keyboard and later add it back with screws fixing the whole thing > instead of the rivets, which needs to be removed for this? No, unfortunately I cannot help. I've had mine for about

[gentoo-user] Re: [TOT: Total offtopic]

2018-04-02 Thread Ian Zimmerman
On 2018-04-02 01:28, taii...@gmx.com wrote: > I have one from almost 10 years ago, whats the difference :[? how can > you tell? You mean Unicomp? At that time, although they were not quite the old IBM, they were close, probably still using the original design to which they had bought rights. Bu

[gentoo-user] Re: bash scrip prompt after bootstrap

2018-04-02 Thread Ian Zimmerman
On 2018-04-02 11:29, Bas Zoutendijk wrote: > echo 'export PS1="You have chrooted into '$HOST' from $PS1"; exec \ >

[gentoo-user] Re: Firefox and addons no longer supported question

2018-04-02 Thread Ian Zimmerman
On 2018-04-02 03:59, Dale wrote: > That last bit should read can NOT win. Brain didn't quite make it all > the way to keyboard. lol I read it as beautifully subtle sarcasm, so it worked fine as it was. BTW, your mails are full of strange space characters - I didn't investigate if they're some Un

[gentoo-user] Re: Firefox and addons no longer supported question

2018-04-02 Thread Ian Zimmerman
On 2018-04-02 08:26, Daniel Frey wrote: > I don't see any extra spaces in Dale's message, you should also > probably check your local configuration. They render fine for me in mutt/neomutt, too. I can only see the strange spaces in my editor (emacs 24) when I start replying to him and quote his

[gentoo-user] Re: bash scrip prompt after bootstrap

2018-04-02 Thread Ian Zimmerman
On 2018-04-02 17:55, Bas Zoutendijk wrote: > What my syntax is doing is to let the $PS1 inside the PS1 definition > be evaluated by the chroot shell. Suppose you run this command with > HOST=eden and ROOT=/mnt/eden: > > echo 'export PS1="(chroot '$HOST') $PS1"; exec $ROOT /bin/bash -i > >

[gentoo-user] Re: bash scrip prompt after bootstrap

2018-04-02 Thread Ian Zimmerman
On 2018-04-02 19:18, Bas Zoutendijk wrote: > That is exactly what I meant to do, and I admit it is rather kludgey. > Because of the single quotes, which are around everything but $HOST, > the double quotes are literally echoed. The child shell will > therefore see the PS1 definition surrounded by

[gentoo-user] Warning: stabilized glibc breaks encryption in some cases

2018-04-02 Thread Ian Zimmerman
See bug 637164, including my last comment -- Please don't Cc: me privately on mailing lists and Usenet, if you also post the followup to the list or newsgroup. To reply privately _only_ on Usenet and on broken lists which rewrite From, fetch the TXT record for no-use.mooo.com.

[gentoo-user] Re: Gentoo Hardened vs Kali Linux

2018-04-02 Thread Ian Zimmerman
On 2018-04-02 21:14, Grant Taylor wrote: > Though I do think that reading the Linux from Scratch book and doing > the install along with the book will likely teach more about Linux (as > it existed at the time) Does that mean LFS is dead? That would be a pity. -- Please don't Cc: me privately

[gentoo-user] Re: Firefox and addons no longer supported question

2018-04-05 Thread Ian Zimmerman
On 2018-04-04 19:12, Wol's lists wrote: > Different horses, different courses. I believe the indent was dropped > to save a keystroke, so why the double-space is there (requiring an > extra keystroke) I don't know. > > And why use secretarial style when you're typesetting? One is for > letters, t

[gentoo-user] Re: Mutt database option

2018-04-08 Thread Ian Zimmerman
On 2018-04-07 17:12, Floyd Anderson wrote: > But I like the faster development/release cycle, the goal to clean up > the 20 years old code base and some features [1] of NeoMutt, > e.g. Lua-scripting, sidebar; which sometimes find their way into > Mutt. I have no experiences contributing patches to

[gentoo-user] Re: Mutt database option

2018-04-08 Thread Ian Zimmerman
On 2018-04-08 13:16, Mick wrote: > > And yet - after I am finished reading an email, I am used to returning > > to the message index by pressing 'i'. This no longer works in (Gentoo's > > version of) mutt 1.9.4. Instead one must press 'x'. It's driving me > > crazy. > > Interestingly, my mutt

[gentoo-user] Recovery mode blank screen

2018-04-08 Thread Ian Zimmerman
For the first time in ages, today I tried booting into the recovery mode. Initially I did it by entering the editor mode in grub and just appending "single" to the regular entry, but when that failed (see below) I enabled the recovery entries in /etc/default/grub, rerun grub-mkconfig and rebooted

[gentoo-user] Re: openvpn rc script dependencies

2018-04-10 Thread Ian Zimmerman
On 2018-04-10 10:55, Christoph Böhmwalder wrote: > I was wondering how the OpenRC dependencies between start scripts > work. openvpn start-up dependencies (and, I imagine, any user space based VPN) are definitely a pain point. One part is the subject of the main thread here ie. what other script

[gentoo-user] Re: Is udev-mount still valid?

2018-04-10 Thread Ian Zimmerman
On 2018-04-10 17:11, Mick wrote: > I had a look at /etc/runlevels and noticed two broken symlinks: > > lrwxrwxrwx 1 root root 24 Nov 25 2013 tmpfiles.dev -> /etc/init.d/ > tmpfiles.dev > lrwxrwxrwx 1 root root 22 Oct 26 2012 udev-mount -> /etc/init.d/udev-mount FWIW, I have neither of thes

[gentoo-user] Wrong instructions when installing Oracle JRE

2018-04-10 Thread Ian Zimmerman
When I do emerge dev-java/oracle-jre-bin, portage quoth: !!! dev-java/oracle-jre-bin-1.8.0.162-r1 has fetch restriction turned on. !!! This probably means that this ebuild's files must be downloaded !!! manually. See the comments in the ebuild for more information. * Fetch failed for 'dev-java/

[gentoo-user] Re: Wrong instructions when installing Oracle JRE

2018-04-12 Thread Ian Zimmerman
On 2018-04-11 01:08, R0b0t1 wrote: > Can we stop using Oracle's JVM? An ever recurring question, and of course one that should be asked. What is the alternative? icedtea is the _same_ VM, just built differently. And building it from source requires cups, which I don't want on my system. Also,

[gentoo-user] Re: Is udev-mount still valid?

2018-04-14 Thread Ian Zimmerman
On 2018-04-13 23:18, Floyd Anderson wrote: ># find /{etc,lib,usr,var} -path /etc/config-archive -prune -o \ >-type l -xtype l -print there is also the app-misc/symlinks package, and my own baby for the same purpose: https://very.loosely.org/paste/symlinks-pl -- Please don't Cc: me

[gentoo-user] Re: Is udev-mount still valid?

2018-04-14 Thread Ian Zimmerman
On 2018-04-15 00:10, Floyd Anderson wrote: > > https://very.loosely.org/paste/symlinks-pl > Because argument ROOTDIR is mandatory, the script should do something > when ROOTDIR is not given, e.g. print usage. Maybe ‘-r’ should be also > mandatory or the script should define some useful defaults.

[gentoo-user] Re: emerge colors and light background

2018-04-19 Thread Ian Zimmerman
On 2018-04-19 08:16, Klaus Ethgen wrote: > I recently start with gentoo due to frustration of the rapidly > degrading quality of debian. Hello, good to meet you again ;-) > Currently I have pretty good feelings about gentoo but there is one > thing that is pretty annoying. > > I use light backg

[gentoo-user] Re: emerge colors and light background

2018-04-19 Thread Ian Zimmerman
On 2018-04-19 20:57, Grant Edwards wrote: > > It depends on your terminal app. I use (u)rxvt and I remap the > > colors for it globally. Here are the settings (from .Xresources): > > > > *.beNiceToColormap: false > > Rxvt.background: seashell > > Rxvt.color10: green4 > > Rxvt.color11: orange2 >

[gentoo-user] Dependencies and PYTHON_TARGETS

2018-04-22 Thread Ian Zimmerman
I am still on the 2013 profile, and I therefore have PYTHON_TARGETS=python2_7 python3_5. The other day I had to install python 3.6 for reasons unrelated to portage or other packages. I thought I would reduce my overall snake footprint by removing 3.5 _if_ it wasn't really necessary anymore. To t

[gentoo-user] Re: Dependencies and PYTHON_TARGETS

2018-04-22 Thread Ian Zimmerman
On 2018-04-22 15:08, Alec Ten Harmsel wrote: > > * make sure dev-lang/python:3.6 stays in the world file, even if it > > is not needed by me directly > > No, you shouldn't need any dev-lang/python entries in the world > file. I don't have any in my world file, but still have 2.7 and 3.5 > install

[gentoo-user] Re: Binaries in /root/bin

2018-04-22 Thread Ian Zimmerman
On 2018-04-22 20:28, Klaus Ethgen wrote: > 1. is net-im/psi-1.3-r1 > 2. is app-admin/pass-1.7.1 > > both packages install their bin into /root/bin. All other packages are > installing correct, just that two packages did it wrong. FWIW I also have pass installed (same version) and it is in the ri

[gentoo-user] Re: Dependencies and PYTHON_TARGETS

2018-04-23 Thread Ian Zimmerman
On 2018-04-23 05:54, Alec Ten Harmsel wrote: > > But do you ever --depclean? Why did portage remove my python-2.5? > > Yes, after every world update. I'm not sure why python-3.5 was removed. Of course I meant python 3.5. Thanks for reading my mind ;-) > Before you set PYTHON_TARGETS in make.c

[gentoo-user] Re: Dependencies and PYTHON_TARGETS

2018-04-23 Thread Ian Zimmerman
On 2018-04-23 08:31, Neil Bothwick wrote: > > Why did portage remove my python-3.5? > > Because nothing that depends on it isn't also satisfied by python-3.6? But doesn't the PYTHON_TARGETS with which a package is built create a strict dependency on those pythons? If native code extensions are

[gentoo-user] Re: mutt, with USE="gpg", can't open a signed message

2018-04-24 Thread Ian Zimmerman
On 2018-04-24 21:13, Walter Dnes wrote: > "$(use_enable gpg gpgme)" "gpgme" above is _not_ a USE flag. That incantation tells portage to pass "--enable-gpgme" to the upstream package configure script if "gpg" USE flag is set in gentoo. -- Please don't Cc: me privately on mailing lists and Usen

[gentoo-user] Re: Kernel compile error

2018-04-25 Thread Ian Zimmerman
I would try these steps: 1. Download an upstream (not gentoo) 4.9.76 kernel source and unpack it. 2. Take the existing .config (from the failed genkernel attempt) and copy it into the newly unpacked tree. 3. make silentoldconfig 4. make menuconfig just for verification; no changes should be nec

[gentoo-user] Re: APIC

2018-04-26 Thread Ian Zimmerman
On 2018-04-25 18:15, tu...@posteo.de wrote: > how can I determine, whether I have a 8-bit APIC ... or what else? Why? There was some discussion of this on the list. Some posters said there was a kernel option that made kernels deal better with 16-bit (or wider?) APICs. But, by my reading of th

[gentoo-user] Re: Gentoo VM with VNC

2018-04-27 Thread Ian Zimmerman
On 2018-04-27 18:39, Klaus Ethgen wrote: > Ah yes, X11 seems to be a new battle field for me in gentoo. While > ~/.xsession was the way to have a custom startup in other distributions, > it is ignored in gentoo, used via startx or wdm. I found something about > ~/.xprofile but that is also not use

[gentoo-user] Suboptimal emerging of python libraries with native code

2018-05-03 Thread Ian Zimmerman
I just emerged sci-libs/scipy. I was unpleasantly surprised that the job only loaded one of my cpus most of the time, resulting in a longish wait (15-20 minutes). I investigated a bit. Originally, I had this in make.conf: MAKEOPTS="-j5" Then I had a look at the ebuild. I saw that it inherits

[gentoo-user] Re: Suboptimal emerging of python libraries with native code

2018-05-04 Thread Ian Zimmerman
On 2018-05-04 08:33, Andrés Becerra Sandoval wrote: > ​​Maybe it is because this bug: > ​ > https://bugs.gentoo.org/614464 It almost certainly is, although the bug seems to say that parallelization wouldn't work for python3.6 either, and the current official ebuild seems to enable it (or least t

[gentoo-user] Re: secure programing language?

2018-05-08 Thread Ian Zimmerman
On 2018-05-08 21:41, Canek Peláez Valdés wrote: > > So are there currently any languages (currently in use/supported) > > designed to avoid the problems with C and other languages? > I think Go and Rust would fit the bill. Ocaml, and (if you're married to C-like syntax) its new skin Reason, back

[gentoo-user] Re: Spectre-NG

2018-05-09 Thread Ian Zimmerman
On 2018-05-09 20:04, Wols Lists wrote: > > As mentioned, I wonder why gcc/clang do not yet support this > > horribly slow but spectre-safe option. It can't be that hard to > > implement in the actual code-producing back-end. > > Given the response by the gcc team to security people complaining th

[gentoo-user] Re: Spectre-NG

2018-05-10 Thread Ian Zimmerman
On 2018-05-10 14:35, Wol's lists wrote: > > Code may be "security-sensitive" but buggy. Is the compiler writer > > really responsible for guessing what the programmer meant to > > accomplish with buggy code? > > What do you mean by "buggy"? Relying on UB, or not telling the compiler the whole t

[gentoo-user] Re: Globally Disable Prompt Formatting, In All Programs Everywhere For All Time

2018-05-16 Thread Ian Zimmerman
On 2018-05-16 16:11, R0b0t1 wrote: > Is the only way to find every program that generates escape sequences > and disable it? What about kernel messages during boot? I was going to suggest setting TERM=dumb in the environment, but ... already the first program I tried (equery) doesn't honor it, so

[gentoo-user] Re: Non-opnerc init scripts

2018-05-21 Thread Ian Zimmerman
On 2018-05-21 19:22, Klaus Ethgen wrote: > I use oss4 directly from upstream now. It comes with an legacy init > script that works well with `/etc/init.d/oss start` (however, it has > no status). > > I added it to the "default" runlevel but unfortunately, openrc does > not even try to start it.

[gentoo-user] Re: Annoying mapping of some keys

2018-05-21 Thread Ian Zimmerman
On 2018-05-22 09:38, Damo Brisbane wrote: > Under X, xmodmap perhaps? I used to have a few xmodmap tricks in my X initialization scripts, but today I find I have my needs covered by the recommended alternative of xkb settings. -- Please don't Cc: m

[gentoo-user] Re: Home/End Insert a ~ Instead of Moving Cursor

2018-05-21 Thread Ian Zimmerman
On 2018-05-21 21:23, R0b0t1 wrote: > The issue may be screen. If it is, what different thing do I do? tmux seems to be all the rage these days. -- Please don't Cc: me privately on mailing lists and Usenet, if you also post the followup to the list or newsgroup. To reply privately _only_ on Usen

[gentoo-user] Re: Annoying mapping of some keys

2018-05-22 Thread Ian Zimmerman
On 2018-05-22 07:01, Klaus Ethgen wrote: > The problem occurs using X or console or ssh. Check what byte sequences those keys in fact emit. Here: matica!2 ~$ echo '^[[7~' | hexdump -C 1b 5b 37 7e 0a|.[7~.| 0005 matica!3 ~$ echo '^[[8~' | hexdu

[gentoo-user] Re: Home/End Insert a ~ Instead of Moving Cursor

2018-05-22 Thread Ian Zimmerman
On 2018-05-22 08:07, Klaus Ethgen wrote: > On debian not even bash is linked against readline. It probably bundles its own copy. Which of course makes things harder to debug - but hey, it's easier for the developers :P There was a time when this was one of the things debian was religious about

[gentoo-user] Re: Console serial terminal/console with command history?

2018-05-22 Thread Ian Zimmerman
On 2018-05-22 12:00, Grant Taylor wrote: > You might also want to check out using vim or emacs as they have > terminal emulators built in. They might be able to apply some command > line history / editing (in a round about way). Indeed, if there isn't a prepackaged way the next easiest is probab

<    1   2   3   4   5   >