Re: [gentoo-user] Re: line wrap over in xterm/konsole

2019-06-22 Thread Grant Taylor
On 6/22/19 1:52 AM, Jorge Almeida wrote: I think (wrongly?) that readline deals with redrawing when typing a command in the shell. I believe that readline comes into play with the shell which is controlling the command line. Any past output, even old command lines, are historical data that

Re: [gentoo-user] Re: line wrap over in xterm/konsole

2019-06-21 Thread Grant Taylor
On 6/21/19 5:03 PM, Jorge Almeida wrote: ## equery uses x11-terms/xterm [ Legend : U - final flag setting for installation] [: I - package is installed with flag ] [ Colors : set, unset ] * Found these USE flags for x11-terms/xterm-337: U I - - Xaw3d

Re: [gentoo-user] Re: line wrap over in xterm/konsole

2019-06-21 Thread Grant Taylor
On 6/21/19 4:20 PM, Jorge Almeida wrote: Nope. Just plain xterm (which I use a lot). BTW: it also works remotely, via ssh. $TERM is "xterm". What use terms do you have enabled (that impact XTerm)? Please post the output of equery uses x11-terms/xterm. XTerm(337) I think that's the current

Re: [gentoo-user] Re: query ebuild fields

2019-06-21 Thread Grant Taylor
On 6/21/19 3:59 PM, Ian Zimmerman wrote: No description. It clearly gets the homepage info from the .ebuild file (it doesn't exist anywhere else) so why it cannot also get the description is beyond me. ¯\_(ツ)_/¯ That's what I meant by "trivially worked around" :-) ;-) BTW, does your

Re: [gentoo-user] Re: line wrap over in xterm/konsole

2019-06-21 Thread Grant Taylor
On 6/21/19 2:04 PM, Jorge Almeida wrote: My xterm wraps & resizes just fine (e.g., a long line wraps; on maximizing the window, contents are redrawn and use just one line, if it fits). I don't think I did anything special for this to work. That surprises me. Are you automatically running

Re: [gentoo-user] Re: line wrap over in xterm/konsole

2019-06-21 Thread Grant Taylor
On 6/21/19 12:03 PM, Mick wrote: I seem to have this enabled, as far as the GUI shows, along with reverse wraparound If it's enabled (checked) in XTerm's menu, then the feature is enabled. not sure what the reverse wraparound does. "reverse wraparound" is when you backspace off the left

Re: [gentoo-user] query ebuild fields

2019-06-21 Thread Grant Taylor
On 6/21/19 11:27 AM, Ian Zimmerman wrote: Is there a command to show the fields like DESCRIPTION and HOMEPAGE from an installed ebuild, or is this one of the annoying gaps in the framework that must be (and can be) trivially worked around? Does equery meta not show what you want? % equery

Re: [gentoo-user] line wrap over in xterm/konsole

2019-06-21 Thread Grant Taylor
On 6/21/19 6:57 AM, Mick wrote: Is there some setting I can apply to address this annoying phenomenon? I'm not aware of such a setting for XTerm. Note: My ignorance of such a setting does not preclude it from existing.

Re: [gentoo-user] What is the "halt" user for?

2019-06-20 Thread Grant Taylor
On 6/20/19 3:07 AM, Philip Webb wrote: Why don't you simply goto another raw terminal via Ctl-Alt-F2 (F3 etc), login as 'root' & issue 'shutdown -h now' ? Traditionally, computer operators / maintenance technicians, who would need to do a halt might not have root's password. Thus the need

Re: [gentoo-user] Preventing new versions of gentoo-sources…

2019-06-19 Thread Grant Taylor
On 6/19/19 9:51 PM, Dale wrote: It seems you like that way and it works best for your situation and that is what matters. Yep. I'm happy enough, for now. We'll see if I change my opinion in the future. Sometimes there are many ways to do things but some just work better in certain

[gentoo-user] Inter-package dependencies.

2019-06-19 Thread Grant Taylor
After the good input that I received in the "Preventing new versions of gentoo-sources…" thread, I figured I'd ask this question: Is there a way to cause ebuild file to limit the version of other packages, e.g. net-misc/openvswitch's limiting sys-kernel/gentoo-sources to a supported kernel

Re: [gentoo-user] Preventing new versions of gentoo-sources…

2019-06-19 Thread Grant Taylor
On 6/19/19 8:51 PM, Dale wrote: Honestly, I'm not sure there is a easy way to do this. I'm actually happy with what Vadim recommended. It keeps me within the minor (?) version of the kernel that I want to stay within, while still allowing updates to new micro (?) versions. Is Major, Minor,

Re: [gentoo-user] equery keywords and overlays

2019-06-19 Thread Grant Taylor
On 6/19/19 3:29 PM, Jack wrote: It seems the man page is not complete.  It mentions the -k of --keywords option to the m or meta module, but doesn't actually mention the y (keywords) module itself (which IS shown by equery -h) equery y package  is not the same as equery m -k package The

Re: [gentoo-user] equery keywords and overlays

2019-06-19 Thread Grant Taylor
On 6/19/19 3:10 PM, Dale wrote: I'm not sure this will apply. I know this option works in some uses but not sure about yours. You may want to try it tho and see if it does what you want.    -o, --overlay-tree   Include package from overlays in the search path. I use it

Re: [gentoo-user] equery keywords and overlays

2019-06-19 Thread Grant Taylor
On 6/19/19 2:51 PM, Jack wrote: I suspect I have more ignorance of equery than you do, but have you tried eix?  I don't know all it's possibilities, but I do know it handles overlays. No, I have not tried eix yet. I tend to be reluctant to add additional tools, especially if the existing

[gentoo-user] equery keywords and overlays

2019-06-19 Thread Grant Taylor
Is there a way to get equery to list keywords from custom overlays (configured through /etc/portage/repos.conf/.conf)? If I put an ebuild file in the main Gentoo portage repo, equery keywords works just fine. If I move the same ebuild file to my local repo, equery keywords fails. (Yes,

Re: [gentoo-user] Re: What is the "halt" user for?

2019-06-19 Thread Grant Taylor
On 6/19/19 1:43 PM, Rich Freeman wrote: These days there are other ways to do the same You could probably add the Set UID bit to the halt binary and restrict read & execution to members of the group. Then any user that can read it, can run it as root via Set UID. -- Grant. . . . unix ||

Re: [gentoo-user] Preventing new versions of gentoo-sources…

2019-06-19 Thread Grant Taylor
On 6/19/19 11:37 AM, Vadim A. Misbakh-Soloviov wrote: echo '>sys-kernel/gentoo-sources-4.15' >> /etc/portage/package.mask/kernels Perfect! Thank you. :-) I did name the file /etc/portage/package.mask/gentoo-sources as I like to name the file after the package that it's meant to effect.

[gentoo-user] Preventing new versions of gentoo-sources…

2019-06-19 Thread Grant Taylor
Is there a way that I can prevent emerge from wanting to update (download / install) gentoo-sources for kernel versions beyond a specified value? I want to stick within a specific version of the kernel / gentoo-sources because of dependencies on Open vSwitch. I'm okay receiving updates to

Re: [gentoo-user] how can I everr switch to profile 17.1?

2019-06-18 Thread Grant Taylor
On 6/18/19 9:43 AM, John Covici wrote: It would seem impossible for me to switch to profile 17.1. "Impossible" seems a bit extreme to me. Maybe really difficult / annoying. I say this because I can never run emerge --depclean . I have a few packages which will not compile and one not in

Re: [gentoo-user] Module and kernel woes after two "emerge -DuNe @world"s

2019-06-17 Thread Grant Taylor
TL;DR: It does seem that the kernel was holding things back to the point that things weren't working. :-( On 6/8/19 12:01 PM, Grant Taylor wrote: I'm having problems with newly compiled modules (zfs (et al.) and vbox (et al.)) and kernel after doing two "emerge -DuNe @world"s. I'

Re: [gentoo-user] UEFI kernel installation?

2019-06-17 Thread Grant Taylor
On 6/17/19 3:02 AM, Wols Lists wrote: Did you run VANILLA 2.4? (None of the distro kernels carried those particular changes, for obvious reasons :-) Yes. I would download source form kernel.org and compile it manually. You're making the classic logical mistake of "it's not true for me

Re: [gentoo-user] UEFI kernel installation?

2019-06-16 Thread Grant Taylor
On 6/16/19 8:37 PM, Manuel McLure wrote: For example, per IBM for AIX (https://developer.ibm.com/articles/au-aix7memoryoptimize3/): "A more sensible rule is to configure the paging space to be half the size of RAM plus 4GB with an upper limit of 32GB. In systems with more than 32GB of RAM,

Re: [gentoo-user] UEFI kernel installation?

2019-06-16 Thread Grant Taylor
On 6/16/19 7:02 PM, Wols Lists wrote: So you didn't read what I wrote ... Par for the course :-( I did. I still hear people say it today. It's not old as in past tense. The basic Unix mechanism needs twice ram. I disagree. It's inherent in the design of the thing. Whether linux no

Re: [gentoo-user] UEFI kernel installation?

2019-06-16 Thread Grant Taylor
On 6/16/19 1:14 PM, Wols Lists wrote: I'd have a single /home partition I was thinking of the other OS as more of a live distro copied to the system than anything else. I wasn't thinking that the OP wanted to actively use the alternate distro frequently. As such, I figure that most

Re: [gentoo-user] UEFI kernel installation?

2019-06-16 Thread Grant Taylor
On 6/15/19 7:04 AM, Peter Humphrey wrote: Hello list, Hi, The main system on this box is ~amd64 plasma, but I also have a small rescue system which is amd64, no desktop. I use bootctl from systemd-boot to manage the UEFI images. I don't have much experience with UEFI. But I do have some

Re: [gentoo-user] problems trying to maintain inn for my own use

2019-06-13 Thread Grant Taylor
On 6/13/19 3:47 AM, John Covici wrote: Hi. I use inn to fetch/post usenet news. I know its no longer in the tree, but I would like to keep it going. I am also interested in maintaining INN. I mentioned it before INN was removed from portage, but didn't have an opportunity to do anything

Re: [gentoo-user] Module and kernel woes after two "emerge -DuNe @world"s

2019-06-09 Thread Grant Taylor
On 6/9/19 12:49 PM, Mick wrote: 3. Rebuild libtools, binutils, glibc. Well, I've had some progress. I'm now booted and running the kernel I just compiled. (Same config, same genkernel command.) I unmasked, downgraded, and selected (binutils-config) binutils to 2.30-r4 before re-running

Re: [gentoo-user] Module and kernel woes after two "emerge -DuNe @world"s

2019-06-09 Thread Grant Taylor
On 6/9/19 2:23 PM, Mick wrote: I think Dale meant a later tree will contain updated packages, which may fix previous breakages and incompatibilities. Please clarify which tree: Kernel and / or Portage Hypothetically, a later VBox version requires some later version libs, which your current

Re: [gentoo-user] Module and kernel woes after two "emerge -DuNe @world"s

2019-06-09 Thread Grant Taylor
On 6/9/19 1:38 PM, Dale wrote: While I see that point and quite often it is a good idea, it could also be that a fix is in the newer tree. It could even be that you caught the tree in the middle of some sort of change and you missed part of it. If it were me, I'd try everything you can but

Re: [gentoo-user] Module and kernel woes after two "emerge -DuNe @world"s

2019-06-09 Thread Grant Taylor
On 6/9/19 12:49 PM, Mick wrote: If you haven't done it already, perhaps have a look in the path /lib/modules/ 4.9.76-gentoo-r1/misc/ to check the VBox modules are present and owned by root:root with 0644 access rights. They are there. I would have expected the error message to be different

Re: [gentoo-user] Module and kernel woes after two "emerge -DuNe @world"s

2019-06-09 Thread Grant Taylor
On 6/9/19 2:56 AM, Mick wrote: This sounds as if it may be related to a move from an older gcc to a newer version. I'm not sure it's related to a gcc version: # gcc-config -l [1] x86_64-pc-linux-gnu-6.4.0 * [2] x86_64-pc-linux-gnu-8.3.0 I think that gcc 8.3 might have been selected and I

Re: [gentoo-user] Module and kernel woes after two "emerge -DuNe @world"s

2019-06-08 Thread Grant Taylor
On 6/8/19 1:17 PM, Dale wrote: I'm not sure I completely understand this one but a thought occurred to me. Thoughts are good. That's why I asked. This may be way off base here so feel free to ignore it if it is. Did you make sure the kernel symlink is pointing to the right kernel when you

Re: [gentoo-user] Module and kernel woes after two "emerge -DuNe @world"s

2019-06-08 Thread Grant Taylor
On 6/8/19 12:26 PM, Mick wrote: Were these contents not there, or is it that the new version of modules do not work? The old (original for the sake of this thread) versions (restored from backups) work just fine. The version produced during the first emerge -DuNe @world worked. At least

[gentoo-user] Module and kernel woes after two "emerge -DuNe @world"s

2019-06-08 Thread Grant Taylor
I'm having problems with newly compiled modules (zfs (et al.) and vbox (et al.)) and kernel after doing two "emerge -DuNe @world"s. Everything worked fine after rebooting after the first "emerge -DuNe @world". So, I did another "emerge -DuNe @world". (This harks back to the old stage 1 ->

Re: [gentoo-user] What is the best way to clean up the world file?

2019-06-06 Thread Grant Taylor
On 6/6/19 10:50 AM, Jack wrote: I've been going through this lately also (mainly due to forgetting -1 on updates) and put together  a script, which I can post later if anyone wants.  However, the bottom line for me is to do "emerge -pc package" for each package in world to see what (if

Re: [gentoo-user] What is the best way to clean up the world file?

2019-06-06 Thread Grant Taylor
On 6/6/19 9:57 AM, Grant Taylor wrote: It seems as if the regenworld script adds things that it finds from /var/log/emerge.log that aren't themselves dependencies of something else.  Thus it the world file is cleaner than if all installed packages were in the world file. To put some numbers

Re: [gentoo-user] What is the best way to clean up the world file?

2019-06-06 Thread Grant Taylor
On 6/5/19 10:56 PM, Dale wrote: It's a plain text file and I've edited it in the past with no problems. ACK I /thought/ that was the case. But I wanted to double check that there wasn't something else filed away that needed to match before I edited the file. I've done that cleanup before

Re: [gentoo-user] What is the best way to clean up the world file?

2019-06-05 Thread Grant Taylor
On 6/5/19 9:18 PM, Dale wrote: I would start by removing anything that has libs in it. Generally, those should be pulled in as deps. After that, I'd go through the list and remove anything that you don't directly use. ACK Can I just edit /var/lib/portage/world? Or do I need to do

[gentoo-user] What is the best way to clean up the world file?

2019-06-05 Thread Grant Taylor
What is the best way to clean up the world file? I have inherited a system where someone did individual emerges to update packages when there was a single package that had a problem. So, now all the packages that emerge wanted to update have been added to the world file. I'd like to clean

Re: [gentoo-user] encrypting emails on more than one email account with same keys

2019-05-23 Thread Grant Taylor
On 5/23/19 9:49 PM, mad.scientist.at.la...@tutanota.com wrote: I suspect most lawyers would agree that email is just a bad idea if confidentiality matters, or the web in general frankly and it's getting worse fast. I find that S/MIME works quite well for me. It's also largely transparent

Re: [gentoo-user] encrypting emails on more than one email account with same keys

2019-05-23 Thread Grant Taylor
On 5/23/19 1:11 PM, Dale wrote: I have to deal with a State entity for some communications and they do that send a link thing to go to a Cisco site to get/send emails. I guess it is somewhat better than just plain open email but as you point out, if they have the email with the link, they do

Re: [gentoo-user] encrypting emails on more than one email account with same keys

2019-05-23 Thread Grant Taylor
Re-sending because this didn't show up in the mailing list. On 5/23/19 9:40 AM, Dale wrote: Howdy, Hi, I'm trying to get some legal work done. I'm trying to do this over email with a lawyer. For obvious reasons, I want to do this encrypted but suspect they are not set up for this. They

Re: [gentoo-user] Can I use containers?

2019-05-18 Thread Grant Taylor
On 5/18/19 7:04 PM, Wols Lists wrote: Not that I do it (it would be a bit of a learning experience :-) but this is where using ldap for user management would score ... Centralized ID administration is nice. I've dabbled with the following: · Manual UID & GID management · Copying

Re: [gentoo-user] Can I use containers?

2019-05-18 Thread Grant Taylor
On 5/18/19 5:49 PM, Rich Freeman wrote: I'd be interested if there are other scripts people have put out there, but I agree that most of the container solutions on Linux are overly-complex. Here's what I use for some networking, which probably qualifies as extremely light weight

Re: [gentoo-user] Can I use containers?

2019-05-18 Thread Grant Taylor
On 5/18/19 9:26 AM, Peter Humphrey wrote: Hello list, Hi, Can anyone answer this? I can't comment on LXC or containers in general, but I will say that I think that namespaces (which is largely what I think containers are) could do this. I'd suggest a mount, UTS, and possibly user

Re: [gentoo-user] Mysterious silent remount / ro

2019-03-17 Thread Grant Taylor
On 3/17/19 10:48 AM, Peter Humphrey wrote: Hello list, Hi, My little Atom box has a small rescue system which I boot once a week to back up the main system. The backup script is a simple list of bash commands to mount partitions and tar them to a USB disk. Please share a copy of the

Re: [gentoo-user] autofs for a symlink - howto

2019-02-24 Thread Grant Taylor
On 2/24/19 10:26 AM, Helmut Jarausch wrote: How can I set up my system (using autofs ?) to automatically mount /Src if such a symlink is accessed like   cd    $HOME/Python Many thanks for a hint, Review some of the automount tutorials. They will be geared towards NFS, but the same

Re: [gentoo-user] VRFs / Jails / Containers

2019-02-05 Thread Grant Taylor
On 2/5/19 10:55 AM, Rich Freeman wrote: Yeah, I think you're over-reading into my posts. I'm mostly reacting to your ideas and not trying to be prescriptive. So we have a feedback loop. I'm trying to understand why you're saying what you're saying. I'm still looking for possibilities and

Re: [gentoo-user] VRFs / Jails / Containers

2019-02-04 Thread Grant Taylor
On 02/04/2019 02:58 PM, Rich Freeman wrote: So, I think we're miscommunicating a bit here... It happens. I'm saying that an init.d script shouldn't try to do anything other than initialize a service, which should be implemented outside the init.d script. It sounds like you are saying that

Re: [gentoo-user] VRFs / Jails / Containers

2019-02-04 Thread Grant Taylor
On 2/4/19 5:10 PM, Grant Taylor wrote: Consider the following commands to start the ""container: ip netns add myContainer ip link add myContainer type veth peer name myHost netns myContainer ip link set myContainer up ip addr add 192.0.2.1/24 dev myContainer ip netns exec myContain

Re: [gentoo-user] VRFs / Jails / Containers

2019-02-04 Thread Grant Taylor
On 02/04/2019 11:55 AM, Rich Freeman wrote: IMO I would separate your container logic from your service manager logic. I'm not exactly sure what you mean by "container logic" vs "service manager logic" and how they differ. I'm assuming that the former creates / destroys the container and

Re: [gentoo-user] VRFs / Jails / Containers

2019-02-04 Thread Grant Taylor
On 02/03/2019 11:23 AM, Michael Orlitzky wrote: Ultimately netifrc is just a shell script that parses another shell script to construct a third shell script. I don't think doing it with only two shell scripts is that much less elegant =) The elegance, or lack there of, is not in the number of

Re: [gentoo-user] VRFs / Jails / Containers

2019-02-04 Thread Grant Taylor
On 02/04/2019 09:23 AM, Laurence Perkins wrote: Have you tried firejail? It gives you convenient ways to set up the container parameters consistently and is in the repo. No, I have not. Thank you for the pointer. Its invocation is also simple enough to not clutter up your startup scripts.

Re: [gentoo-user] VRFs / Jails / Containers

2019-02-03 Thread Grant Taylor
On 2/3/19 6:26 AM, Michael Orlitzky wrote: You can add commands to your existing network configuration that will be run when an interface comes up. For example, in /etc/conf.d/net,   ifup_wlan0="iwconfig \$int key s:secretkey enc open essid foobar" Ya I find that to be an absolute

Re: [gentoo-user] VRFs / Jails / Containers

2019-02-03 Thread Grant Taylor
On 2/3/19 1:50 AM, Alarig Le Lay wrote: For the VRF part, Gentoo supports it; it’s in the upstream kernel sources. Yep. I've been doing Network Namespaces, and VRF to a lesser degree, for quite a while now. It's just all been manual or ad-hock scripts. I only tried it once, but failed

Re: [gentoo-user] VRFs / Jails / Containers

2019-02-03 Thread Grant Taylor
On 2/2/19 11:09 PM, Bill Kenworthy wrote: I am unclear on what you are trying to do. See my reply to Rich's message for a description. I find the gentoo scripts good for the simple case but a complex case almost always needs extra help. Yep. I was hoping that there was something that I

Re: [gentoo-user] VRFs / Jails / Containers

2019-02-03 Thread Grant Taylor
On 2/3/19 5:37 AM, Rich Freeman wrote: Nothing wrong with that approach. I use systemd-nspawn to run a bunch of containers, hosted in Gentoo, and many of which run Gentoo. However, these all run systemd and I don't believe you can run nspawn without a systemd host (the guest/container can be

Re: [gentoo-user] VRFs / Jails / Containers

2019-02-02 Thread Grant Taylor
On 2/2/19 9:39 PM, Michael Jones wrote: systemd-nspawn is also an option, but I don't think that'll work with OpenRC. Ya I moved (back to) Gentoo to get away from systemd. I'm not going to voluntarily opt to use it, or any of it's children. That's /my/ opinion. I know others opinions

Re: [gentoo-user] VRFs / Jails / Containers

2019-02-02 Thread Grant Taylor
On 2/2/19 7:36 PM, Bill Kenworthy wrote: LXC containers ?? Maybe. I just feel like that's more heavy weight than I want. I'm functionally running a series of ip commands to configure networking in a special way. Maybe I should look into what it takes to extend netifrc to support what I

[gentoo-user] VRFs / Jails / Containers

2019-02-02 Thread Grant Taylor
Does Gentoo have any support for VRFs or (chroot) Jails or Containers without going down the Docker (et al) path? I'm wanting to do some things with a Gentoo router that is trivial to do with network namespaces via manual commands ~> scripts. But that's far from standard Gentoo init script

Re: [gentoo-user] RAID-1 on secondary disks how?

2019-01-29 Thread Grant Taylor
On 01/29/2019 02:17 PM, Neil Bothwick wrote: AFAIR the initramfs code is built into the kernel, not as an option. The reason given for using a cpio archive is that it is simple and available in the kernel. The kernel itself has an initramfs built into it which is executed automatically, it's

Re: [gentoo-user] RAID-1 on secondary disks how?

2019-01-29 Thread Grant Taylor
On 01/29/2019 01:26 PM, Rich Freeman wrote: Uh, an initramfs typically does not exec a second kernel. I guess it could, in which case that kernel would need its own initramfs to get around to mounting its root filesystem. Presumably at some point you'd want to have your system stop kexecing

Re: [gentoo-user] RAID-1 on secondary disks how?

2019-01-29 Thread Grant Taylor
On 01/29/2019 01:08 PM, Rich Freeman wrote: Obviously. Hence the reason I said that it shouldn't matter if the module is built in-kernel. I'm saying it does matter. I'm not sure why it seems like we're talking past each other here... You seem to be focusing on the second kernel that the

Re: [gentoo-user] RAID-1 on secondary disks how?

2019-01-29 Thread Grant Taylor
On 01/29/2019 12:47 PM, Rich Freeman wrote: It couldn't. Hence the reason I said, "obviously it needs whatever drivers it needs, but I don't see why it would care if they are built -in-kernel vs in-module." You are missing what I'm saying. Even the kernel the initramfs uses MUST have

Re: [gentoo-user] RAID-1 on secondary disks how?

2019-01-29 Thread Grant Taylor
On 01/29/2019 12:33 PM, Rich Freeman wrote: If all my boxes could function reliably without an initramfs I probably would do it that way. ;-) However, as soon as you throw so much as a second hard drive in a system that becomes unreliable. I disagree. I've been reliably booting and

Re: [gentoo-user] RAID-1 on secondary disks how?

2019-01-29 Thread Grant Taylor
On 01/29/2019 12:01 PM, Rich Freeman wrote: Not sure why you would think this. It is just a cpio archive of a root filesystem that the kernel runs as a generic bootstrap. IMHO the simple fact that such is used when it is not needed is ugly part. This means that your bootstrap for

Re: [gentoo-user] RAID-1 on secondary disks how?

2019-01-29 Thread Grant Taylor
On 01/29/2019 12:04 PM, Rich Freeman wrote: I don't see the value in using a different configuration on a box simply because it happens to work on that particular box. Dracut is a more generic solution that allows me to keep hosts the same. And if all the boxes in the fleet can function

Re: [gentoo-user] RAID-1 on secondary disks how?

2019-01-29 Thread Grant Taylor
On 01/29/2019 10:58 AM, Rich Freeman wrote: Can't say I've tried it recently, but I'd be shocked if it changed much. The linux kernel guys generally consider this somewhat deprecated behavior, and prefer that users use an initramfs for this sort of thing. It is exactly the sort of problem an

Re: [gentoo-user] RAID-1 on secondary disks how?

2019-01-29 Thread Grant Taylor
On 01/29/2019 09:48 AM, Alan Mackenzie wrote: However, there's another quirk which bit me: something in the Gentoo installation disk took it upon itself to renumber my /dev/md2 to /dev/md127. I raised bug #539162 for this, but it was decided not to fix it. (This was back in February 2015.)

Re: [gentoo-user] RAID-1 on secondary disks how?

2019-01-29 Thread Grant Taylor
On 01/29/2019 09:08 AM, Peter Humphrey wrote: I'd rather not have to create an initramfs if I can avoid it. Would it be sensible to start the raid volume by putting an mdadm --assemble command into, say, /etc/local.d/raid.start? The machine doesn't boot from /dev/md0. Drive by comment. I

Re: [gentoo-user] OT scripting - strip zero if between period and digit

2019-01-21 Thread Grant Taylor
On 1/21/19 5:02 PM, Michael Orlitzky wrote: You need a parser, not a regular expression. The first thing that came to mind is splitting the values and passing them through printf. (You can do it with a regex, but it's going to be one of those comical twelve-page-long things.) I don't

Re: [gentoo-user] Setting up postfix and dovecot

2019-01-10 Thread Grant Taylor
On 01/10/2019 09:59 AM, Peter Humphrey wrote: That's been my difficulty all along: understanding what I need to do, before trying to set it up. Your recommendations are a great help in that, together with the considerable detail you offered. Been there. Done that. If I can help others avoid

Re: [gentoo-user] Setting up postfix and dovecot

2018-12-25 Thread Grant Taylor
On 12/25/18 5:58 AM, Peter Humphrey wrote: Hello list, Hi, Is there a guide anywhere to setting up dovecot to work with postfix and serve IMAP mail to a client on the same LAN segment? I've only found fragmentary, outdated guides to certain aspects of the whole setup and I'm left

Re: [gentoo-user] Mail forwarder on LAN

2018-12-24 Thread Grant Taylor
On 12/24/18 8:48 AM, Daniel Frey wrote: Was a little hasty posting... That happens. Yes the new server emails voice messages as attachments. It also does things like tracking staff status (in office, away, etc) and so it has other notifications relating to that and some other features.

Re: [gentoo-user] Mail forwarder on LAN

2018-12-23 Thread Grant Taylor
On 12/23/18 7:03 PM, Daniel Frey wrote: This is correct. A is the voice vlan, the black box is the phone server (which I am unable to add custom routes or new software packages to), B is another vlan that has access through site-to-site vpn to C. That makes perfect sense. There is

Re: [gentoo-user] Mail forwarder on LAN

2018-12-23 Thread Grant Taylor
On 12/23/18 3:47 PM, Daniel Frey wrote: Hi all, Hi, I'm trying to solve a very specific problem where a server on a VLAN needs to send mail through a VPN it has no direct route to. Okay. I feel like that's two distinct things that we don't yet know how they connect to each other. Just

Re: [gentoo-user] data recovery advice needed

2018-12-19 Thread Grant Taylor
On 12/19/2018 03:16 PM, Mick wrote: Grant, you're spot on! /me looks around wondering what he did and if he needs to run and hide. Symbol: EFI_PARTITION [=n] Oops. That will certainly mess with you. I was under the impression I had it enabled, but clearly I hadn't on this PC; which has

Re: [gentoo-user] data recovery advice needed

2018-12-19 Thread Grant Taylor
On 12/19/2018 04:43 AM, Mick wrote: I ran ddrescue while the drive was still on the laptop. The clone was on the USB caddy. ACK The disk block device is there and so is the first partition (only): ls -la /dev/sdb* brw-rw 1 root disk 8, 16 Dec 19 11:20 /dev/sdb brw-rw 1 root disk 8,

Re: [gentoo-user] data recovery advice needed

2018-12-18 Thread Grant Taylor
On 12/18/2018 10:49 AM, Jack wrote: I should be in good shape there.  The partition's new location should have the first half intact, and since the overwriting was of the first part of the old location, it's second half should be intact.  The files should all be there - but I imagine I might

Re: [gentoo-user] data recovery advice needed

2018-12-18 Thread Grant Taylor
On 12/18/2018 10:42 AM, Mick wrote: I know others have commented on the reliability of recovering data from drives connected via USB caddy, but I have had satisfactory results on a number of cases. I think it completely depends on the type of problem. In my experience, SATA-to-USB adapters

Re: [gentoo-user] data recovery advice needed

2018-12-18 Thread Grant Taylor
On 12/18/2018 05:21 AM, Wols Lists wrote: I really don't trust USB and hard drives IMHO external USB drive enclosures (physical enclosure, USB to SATA / PATA / ??? adapter, (no)fan) are suboptimal at best and are most likely to work when all the components are happy. I view them as the

Re: [gentoo-user] data recovery advice needed

2018-12-17 Thread Grant Taylor
On 12/17/2018 12:42 PM, Rich Freeman wrote: There is of course no guarantee that it will EVER successfully read all your data. You might be able to tell it to skip blocks and move on. Obviously all it can do is keep asking the drive to try again. If you want better than that then you're

Re: [gentoo-user] data recovery advice needed

2018-12-17 Thread Grant Taylor
On 12/17/2018 12:32 PM, Jack wrote: The other drive failed over a shorter period of time, even though SMART testing said all was OK. IMHO, by the time that S.M.A.R.T. complains, most chances of data retrieval are gone. I treat S.M.A.R.T. errors as a confirmation that the drive realizes that

Re: [gentoo-user] data recovery advice needed

2018-12-15 Thread Grant Taylor
On 12/15/18 4:33 PM, Jack wrote: Is there any way to fix this other than completely repeating the copy? I'm sure there are other ways, but the first things that comes to mind is touch. Or rather a script that uses touch, and possibly find or a recursive glob. The idea being to have the

Re: [gentoo-user] LVM and moving drive to another sata port.

2018-12-14 Thread Grant Taylor
On 12/14/18 7:57 AM, Rich Freeman wrote: Yes. At least by default LVM is going to scan all your drives looking for LVM PVs and will identify them regardless of what device they are on, as long as the device gets scanned. I wouldn't be surprised if LVM didn't scan all block devices. I think

Re: [gentoo-user] Root on NFS Suspend/Resume support

2018-12-11 Thread Grant Taylor
On 12/11/2018 03:53 PM, Tsukasa Mcp_Reznor wrote: Actually I haven't found the need for a menu at all, dnsmasq serves whatever kernel I have symbolically linked to the clients from their boot folder Nice. Aside: I played with a PXELINUX (?) menu to boot a few different things. It's been

Re: [gentoo-user] Root on NFS Suspend/Resume support

2018-12-11 Thread Grant Taylor
On 12/11/2018 04:23 AM, Tsukasa Mcp_Reznor wrote: You're totally correct, more information would be beneficial, here goes. :-) All machines are Wired 1Gbps connections. ACK That means that you don't have the complications (and performance issues) of wireless. Uefi IP4 network stack

Re: [gentoo-user] Root on NFS Suspend/Resume support

2018-12-10 Thread Grant Taylor
On 12/10/18 8:03 PM, Tsukasa Mcp_Reznor wrote: Has anyone managed to get suspend/resume to work on diskless machines using NFS as the root? ~blink~ I haven't tried to suspend / resume diskless machines. (I've not done much with diskless machines, but it's on my to do list.) But I don't

Re: [gentoo-user] Encryption questions

2018-12-10 Thread Grant Taylor
On 12/10/2018 02:25 AM, Neil Bothwick wrote: It sounds like ecryptfs would suit your needs best. As it works on directories, you don't need separate mount points for each encrypted directory. The last time I looked at eCryptFS it /did/ need mount points for accessing the unencrypted

Re: [gentoo-user] Encryption questions

2018-12-09 Thread Grant Taylor
On 12/9/18 10:15 PM, Dale wrote: Well, I don't really think I need to encrypt the entire /home mount point. To me, that would be overkill. Of course, that may be easier. I would like to have certain directories that I can store things in that is encrypted. For example, I have some financial

Re: [gentoo-user] CPU upgrade and LVM questions.

2018-12-09 Thread Grant Taylor
On 12/9/18 7:38 PM, Dale wrote: Just making sense of it. Trying to get it firmly in my mind. It just seems to simple and easy to move that much data around and swap drives even while in use. o-O Welcome to the wonders of LVM. You turn a drive / partition into something that LVM can use.

Re: [gentoo-user] Encryption questions

2018-12-09 Thread Grant Taylor
On 12/9/18 4:46 PM, Dale wrote: Howdy, Hi, As some may know, I'm making some changes and upgrades to my puter. One thing I'm considering, encryption of a select directory/mount point/file system. Please elaborate on a hypothetical setup that you would like. It might be worth starting

Re: [gentoo-user] CPU upgrade and LVM questions.

2018-12-09 Thread Grant Taylor
On 12/9/18 3:45 PM, Dale wrote: Grant, Hi Dale, I'm not ignoring this email. I didn't presume you were. ;-) I just keep rereading it. ;-) Okay. Is there an aspect of it that doesn't make sense? Or that you're uncomfortable with? Can I help alleviate the worry? I'm uncertain

Re: [gentoo-user] CPU upgrade and LVM questions.

2018-12-06 Thread Grant Taylor
On 12/06/2018 02:27 AM, Dale wrote: From what I've read, I can use pvmove and pvremove to replace that drive. Just tell pv to move the data and when done, remove the old drive. After that, the new 6TB drive will be used in that PV and the 3TB drive can be used for something else. Is it really

[gentoo-user] net-nntp/inn - This package is masked and could be removed soon!

2018-11-25 Thread Grant Taylor
Hi, I happily use net-nntp/inn on my server and was surprised to find that it is now masked and apparently up for removal. It looks like maintenance has dropped off on the package. I've never maintained a portage overlay or otherwise contributed to Gentoo (save for mailing lists). As such

Re: [gentoo-user] Help with dev-util/cargo blocking dev-lang/rust.

2018-11-17 Thread Grant Taylor
On 11/17/2018 10:33 PM, Andrew Udvare wrote: I switched fully to ACCEPT_KEYWORDS="~amd64" (make.conf) after running mixed for a while. These kinds of issues come up too often and I don't have a lot of time to solve them, plus for my dev machine I just don't notice stable vs unstable most of

Re: [gentoo-user] Help with dev-util/cargo blocking dev-lang/rust.

2018-11-17 Thread Grant Taylor
On 11/17/2018 10:13 PM, Andrew Udvare wrote: It looks like you need to unmask virtual/cargo because you need to have virtual/cargo 1.30.1. These version numbers have to match. That seems to have done it. I added virtual/cargo to /etc/portage/package.accept_keywords/cargo which did have

Re: [gentoo-user] Help with dev-util/cargo blocking dev-lang/rust.

2018-11-17 Thread Grant Taylor
On 11/17/2018 07:58 PM, Adam Carter wrote: Do you have  virtual/cargo installed? Not presently. I removed the following packages as part of troubleshooting. dev-util/cargo virtual/cargo dev-lang/rust virtual/rust I then (re)installed dev-lang/rust per Andrew U.'s recommendation. Sorry

Re: [gentoo-user] Help with dev-util/cargo blocking dev-lang/rust.

2018-11-17 Thread Grant Taylor
On 11/17/2018 06:11 PM, Andrew Udvare wrote: Uninstall dev-util/cargo and emerge -1 dev-lang/rust. dev-lang/rust comes with Cargo. Hum. That didn't solve the problem. #[5828:root@alpha:~]# eselect rust list Available Rust versions: [1] rust-1.30.1 * #[5829:root@alpha:~]# emerge -aDuN

<    1   2   3   4   5   >