Re: [gentoo-user] ssh login, passing local user environment

2020-10-25 Thread John Covici


On Sun, 25 Oct 2020 05:04:38 -0400,
J. Roeleveld wrote:
> 
> On Saturday, October 24, 2020 11:05:45 PM CET the...@sys-concept.com wrote:
> > If I login from the command "ifconfig" now works from command line at
> > the terminal but if I login over "ssh", "ifconfig" is not working only
> > "/bin/ifconfig"
> > 
> > I was thinking it is the option in sshd_config: PermitUserEnvironment
> > but enabling it didn't help.
> 
> Which USE-flags did you use for ssh?
> 
> # eix net-misc/openssh
> 
> should provide this.
> 
> Also, do you have the following in your sshd_config:
> 
> " UsePAM yes "
> 
> This is normally used to configure the environment as well.

The simplest thing is to change your path environment variable in your
.bashsrc so its always the same, no matter what the user is, that
would solve your problem.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] gentoo install speechless

2020-10-22 Thread John Covici
On Thu, 22 Oct 2020 05:09:53 -0400,
Jude DaShiell wrote:
> 
> On Wed, 21 Oct 2020, John Covici wrote:
> 
> > Date: Wed, 21 Oct 2020 23:18:14
> > From: John Covici 
> > Reply-To: gentoo-user@lists.gentoo.org
> > To: gentoo-user@lists.gentoo.org
> > Subject: Re: [gentoo-user] gentoo install speechless
> >
> > On Wed, 21 Oct 2020 13:08:51 -0400,
> > Jude DaShiell wrote:
> > >
> > > I got gentoo to boot and espeak although in the default run level with
> > > speakup-soft=soft enabled in the kernel espeak is silent.  I know the
> > > system booted since I uncommented the TUNE line in grub and also added in
> > > pcspkr into the kernel so was able to do a root login and then hit
> > > backspace and the pc speaker beeps.  I did not yet emerge alsa-utils if
> > > such a package exists in gentoo yet.  I'll have to use the install disk
> > > again and get to chroot /mnt/gentoo environment again and try to emerge
> > > alsa-utils to run speaker-test.  I did hear speakers click twice during
> > > the boot process so those probably work.
> > > For me it takes about 2 days to do this kind of linux install with gentoo
> > > and even with fedora moonshine that took less time to install and have
> > > come up talking.
> > > I did not go the systemd route, systemd looked lots more complex and I'm
> > > having plenty of trouble with openrc as things stand.
> > > More later as I find it out.  Probably good an accessibility podcast for
> > > gentoo is never done, I think such a podcast would deter any potential
> > > accessibility users from ever attempting an install of gentoo.
> >
> > Did you load the speakup-soft module during boot using /etc/modules or
> > maybe /etc/conf.d/modules or whatever the correct name is?  This
> > should get the module loaded and if using espeak, you execute that
> > command, maybe in your rc.local or some convenient place and you
> > should be good to go, provided alsa is working.  No worse than other
> > distros.  I have speakup built into the kernel and use a hardware
> > synth, so I am a bit better off, but you should still be able to get
> > things going.
> >
> I didn't load that module yet I built it into the kernel.  Maybe this is
> one that has to be compiled as a module then loaded in though why this
> should differ from  your hardware module I don't know.

ssh into the system and see if speakup-soft is loaded, but you need
alsa and espeak for speech to be available.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] gentoo install speechless

2020-10-21 Thread John Covici
On Wed, 21 Oct 2020 13:08:51 -0400,
Jude DaShiell wrote:
> 
> I got gentoo to boot and espeak although in the default run level with
> speakup-soft=soft enabled in the kernel espeak is silent.  I know the
> system booted since I uncommented the TUNE line in grub and also added in
> pcspkr into the kernel so was able to do a root login and then hit
> backspace and the pc speaker beeps.  I did not yet emerge alsa-utils if
> such a package exists in gentoo yet.  I'll have to use the install disk
> again and get to chroot /mnt/gentoo environment again and try to emerge
> alsa-utils to run speaker-test.  I did hear speakers click twice during
> the boot process so those probably work.
> For me it takes about 2 days to do this kind of linux install with gentoo
> and even with fedora moonshine that took less time to install and have
> come up talking.
> I did not go the systemd route, systemd looked lots more complex and I'm
> having plenty of trouble with openrc as things stand.
> More later as I find it out.  Probably good an accessibility podcast for
> gentoo is never done, I think such a podcast would deter any potential
> accessibility users from ever attempting an install of gentoo.

Did you load the speakup-soft module during boot using /etc/modules or
maybe /etc/conf.d/modules or whatever the correct name is?  This
should get the module loaded and if using espeak, you execute that
command, maybe in your rc.local or some convenient place and you
should be good to go, provided alsa is working.  No worse than other
distros.  I have speakup built into the kernel and use a hardware
synth, so I am a bit better off, but you should still be able to get
things going.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] kernel bad scheduling from idle thread

2020-10-13 Thread John Covici
On Tue, 13 Oct 2020 03:39:48 -0400,
J. Roeleveld wrote:
> 
> On Tuesday, October 13, 2020 9:26:08 AM CEST John Covici wrote:
> > Hi.  I am getting a very bad problem on my new kernel that I did after
> > my last update.  It gave me the following sequence over and over for a
> > while, and then stopped with the messages, but the system crashed.  I
> > then went back to my old kernel which had been working for more than a
> > month and got a couple of the same traces, but I hope its stopped, so
> > I can write this message.  A google search finds nothing relevant.
> > 
> > Here is what I get:
> > 
> > Oct 13 02:34:40 ccs.covici.com kernel: bad: scheduling from the idle
> > thread!
> > Oct 13 02:34:40 ccs.covici.com kernel: CPU: 5 PID: 0 Comm: swapper/5
> > Tainted: PW  O  5.4.69-gentoo #1
> > Oct 13 02:34:40 ccs.covici.com kernel: Hardware name: Supermicro Super
> > Server/X11SCA-W, BIOS 1.2 12/05/2019
> > Oct 13 02:34:40 ccs.covici.com kernel: Call Trace:
> > Oct 13 02:34:40 ccs.covici.com kernel:  dump_stack+0x71/0x98
> > Oct 13 02:34:40 ccs.covici.com kernel:  dequeue_task_idle+0x1f/0x28
> > Oct 13 02:34:40 ccs.covici.com kernel:  __schedule+0x167/0x5d6
> > Oct 13 02:34:40 ccs.covici.com kernel:  schedule_idle+0x2a/0x33
> > Oct 13 02:34:40 ccs.covici.com kernel:  do_idle+0x1d0/0x1f2
> > Oct 13 02:34:40 ccs.covici.com kernel:  cpu_startup_entry+0x1d/0x1f
> > Oct 13 02:34:40 ccs.covici.com kernel:  start_secondary+0x17b/0x198
> > Oct 13 02:34:40 ccs.covici.com kernel:  secondary_startup_64+0xa4/0xb0
> > Oct 13 02:34:40 ccs.covici.com kernel: bad: scheduling from the idle
> > thread!
> > Oct 13 02:34:40 ccs.covici.com kernel: CPU: 5 PID: 0 Comm: swapper/5
> > Tainted: PW  O  5.4.69-gentoo #1
> > Oct 13 02:34:40 ccs.covici.com kernel: Hardware name: Supermicro Super
> > Server/X11SCA-W, BIOS 1.2 12/05/2019
> > Oct 13 02:34:40 ccs.covici.com kernel: Call Trace:
> > Oct 13 02:34:40 ccs.covici.com kernel:  dump_stack+0x71/0x98
> > Oct 13 02:34:40 ccs.covici.com kernel:  dequeue_task_idle+0x1f/0x28
> > Oct 13 02:34:40 ccs.covici.com kernel:  __schedule+0x167/0x5d6
> > Oct 13 02:34:40 ccs.covici.com kernel:  schedule_idle+0x2a/0x33
> > Oct 13 02:34:40 ccs.covici.com kernel:  do_idle+0x1d0/0x1f2
> > Oct 13 02:34:40 ccs.covici.com kernel:  cpu_startup_entry+0x1d/0x1f
> > Oct 13 02:34:40 ccs.covici.com kernel:  start_secondary+0x17b/0x198
> > Oct 13 02:34:40 ccs.covici.com kernel:  secondary_startup_64+0xa4/0xb0
> > 
> > 
> > How would I even be able to find out what is happening here?
> > 
> > Any thoughts appreciated.
> 
> Which kernel versions have you tried?
> And which additional kernel modules have you added?
> 
> I myself am using 5.4.66 as previous versions were causing kernel panics.
> 

This is the first 5.4 kernel I have tried.  I did a make oldconfig and
added a number of modules, but I would think the kernel would only
load the ones that are needed.  I could not tell you the exact ones,
as I try to make the kernel somewhat general, so I may add things
which may not be necessary for my particular situation.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



[gentoo-user] kernel bad scheduling from idle thread

2020-10-13 Thread John Covici
Hi.  I am getting a very bad problem on my new kernel that I did after
my last update.  It gave me the following sequence over and over for a
while, and then stopped with the messages, but the system crashed.  I
then went back to my old kernel which had been working for more than a
month and got a couple of the same traces, but I hope its stopped, so
I can write this message.  A google search finds nothing relevant.

Here is what I get:

Oct 13 02:34:40 ccs.covici.com kernel: bad: scheduling from the idle
thread!
Oct 13 02:34:40 ccs.covici.com kernel: CPU: 5 PID: 0 Comm: swapper/5
Tainted: PW  O  5.4.69-gentoo #1
Oct 13 02:34:40 ccs.covici.com kernel: Hardware name: Supermicro Super
Server/X11SCA-W, BIOS 1.2 12/05/2019
Oct 13 02:34:40 ccs.covici.com kernel: Call Trace:
Oct 13 02:34:40 ccs.covici.com kernel:  dump_stack+0x71/0x98
Oct 13 02:34:40 ccs.covici.com kernel:  dequeue_task_idle+0x1f/0x28
Oct 13 02:34:40 ccs.covici.com kernel:  __schedule+0x167/0x5d6
Oct 13 02:34:40 ccs.covici.com kernel:  schedule_idle+0x2a/0x33
Oct 13 02:34:40 ccs.covici.com kernel:  do_idle+0x1d0/0x1f2
Oct 13 02:34:40 ccs.covici.com kernel:  cpu_startup_entry+0x1d/0x1f
Oct 13 02:34:40 ccs.covici.com kernel:  start_secondary+0x17b/0x198
Oct 13 02:34:40 ccs.covici.com kernel:  secondary_startup_64+0xa4/0xb0
Oct 13 02:34:40 ccs.covici.com kernel: bad: scheduling from the idle
thread!
Oct 13 02:34:40 ccs.covici.com kernel: CPU: 5 PID: 0 Comm: swapper/5
Tainted: PW  O  5.4.69-gentoo #1
Oct 13 02:34:40 ccs.covici.com kernel: Hardware name: Supermicro Super
Server/X11SCA-W, BIOS 1.2 12/05/2019
Oct 13 02:34:40 ccs.covici.com kernel: Call Trace:
Oct 13 02:34:40 ccs.covici.com kernel:  dump_stack+0x71/0x98
Oct 13 02:34:40 ccs.covici.com kernel:  dequeue_task_idle+0x1f/0x28
Oct 13 02:34:40 ccs.covici.com kernel:  __schedule+0x167/0x5d6
Oct 13 02:34:40 ccs.covici.com kernel:  schedule_idle+0x2a/0x33
Oct 13 02:34:40 ccs.covici.com kernel:  do_idle+0x1d0/0x1f2
Oct 13 02:34:40 ccs.covici.com kernel:  cpu_startup_entry+0x1d/0x1f
Oct 13 02:34:40 ccs.covici.com kernel:  start_secondary+0x17b/0x198
Oct 13 02:34:40 ccs.covici.com kernel:  secondary_startup_64+0xa4/0xb0


How would I even be able to find out what is happening here?

Any thoughts appreciated.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] app-shells/gentoo-zsh-completions no longer working

2020-10-12 Thread John Covici
On Mon, 12 Oct 2020 16:43:15 -0400,
Ashley Dixon wrote:
> 
> [1  ]
> On Mon, Oct 12, 2020 at 02:42:10PM -0400, John Covici wrote:
> > _gentoo_repos:8: command not found: _gentoo_repos_conf
> > [...]
> 
> The errors are coming from [1], referencing the function provided by the file 
> at
> [2] (`_gentoo_repos_conf`).  It's likely that you aren't loading these 
> functions
> into your shell. Have you seen the post-install message of ZSH [3]? Try 
> running
> the following and see if it fixes your problem:
> 
> % autoload -U compinit promptinit
> % compinit
> % promptinit; prompt gentoo
> 
> [1] https://gitweb.gentoo.org/proj/zsh-completion.git/tree/src/_gentoo_repos
> [2] 
> https://gitweb.gentoo.org/proj/zsh-completion.git/tree/src/_gentoo_repos_conf
> [3] 
> https://gitweb.gentoo.org/repo/gentoo.git/tree/app-shells/zsh/zsh-5.8.ebuild#n197
Thanks for the hint -- I had compinit already, but not promptinit and
that seems to have fixed it.

Thanks.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] app-shells/gentoo-zsh-completions no longer working

2020-10-12 Thread John Covici
On Mon, 12 Oct 2020 13:50:10 -0400,
Neil Bothwick wrote:
> 
> [1  ]
> On Mon, 12 Oct 2020 12:43:17 -0400, John Covici wrote:
> 
> > Hi.  I use the completions a lot to emerge or unmerge various versions
> > in the tree and this is no longer working.  I use zsh all the time and
> > if I hit, for instance emerge -1 \=sys-apps/systemd and hit tab I get
> > something like this:
> > I am on zsh 5.8.  Not sure what this output means.
> 
> You haven't posted any output, but it still works for me:
> 
> % emerge -1 \=sys-apps/systemd-
> systemd-245.7-r1   systemd-246-r1   systemd-   systemd-readahead-216

Sorry, must have forgot to include.

_gentoo_repos:8: command not found: _gentoo_repos_conf
_gentoo_repos:10: command not found: _gentoo_repos_conf
_gentoo_repos:7: command not found: _gentoo_repos_conf
_gentoo_repos:8: command not found: _gentoo_repos_conf
_gentoo_repos:10: command not found: _gentoo_repos_conf
_gentoo_repos:7: command not found: _gentoo_repos_conf
_gentoo_repos:8: command not found: _gentoo_repos_conf
_gentoo_repos:10: command not found: _gentoo_repos_conf
_gentoo_repos:7: command not found: _gentoo_repos_conf
_gentoo_repos:8: command not found: _gentoo_repos_conf
_gentoo_repos:10: command not found: _gentoo_repos_conf
_gentoo_repos:7: command not found: _gentoo_repos_conf
_gentoo_repos:8: command not found: _gentoo_repos_conf
_gentoo_repos:10: command not found: _gentoo_repos_conf
_gentoo_repos:7: command not found: _gentoo_repos_conf
_gentoo_repos:8: command not found: _gentoo_repos_conf
_gentoo_repos:10: command not found: _gentoo_repos_conf
 

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



[gentoo-user] app-shells/gentoo-zsh-completions no longer working

2020-10-12 Thread John Covici
Hi.  I use the completions a lot to emerge or unmerge various versions
in the tree and this is no longer working.  I use zsh all the time and
if I hit, for instance emerge -1 \=sys-apps/systemd and hit tab I get
something like this:
I am on zsh 5.8.  Not sure what this output means.

Thanks in advance for any suggestions.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] gentoo handbook

2020-10-11 Thread John Covici
On Sun, 11 Oct 2020 07:55:46 -0400,
Dale wrote:
> 
> [1  ]
> Neil Bothwick wrote:
> > On Sat, 10 Oct 2020 22:09:00 -0400, Jude DaShiell wrote:
> >
> >> A feature that would be useful for menuconfig would be the ability once
> >> a search is done to jump onto the desired search item directly (if the
> >> item were available at all).
> > That's already there. Options that are available have a number next to
> > them. Press that to jump to the option.
> >
> >
> 
> 
> Wow!!!  O_O  I never noticed that.  It works too.  I did a search for
> speak and saw a number next to the results and hit it, 1 in my case, and
> it went right to it.  I'm not going to mention how many times I went
> digging to find something in the past.  It embarrassing.  ;-) 
> 
> Now that is cool.  I just hope I remember to use it the next time.  :/

I didn't know that either and have been doing this for years!

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user]

2020-10-10 Thread John Covici
On Sat, 10 Oct 2020 19:49:54 -0400,
Jude DaShiell wrote:
> 
> On Sat, 10 Oct 2020, Neil Bothwick wrote:
> 
> > Date: Sat, 10 Oct 2020 13:34:43
> > From: Neil Bothwick 
> > Reply-To: gentoo-user@lists.gentoo.org
> > To: gentoo-user@lists.gentoo.org
> > Subject: Re: [gentoo-user]
> >
> > On Sat, 10 Oct 2020 10:00:04 -0400, Jude DaShiell wrote:
> >
> > > I did make menuconf in /usr/src/linux and in devices->staging drivers I
> > > found nothing to enable.  Speakup got moved out of staging so that's
> > > understandable.  in device drivers->accessibility all I found was enable
> > > app-accessibility which I turned on.  Is speakup.synth=soft stored in
> > > the runtime driver for espeak now?
> >
> > Press / in menuconf to search for options. This also shows options that
> > are currently unavailable, and what you need to enable to get at them.
> >
> >
> >
> 
> -- 
> 
> A search through options made no mention of anything connected to
> accessibility.  Trying to install a different kernel source has everything
> masked.  I'll read up on masking next, but it's looking like I'm going to
> have to erase everything back to the get stage3 step again and get a less
> current stage3 to get anything installed at all.

You don't need to do that, you can unmask anything depending on the
reason.  Didn't the autounmask  option fix your problem?

You can also use the 5.4.66 stable version.
Also, even in 5.8.13 speakup is still in staging and I did a search
and found it in  drivers/staging/speakup, so you can certainly try
that or whatever version of 5.8 you have.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] kernel-5.4.69

2020-10-10 Thread John Covici
On Sat, 10 Oct 2020 13:36:26 -0400,
Neil Bothwick wrote:
> 
> [1  ]
> On Sat, 10 Oct 2020 13:20:09 -0400, Jude DaShiell wrote:
> 
> > How can I emerge the sources for this version of the kernel?  I think
> > John suggested 5.4.69.
> 
> emerge -1a gentoo-sources:5.4.69
> 
> You need to be running ~arch for this, or have gentoo-sources in
> package.accept_keywords, 5.4.66 is the latest in stable.
> 
.66 is certainly OK as well, I am on the ~arch which I happen to find
useful.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] kernel-5.4.69

2020-10-10 Thread John Covici
On Sat, 10 Oct 2020 13:20:09 -0400,
Jude DaShiell wrote:
> 
> How can I emerge the sources for this version of the kernel?  I think John
> suggested 5.4.69.
> 
> 

Just emerge =sys-kernel/gentoo-sources-5.4.69  The = sign is
important, you can emerge any specific version in the tree this way.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user]

2020-10-10 Thread John Covici
On Sat, 10 Oct 2020 10:00:04 -0400,
Jude DaShiell wrote:
> 
> On Sat, 10 Oct 2020, Ashley Dixon wrote:
> 
> > Date: Sat, 10 Oct 2020 08:17:07
> > From: Ashley Dixon 
> > Reply-To: gentoo-user@lists.gentoo.org
> > To: gentoo-user@lists.gentoo.org
> > Subject: Re: [gentoo-user]
> >
> > On Sat, Oct 10, 2020 at 07:45:14AM -0400, Jude DaShiell wrote:
> > > I didn't emerge portaudio or pulseaudio before emerging espeak so will
> > > have to reemerge espeak to pick those USE variables up.
> >
> > You don't *need* portaudio or Pulse, but then you'll only be able to create 
> >  WAV
> > files, and not have the audio played live [1].  The developers  should  
> > probably
> > set one of them to be enabled by default in IUSE, since only creating WAV  
> > files
> > is a very unusual use-case for a screen-reader.
> >
> > > Another mistake I made was emerging espeak before emerging
> > > sys-kernel/gentoo-sources but since I'll have to reemerge, the
> > > sys-kernel/gentoo-sources package has been emerged on the system now.  The
> > > right order of operations here is critical!
> >
> > That's quite rare for Gentoo; Portage usually takes care of  all  that  
> > type  of
> > thing without requiring manual  user  interaction.   The  gentoo-sources  
> > ebuild
> > doesn't really do much,  aside  from  calling  a  couple  of  functions  in 
> >  the
> > `kernel-2` eclass [2, 3] to extract the  sources,  generate  the  symlinks, 
> >  and
> > check for any potential versioning issues.
> >
> > Can you provide some more details? Why is the order relevant?
> >
> > [1] 
> > https://gitweb.gentoo.org/repo/gentoo.git/tree/app-accessibility/espeak/espeak-1.48.04-r1.ebuild#n93
> > [2] 
> > https://gitweb.gentoo.org/repo/gentoo.git/tree/eclass/kernel-2.eclass#n1603
> > [3] 
> > https://gitweb.gentoo.org/repo/gentoo.git/tree/eclass/kernel-2.eclass#n1005
> >
> >
> 
> -- 
> 
> If you have portaudio or pulseaudio and alsa in your USE variables already
> then espeak will pull those in and build so it can do more than make wav
> files.  Same with speech-dispatcher for other screen readers.  I was being
> conservative with what I put in my USE variable and added things to it as
> I found things out.
> 
> I did make menuconf in /usr/src/linux and in devices->staging drivers I
> found nothing to enable.  Speakup got moved out of staging so that's
> understandable.  in device drivers->accessibility all I found was enable
> app-accessibility which I turned on.  Is speakup.synth=soft stored in the
> runtime driver for espeak now?
> 
> 
> 

In kernel 5.4.69 its in staging, I would suggest you get that shource
-- no need to get the absolutely latest driver.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] preparing for make menuconfig

2020-10-08 Thread John Covici
On Thu, 08 Oct 2020 16:26:19 -0400,
Ashley Dixon wrote:
> 
> [1  ]
> On Thu, Oct 08, 2020 at 01:55:04PM -0400, John Covici wrote:
> > modules.alias  modules.builtin
> > modules.builtin.binmodules.dep.binmodules.order
> > modules.symbols
> > modules.alias.bin  modules.builtin.alias.bin  modules.dep
> > modules.devnamemodules.softdep
> > modules.symbols.bin
> 
> That's fine.
> 
> > and the error message is
> > 
> > lspci: Unable to load libkmod resources: error -12
> 
> That error message is printed by lspci [1], although it is  the  result  of  
> the
> libkmod `kmod_load_resources` function returning less than zero [2].  With a 
> -12
> error, this suggests a failing with the `index_mm_open` function [3]. It's 
> quite
> a beast of a function; the failure could be due to a multitude of reasons.
> 
> Considering the nature of the error (memory allocation  failure),  I  reckon  
> it
> must be either the following call to mmap(2), or the preceding call to  
> open(2):
> (paraphrasing for formatting):
> 
> 
>   if ((fd = open(filename, O_RDONLY|O_CLOEXEC)) < 0) {
>   DBG(ctx, "open(%s, O_RDONLY|O_CLOEXEC): %m\n", filename);
>   err = -errno;
>   goto fail_open;
>   }
> 
> /* [...] */
> 
>   if ( ( idx->mm = mmap ( NULL, st.st_size, PROT_READ,
> MAP_PRIVATE, fd, 0 ) ) == MAP_FAILED) 
> {
>   ERR(ctx, "mmap (NULL, %"PRIu64", PROT_READ, %d, " \
> "MAP_PRIVATE, 0 ): %m\n", st.st_size, fd);
>   err = -errno;
>   goto fail_nommap;
>   }
> 
> I might you need to debug this on your machine, as I can't reproduce it  
> myself.
> You'll need to clone, recompile,  and  relink  libkmod  and  pciutils  with  
> the
> maximum debugging settings, to keep all symbols in  the  executable.   I  
> assume
> you're using GCC, although I suspect the same should work with Clang.
> 
> git clone both repos: [4] and [5].
> 
> libkmod:
> - Save the old symlink, by renaming /lib64/libkmod. to
>   something temporary, like libkmod.old.
> - Execute ./autogen.sh to create a configure script.
> - Run the configure script to enable maximum debugging:
> ./configure CFLAGS='-ggdb3' --prefix=/usr --sysconfdir=/etc \
> --libdir=/usr/lib64 --with-rootprefix= 
> --with-rootlibdir=/lib64
> - Compile and install the shared objects (you need to be root):
> make && make install
> - Ensure the `make install` has recreated the major version symlink in
>   /lib64 to the new shared object file.
> 
> pciutils:
> - Compile; there is no need to install:
> make CFLAGS="-ggdb3"
> 
> Now you have an lspci executable which is linked with the new libkmod, just 
> need
> to attach a debugger, such as gdb, and break on the troublesome function:
> 
> $ gdb ./lspci
> Reading symbols from ./lspci...
> (gdb) b index_mm_open
> Function "index_mm_open" not defined.
> Make breakpoint pending on future shared library load? (y or [n]) y
> Breakpoint 1 (index_mm_open) pending.
> (gdb) run -k
> 
> ... after a while, you'll encounter the first invocation of the troublemaker:
> 
> Breakpoint 1, index_mm_open (ctx=0x55583340, 
> filename=0x7fffc920
> "/lib/modules/5.4.60-gentoo/modules.dep.bin", 
> stamp=0x555833a0,
> pidx=0x55583378) at libkmod/libkmod-index.c:744
> 
> Before going any further, I want to confirm that  `filename`  does  point  to 
>  a
> correct file?  I doubt the open(2) call would fail with ENOMEM if the  file  
> was
> invalid, although you never know.  Assuming `filename` is valid,  we  can  
> start
> stepping through the function to determine which inner function is failing.   
> My
> bets are on mmap.
> 
> Hope to hear from you soon.
> 
> [1] 
> https://git.kernel.org/pub/scm/utils/pciutils/pciutils.git/tree/ls-kernel.c#n42
> [2] 
> https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git/tree/libkmod/libkmod.c#n842
> [3] 
> https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git/tree/libkmod/libkmod-index.c#n742
> [4] git://git.kernel.org/pub/scm/utils/pciutils/pciutils.git
> [5] git://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git
> 


Since I compile most packages with split-debug and my default flags
contain -gdb, could I use  the existing packages?

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] preparing for make menuconfig

2020-10-08 Thread John Covici
On Thu, 08 Oct 2020 11:07:44 -0400,
Ashley Dixon wrote:
> 
> [1  ]
> On Thu, Oct 08, 2020 at 07:04:46AM -0400, John Covici wrote:
> > I always get this error, but the flag indicating which driver is being
> > used still works, so I have not paid too much attention to this one.
> > I do have a running system with /lib/modules and the error still
> > occurrs.
> 
> What is the exact error?  Is it accompanied by an error code?  libkmod looks 
> for
> the following files, typically  located  in  `/lib/modules/$(uname  -r)/`,  
> when
> client applications request a context [1]; most of these can be  generated  
> with
> depmod(8):
> 
>  - modules.dep
>  - modules.alias
>  - modules.symbols
>  - modules.builtin.alias
>  - modules.builtin
> 
> struct _index_files {
> const char *fn;
> const char *prefix;
> }
> 
> The most interesting for kernel modules is `modules.alias`, which  is  the  
> more
> modern representation of `modules.{pci,usb}map` [2].  Are all these files 
> intact
> on your system? What happens when you run `lsmod`?
> 
> [1] 
> https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git/tree/libkmod/libkmod.c#n53
> [2] https://stackoverflow.com/a/25644147/

I have the following in my running kernel:

modules.alias  modules.builtin
modules.builtin.binmodules.dep.binmodules.order
modules.symbols
modules.alias.bin  modules.builtin.alias.bin  modules.dep
modules.devnamemodules.softdep
modules.symbols.bin

and the error message is

lspci: Unable to load libkmod resources: error -12


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] preparing for make menuconfig

2020-10-08 Thread John Covici
On Thu, 08 Oct 2020 02:51:49 -0400,
Ashley Dixon wrote:
> 
> [1  ]
> On Thu, Oct 08, 2020 at 07:30:45AM +0100, Ashley Dixon wrote:
> > This is just a total guess, but I can suppose that lspci uses it to convey
> > which kernel modules are being used by each PCI device.
> 
> Clarification: kmod is used specifically with the `-k` switch of lspci:
> 
> $ ash-euses -o pciutils:kmod
> sys-apps/pciutils:kmod - Enable sys-apps/kmod support for the -k 
> switch
> in lspci command
> 
> This causes the LIBKMOD variable to be passed to the Makefile [1, 2]:
> 
> pemake() {
> emake \
> [...]
> LIBKMOD=$(multilib_native_usex kmod) \
> [...]
> "$@"
> }
> 
> Anyway, with regards to your problem: if you're just installing your system 
> now,
> then you're probably getting this error  because  `/lib/modules`  doesn't  
> exist
> inside your chroot.  This path is hardcoded into pciutils  [3];  this  has  
> been
> modified by some vendors of the package, but not Gentoo [4].  You needn't  
> worry
> unless you're still getting this error  outside  of  your  chroot,  once  
> you've
> completed the installation. Just focus on building a kernel for now.
> 
> [1] 
> https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-apps/pciutils/pciutils-3.7.0.ebuild#n81
> [2] https://devmanual.gentoo.org/eclass-reference/multilib-build.eclass/#lbAE
> [3] 
> https://git.kernel.org/pub/scm/utils/pciutils/pciutils.git/tree/ls-kernel.c#n134
> [4] 
> https://github.com/NixOS/nixpkgs/commit/286c836b3f1421553c103758537929e596256e65#diff-0a685886728285db8aa0594d87cb29b4

I always get this error, but the flag indicating which driver is being
used still works, so I have not paid too much attention to this one.
I do have a running system with /lib/modules and the error still
occurrs.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] problems with installing zfs-kmod under new kernel

2020-10-07 Thread John Covici
On Wed, 07 Oct 2020 20:48:29 -0400,
Rich Freeman wrote:
> 
> On Wed, Oct 7, 2020 at 10:36 AM John Covici  wrote:
> >
> > I was on 0.8.4 and it upgraded me to 22.0.0_rc1.  I have not upgraded
> > my pools, so I think I can go back to 0.8.4 or 5.  The kernel I am
> > upgrading is not the running kernel, so would any of this effect my
> >  running kernel which is 4.19.144 -- unfortunately on 2.0.0_rc1, but I
> >  agree maybe I should mask it off and go to 0.8.5.
> 
> Yeah, or just stay on 0.8.4.  0.8.5 was only released upstream this
> week.  With my root and multiple TB of data on zfs I really don't want
> to face a restore situation.  I do have backups but it would take days
> to restore everything.
> 
> As long as you never ran zpool upgrade you should be able to downgrade
> the version you're running.  That said, anytime I change kernels I
> keep some old ones lying around just in case, including their modules.
Yep, not a bid idea at all, I usually do that as well.

Thanks.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] problems with installing zfs-kmod under new kernel

2020-10-07 Thread John Covici
On Wed, 07 Oct 2020 09:53:42 -0400,
Rich Freeman wrote:
> 
> On Wed, Oct 7, 2020 at 9:28 AM John Covici  wrote:
> >
> > Hi.  I am having problems installing zfs-kmod on my new kernel
> > 5.4.69.  Originally I got this:
> >
> > !!! Multiple package instances within a single package slot have been
> > pulled
> > !!! into the dependency graph, resulting in a slot conflict:
> >
> > sys-fs/zfs-kmod:0
> >
> >   (sys-fs/zfs-kmod-2.0.0_rc3:0/0::gentoo, ebuild scheduled for merge)
> >   USE="rootfs -custom-cflags -debug" ABI_X86="(64)" pulled in by
> >   (no parents that aren't satisfied by other packages in this
> >   slot)
> >
> >   (sys-fs/zfs-kmod-2.0.0_rc1:0/0::gentoo, installed) USE="rootfs
> >   -custom-cflags -debug" ABI_X86="(64)" pulled in by
> >   ~sys-fs/zfs-kmod-2.0.0_rc1 required by
> >   (sys-fs/zfs-2.0.0_rc1-r1:0/0::gentoo, installed) USE="nls pam rootfs
> >   (split-usr) -custom-cflags -debug (-kernel-builtin) -libressl
> >   -minimal -python (-static-libs) -test-suite" ABI_X86="(64)"
> >   PYTHON_TARGETS="python3_7 -python3_6 -python3_8"
> >   ^^
> >
> 
> This is because you're attempting to upgrade zfs-kmod and not zfs.
> You didn't paste your command line but chances are you didn't have
> both packages on it.
> 
> > Then I masked off the -rc3 version thinking that would help and I got
> > this:
> >
> >
> >
> > !!! Multiple package instances within a single package slot have been
> > pulled
> > !!! into the dependency graph, resulting in a slot conflict:
> >
> > sys-fs/zfs-kmod:0
> >
> >   (sys-fs/zfs-kmod-0.8.5:0/0::gentoo, ebuild scheduled for merge)
> >   USE="rootfs -custom-cflags -debug" ABI_X86="(64)" pulled in by
> >   (no parents that aren't satisfied by other packages in this
> >   slot)
> >
> >   (sys-fs/zfs-kmod-2.0.0_rc1:0/0::gentoo, installed) USE="rootfs
> >   -custom-cflags -debug" ABI_X86="(64)" pulled in by
> >   ~sys-fs/zfs-kmod-2.0.0_rc1 required by
> >   (sys-fs/zfs-2.0.0_rc1-r1:0/0::gentoo, installed) USE="nls pam rootfs
> >   (split-usr) -custom-cflags -debug (-kernel-builtin) -libressl
> >   -minimal -python (-static-libs) -test-suite" ABI_X86="(64)"
> >   PYTHON_TARGETS="python3_7 -python3_6 -python3_8"
> >   ^^
> >
> 
> That is because masking rc3 forces it to downgrade to an older version
> of zfs (which may or may not be compatible with what you have on-disk
> so you might be in for a surprise when you reboot).  But, since you're
> only updating one package but not the other you still get the same
> error.
> 
> What version of zfs do you WANT to use?  Are you already running on
> the v2 release candidate?  (Probably not what most people should be
> doing...)  If so you need to figure out if your pools are even
> compatible with v0.8.5 (I'm not sure offhand if new features were
> added, and if they were it would probably depend on whether you
> upgraded your pools).
> 
> If you are on the v2rc and want to stick with it, then undo whatever
> masking you did and just update both packages together:
> emerge -1au zfs-kmod zfs
> 
> Really though that should already happen if you did an emerge -u
> @world assuming both are in your world.
> 
> If you want to run v0.8.5 then I would mask both zfs-kmod and zfs
> >=0.9 and then run the same command.
> 
> If you're on 0.8.4 though you might seriously consider just accepting
> only stable keywords on zfs though - it is a filesystem and maybe not
> something you want to be cutting edge.
> 
> And you definitely don't want to go uninstalling zfs-kmod as now the
> module will be gone and once again you'll get a surprise when you
> reboot.
> 
> In the future though I'd probably avoid installing release candidates
> if you are running one.  That is, unless it is your goal to beta-test
> filesystems.

I was on 0.8.4 and it upgraded me to 22.0.0_rc1.  I have not upgraded
my pools, so I think I can go back to 0.8.4 or 5.  The kernel I am
upgrading is not the running kernel, so would any of this effect my
 running kernel which is 4.19.144 -- unfortunately on 2.0.0_rc1, but I
 agree maybe I should mask it off and go to 0.8.5.
 

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



[gentoo-user] problems with installing zfs-kmod under new kernel

2020-10-07 Thread John Covici
Hi.  I am having problems installing zfs-kmod on my new kernel
5.4.69.  Originally I got this:

!!! Multiple package instances within a single package slot have been
pulled
!!! into the dependency graph, resulting in a slot conflict:

sys-fs/zfs-kmod:0

  (sys-fs/zfs-kmod-2.0.0_rc3:0/0::gentoo, ebuild scheduled for merge)
  USE="rootfs -custom-cflags -debug" ABI_X86="(64)" pulled in by
  (no parents that aren't satisfied by other packages in this
  slot)

  (sys-fs/zfs-kmod-2.0.0_rc1:0/0::gentoo, installed) USE="rootfs
  -custom-cflags -debug" ABI_X86="(64)" pulled in by
  ~sys-fs/zfs-kmod-2.0.0_rc1 required by
  (sys-fs/zfs-2.0.0_rc1-r1:0/0::gentoo, installed) USE="nls pam rootfs
  (split-usr) -custom-cflags -debug (-kernel-builtin) -libressl
  -minimal -python (-static-libs) -test-suite" ABI_X86="(64)"
  PYTHON_TARGETS="python3_7 -python3_6 -python3_8"
  ^^



It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.

Then I masked off the -rc3 version thinking that would help and I got
this:


 
!!! Multiple package instances within a single package slot have been
pulled
!!! into the dependency graph, resulting in a slot conflict:

sys-fs/zfs-kmod:0

  (sys-fs/zfs-kmod-0.8.5:0/0::gentoo, ebuild scheduled for merge)
  USE="rootfs -custom-cflags -debug" ABI_X86="(64)" pulled in by
  (no parents that aren't satisfied by other packages in this
  slot)

  (sys-fs/zfs-kmod-2.0.0_rc1:0/0::gentoo, installed) USE="rootfs
  -custom-cflags -debug" ABI_X86="(64)" pulled in by
  ~sys-fs/zfs-kmod-2.0.0_rc1 required by
  (sys-fs/zfs-2.0.0_rc1-r1:0/0::gentoo, installed) USE="nls pam rootfs
  (split-usr) -custom-cflags -debug (-kernel-builtin) -libressl
  -minimal -python (-static-libs) -test-suite" ABI_X86="(64)"
  PYTHON_TARGETS="python3_7 -python3_6 -python3_8"
  ^^



It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.

So, how do I fix -- I was thinking of uninstalling zfs-kmod, but was
afraid it would delete from my running kernel (4.19.144) or some other
fcatastrophe, so I thought I'd ask here first.

I am on the zfs-discuss list and a few months ago they were talking
about a necessary patch to install in 5.4 kernels because of not
exporting some symhbols as well.

Thanks in advance for any suggestions.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] pcre build failure

2020-10-05 Thread John Covici
fvisibility=hidden-pthread -march=native -O2 -pipe -c -o 
> libpcre_la-pcre_config.lo `test -f 'pcre_config.c' || echo 
> '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/'`pcre_config.c
> libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. 
> -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden 
> -pthread -march=native -O2 -pipe -c 
> /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/pcre_config.c  -fPIC 
> -DPIC -o .libs/libpcre_la-pcre_config.o
> /bin/sh ./libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc 
> -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44   
>  -fvisibility=hidden-pthread -march=native -O2 -pipe -c -o 
> libpcre_la-pcre_dfa_exec.lo `test -f 'pcre_dfa_exec.c' || echo 
> '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/'`pcre_dfa_exec.c
> libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. 
> -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden 
> -pthread -march=native -O2 -pipe -c 
> /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/pcre_dfa_exec.c  -fPIC 
> -DPIC -o .libs/libpcre_la-pcre_dfa_exec.o
> /bin/sh ./libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc 
> -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44   
>  -fvisibility=hidden-pthread -march=native -O2 -pipe -c -o 
> libpcre_la-pcre_exec.lo `test -f 'pcre_exec.c' || echo 
> '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/'`pcre_exec.c
> libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. 
> -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden 
> -pthread -march=native -O2 -pipe -c 
> /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/pcre_exec.c  -fPIC 
> -DPIC -o .libs/libpcre_la-pcre_exec.o
> /bin/sh ./libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc 
> -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44   
>  -fvisibility=hidden-pthread -march=native -O2 -pipe -c -o 
> libpcre_la-pcre_fullinfo.lo `test -f 'pcre_fullinfo.c' || echo 
> '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/'`pcre_fullinfo.c
> libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. 
> -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden 
> -pthread -march=native -O2 -pipe -c 
> /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/pcre_fullinfo.c  -fPIC 
> -DPIC -o .libs/libpcre_la-pcre_fullinfo.o
> /bin/sh ./libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc 
> -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44   
>  -fvisibility=hidden-pthread -march=native -O2 -pipe -c -o 
> libpcre_la-pcre_get.lo `test -f 'pcre_get.c' || echo 
> '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/'`pcre_get.c
> libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. 
> -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden 
> -pthread -march=native -O2 -pipe -c 
> /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/pcre_get.c  -fPIC -DPIC 
> -o .libs/libpcre_la-pcre_get.o
> /bin/sh ./libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc 
> -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44   
>  -fvisibility=hidden-pthread -march=native -O2 -pipe -c -o 
> libpcre_la-pcre_globals.lo `test -f 'pcre_globals.c' || echo 
> '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/'`pcre_globals.c
> libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. 
> -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden 
> -pthread -march=native -O2 -pipe -c 
> /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/pcre_globals.c  -fPIC 
> -DPIC -o .libs/libpcre_la-pcre_globals.o
> /bin/sh ./libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc 
> -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44   
>  -fvisibility=hidden-pthread -march=native -O2 -pipe -c -o 
> libpcre_la-pcre_jit_compile.lo `test -f 'pcre_jit_compile.c' || echo 
> '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/'`pcre_jit_compile.c
> libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. 
> -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden 
> -pthread -march=native -O2 -pipe -c 
> /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/pcre_jit_compile.c  
> -fPIC -DPIC -o .libs/libpcre_la-pcre_jit_compile.o
> {standard input}: Assembler messages:
> {standard input}:264: Warning: end of file not at end of a line; newline 
> inserted
> {standard input}:265: Error: expecting operand after ','; got nothing
> {standard input}: Error: open CFI at the end of file; missing .cfi_endproc 
> directive
> x86_64-pc-linux-gnu-gcc: fatal error: Killed signal terminated program cc1
> compilation terminated.
> make[1]: *** [Makefile:1793: libpcre_la-pcre_exec.lo] Error 1
> make[1]: *** Waiting for unfinished jobs
> make[1]: Leaving directory 
> '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44-abi_x86_64.amd64'
> make: *** [Makefile:1403: all] Error 2
>  * ERROR: dev-libs/libpcre-8.44::gentoo failed (compile phase):
>  *   emake failed
>  *
>  * If you need support, post the output of `emerge --info 
> '=dev-libs/libpcre-8.44::gentoo'`,
>  * the complete build log and the output of `emerge -pqv 
> '=dev-libs/libpcre-8.44::gentoo'`.
>  * The complete build log is located at 
> '/var/tmp/portage/dev-libs/libpcre-8.44/temp/build.log'.
>  * The ebuild environment file is located at 
> '/var/tmp/portage/dev-libs/libpcre-8.44/temp/environment'.
>  * Working directory: 
> '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44-abi_x86_64.amd64'
>  * S: '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44'
> 
> >>> Failed to emerge dev-libs/libpcre-8.44, Log file:
>
I have truncated the output a bit, you usually don't need the config
log.  This sounds like a bug in the package, you might try
bugs.gentoo.org and see if you find anything.  Also, you might want to
go to the ~ tre -- I have no trouble compiling, but I have version
10.35 which is much newer than what you are trying to compile.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Re: installation problems

2020-10-02 Thread John Covici


On Fri, 02 Oct 2020 11:47:26 -0400,
Neil Bothwick wrote:
> 
> [1  ]
> On Fri, 02 Oct 2020 09:51:22 -0400, John Covici wrote:
> 
> > OK, one problem is going to be, I need a command l ine, not a gui and
> > I need speakup, so I will have to check and see if the Ubunto latest
> > has that in the kernel.
> 
> What about something like Vinux. It's an Ubuntu respin for visually
> impaired users, with plenty of options for screen reading and
> magnification.

I have heard of that distro, there are some others like it as well, I
doubt it has zfs, but thanks for the thought.
I will see if the ubuntu live has what I need.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Re: installation problems

2020-10-02 Thread John Covici


On Fri, 02 Oct 2020 09:38:54 -0400,
Rich Freeman wrote:
> 
> On Fri, Oct 2, 2020 at 9:32 AM John Covici  wrote:
> >
> > Is there anything more recent I c an use as a rescue disk?  I have
> > version 5.1 but after that, not sure what they did, but could not even
> > get a  decent root prompt and I do need zfs, otherwise there are many
> > options.
> >
> 
> Don't want to beat a dead horse, but zfs is also one of the reasons I
> use the ubuntu cds.  It is easy to get zfs running on an ubuntu
> livecd.  I forget if it is preinstalled, but I'm pretty sure it is all
> packaged so it is basically a 1-2 liner to add it.  I haven't looked
> at it recently but the Funtoo docs suggest doing the same which is
> where I got the tip.
> 
> At the time systemrescuecd didn't support zfs out of copyright
> concerns.  Perhaps that has changed.  People have strong feelings on
> zfs.  I get them, though it is 100% FOSS (even if the licensing was
> engineered to cause GPL issues).  IMO the biggest technical issue with
> using it on linux is that it basically pulls in a bunch of other BSD
> logic around stuff like caching so it isn't super-clean from a kernel
> perspective.  However, that is also part of why it is so stable - they
> basically containerized the thing so that they didn't have a bazillion
> regressions, and I think they've been slowly working on getting rid of
> the middle layers.
> 

OK, one problem is going to be, I need a command l ine, not a gui and
I need speakup, so I will have to check and see if the Ubunto latest
has that in the kernel.


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Re: installation problems

2020-10-02 Thread John Covici
On Fri, 02 Oct 2020 09:23:57 -0400,
Peter Humphrey wrote:
> 
> (Kmail seems to have stopped quoting the message I'm replying to.)
> 
> I always use SystemRescueCD to install a new Gentoo system. Never a single 
> problem with it, other than having to set up my own working conditions every 
> time.
> 
> I don't know what version it is, but it must have been about the last they 
> issued before switching to Arch.

Is there anything more recent I c an use as a rescue disk?  I have
version 5.1 but after that, not sure what they did, but could not even
get a  decent root prompt and I do need zfs, otherwise there are many
options.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] installation problems

2020-10-02 Thread John Covici


On Fri, 02 Oct 2020 08:51:52 -0400,
Jude DaShiell wrote:
> 
> I've never used a gentoo-live-cd and the reason I use the gentoo-minimal
> -cd is it's possible to bring speakup up on boot and for those few of us
> who can't see the screen and haven't got sighted help nearby, that makes
> all manner of independent computer operations possible.
> 
> On Fri, 2 Oct 2020, Rich Freeman wrote:
> 
> > Date: Fri, 2 Oct 2020 08:09:32
> > From: Rich Freeman 
> > Reply-To: gentoo-user@lists.gentoo.org
> > To: gentoo-user@lists.gentoo.org
> > Subject: Re: [gentoo-user] installation problems
> >
> > On Fri, Oct 2, 2020 at 4:53 AM Dale  wrote:
> > >
> > > Neil Bothwick wrote:
> > >
> > >> I haven't used the Gentoo installer discs for years, but you should be
> > >> able to create your own mount points.
> > >
> > > Is it still supported?  I thought it was abandoned again a good while 
> > > back.  That thing has come and gone so many times, I can't keep up with 
> > > when it is active or isn't.
> > >
> >
> > The minimal CD, or creating mountpoints?  The former has always
> > existed, and the latter has existed since the 70s.
> >
> > And please add non-html quotes - I really don't want to have to edit 
> > replies...
> >
> > As far as the minimal CD goes, you an just create mountpoints, but
> > really I'm not sure why anybody uses it in the first place.  I just
> > use a liveCD from ubuntu or whatever - there are a bazillion liveCDs
> > (including Gentoo-based ones), and just about all of them are more
> > useful than the Gentoo minimal iso.  I'm not sure why we even produce
> > one, except maybe for the same reasons everybody sets the default
> > editor to nano.  :)
> >
> >

I have used the minimal cd, but I would think any gentoo cd would have
the speakup module in it, you can always check by downloading the iso,
getting to the /lib/modules directory -- which might involve mounting
a squashfs file system -- and checking if the speakup module is there.


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Environment variables on package granularity

2020-10-02 Thread John Covici
On Fri, 02 Oct 2020 05:14:01 -0400,
Daniel Armbruster wrote:
> 
> [1  ]
> Hi gentoo-user,
> 
> is there a way to set environment variables on package/ebuild granularity? I'm
> aware, that plenty of portage related environment variables are configurable 
> by
> means of the package.env feature
> (https://wiki.gentoo.org/wiki//etc/portage/package.env). However, I didn't 
> find
> a way to set additional environment variables.
> 
> The actual reason, why I'm asking is the following: When compiling
> app-emulation/qemu, package installation fails when calling the preprocessor.
> Though, I'm able to manually solve the issue when setting the CPP environment
> variable:
> 
> # export CPP="gcc -E"
> 
> before running emerge. Instead of running the command again and again i.e.
> before every reinstallation of app-emulation/qemu, I'd like to set this
> environment variable for the package once (in e.g. a configuration file) and
> it's done for every future reinstallation.

You can use the env feature to set any environment variable you want,
they don't have to be portage related.  You can drill down to the
category/package quite nicely.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] emerge @world output unfamiliar. Am I updated?

2020-10-02 Thread John Covici
   (/, media-libs/libogg:0)
>    (/, media-libs/libvorbis:0)
>    (/, dev-scheme/guile:12)
>    (/, dev-libs/boehm-gc:0)
>    (/, dev-libs/libltdl:0)
>    (/, media-libs/tiff:0)
>    (/, media-gfx/mypaint-brushes:2.0)
>    (/, media-libs/libmypaint:0)
>    (/, net-libs/libproxy:0)
>    (/, media-gfx/exiv2:0)
>    (/, dev-db/lmdb:0)
>    (/, dev-libs/libutf8proc:0)
>    (/, dev-libs/libpcre2:0)
>    (/, dev-libs/double-conversion:0)
>    (/, app-arch/xz-utils:0)
>    (/, sys-apps/util-linux:0)
>    (/, dev-db/sqlite:3)
>    (/, gnome-extra/libgsf:0)
>    (/, x11-libs/pango:0)
>    (/, app-text/libspectre:0)
>    (/, x11-libs/libXrender:0)
>    (/, app-text/ghostscript-gpl:0)
>    (/, dev-libs/glib:2)
>    (/, dev-libs/libgudev:0)
>    (/, dev-libs/libmspack:0)
>    (/, net-libs/libnsl:0)
>    (/, dev-libs/mpc:0)
>    (/, sys-apps/acl:0)
>    (/, sys-libs/pam:0)
>    (/, sys-apps/attr:0)
>    (/, net-firewall/iptables:0)
>    (/, virtual/libcrypt:0)
>    (/, virtual/jpeg:0)
>    (/, virtual/libudev:0)
>    (/, virtual/libusb:1)
>    (/, dev-libs/libgit2:0)
>    (/, net-libs/libssh2:0)
>    (/, net-libs/http-parser:0)
>    (/, net-misc/curl:0)
>    (/, virtual/libintl:0)
>    (/, virtual/libelf:0)
> 
> 
> forced rebuilds:
> 
> 
> 
> 
> 

Did you actually do the emerge i.e. answer the question  at the end
about do you wish to emerge these packages?

Also, I would not get quite so much detail in your output by emering
like this:
script -c "emerge --update --deep --changed-use --with-bdeps=y
--keep-going --backtrack=500 --verbose-conflicts world"
/usr/src/world_update.txt

I always like to use a script because I like to look at output before
emerging.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Getting past captchas with vision issues.

2020-09-29 Thread John Covici


On Mon, 28 Sep 2020 22:05:23 -0400,
Matt Connell (Gmail) wrote:
> 
> On Mon, 2020-09-28 at 20:50 -0500, Dale wrote:
> > 
> > Anyone find a way around those things yet?
> > 
> 
> I've had mixed (~75%) success with Captcha Buster.
> 
> https://addons.mozilla.org/en-US/firefox/addon/buster-captcha-solver/
> 
> The general idea is that the addon will try to use the audio captcha,
> with the sound piped into a text-to-speech engine.  That way, you
> (ideally) get through a captcha with a single click and a couple of
> seconds waiting.
> 
> 

I have found pretty good results, because a lot of these captchas use
a Google library and if you are signed into google on the browser in
question, all you need to do is check the box that says I am not a
robot.  This does not work all the time, but about 90% of the time it
works.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] problems running emerge @module-rebuild on new kernel

2020-09-12 Thread John Covici


On Fri, 11 Sep 2020 21:48:45 -0400,
Ashley Dixon wrote:
> 
> [1  ]
> On Fri, Sep 11, 2020 at 09:42:25PM -0400, John Covici wrote:
> > So, I then tried to do emerge @module-rebuild and got strange results.  I 
> > get
> > when emerging wireguard  endlessly repeated lines like the following:
> > # Do not try to update included dependency files
> > and when I try to emerge sys-zfs/zfs-kmod it hangs on checking on whether
> > modules can be rebuilt.
> 
> Please attach the script of emerge, from the invocation (include the command) 
> to
> when it starts to hang.

Just in case anyone runs into this problem, I solved by making sure my
umask was set to 002 and then I unmerged and re-emerged the kernel and
recompiled and all was well.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] problems running emerge @module-rebuild on new kernel

2020-09-11 Thread John Covici
On Fri, 11 Sep 2020 21:48:45 -0400,
Ashley Dixon wrote:
> 
> [1  ]
> On Fri, Sep 11, 2020 at 09:42:25PM -0400, John Covici wrote:
> > So, I then tried to do emerge @module-rebuild and got strange results.  I 
> > get
> > when emerging wireguard  endlessly repeated lines like the following:
> > # Do not try to update included dependency files
> > and when I try to emerge sys-zfs/zfs-kmod it hangs on checking on whether
> > modules can be rebuilt.
> 
> Please attach the script of emerge, from the invocation (include the command) 
> to
> when it starts to hang.
> 


OK, here it  is, not a script, just a command at the console.
Script started on 2020-09-11 23:03:55-04:00 [TERM="linux" TTY="/dev/tty1" 
COLUMNS="240" LINES="67"]
Error during set creation: Could not import 
'smartliverebuild.sets.SmartLiveRebuildSet' for section 'smart-live-rebuild'

These are the packages that would be merged, in order:

Calculating dependencies   done!
[ebuild U  ] net-vpn/wireguard-modules-1.0.20200908::gentoo 
[1.0.20200729-r1::gentoo] USE="module -debug -module-src" 0 KiB
[ebuild   R] sys-fs/zfs-kmod-0.8.4-r1::gentoo  USE="rootfs -custom-cflags 
-debug" 0 KiB

Total: 2 packages (1 upgrade, 1 reinstall), Size of downloads: 0 KiB

WARNING: One or more updates/rebuilds have been skipped due to a dependency 
conflict:

sys-fs/zfs-kmod:0

  (sys-fs/zfs-kmod-2.0.0_rc1:0/0::gentoo, ebuild scheduled for merge) 
USE="rootfs -custom-cflags -debug" ABI_X86="(64)" conflicts with
~sys-fs/zfs-kmod-0.8.4 required by (sys-fs/zfs-0.8.4-r2:0/0::gentoo, 
installed) USE="rootfs (split-usr) -custom-cflags -debug (-kernel-builtin) 
-libressl -python (-static-libs) -test-suite" ABI_X86="(64)" 
PYTHON_TARGETS="python3_7 -python3_6"
^^


!!! The following installed packages are masked:
- dev-python/paver-1.3.4-r1::gentoo (masked by: package.mask)
/var/db/repos/gentoo/profiles/package.mask:
# Michał Górny  (2020-08-09)
# Build tool with no revdeps left.
# Removal in 30 days.  Bug #736517.

- net-mail/mailman-2.1.33::gentoo (masked by: package.mask)
/var/db/repos/gentoo/profiles/package.mask:
# Michał Górny  (2020-08-22)
# These packages (or package versions) still require Python 2.7.
# They are either dead upstream, their Python 3 porting efforts are
# not progressing or their maintainers are simply unresponsive.
# Please do not remove any packages from this list unless you actually
# port it to Python 3.
# Removal in 30 days.  Tracker bug #694800.

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


Would you like to merge these packages? [Yes/No] y

>>> Verifying ebuild manifests


>>> Emerging (1 of 2) net-vpn/wireguard-modules-1.0.20200908::gentoo

 * Fetching files in the background.
 * To view fetch progress, run in another terminal:
 * tail -f /var/log/emerge-fetch.log
 * wireguard-linux-compat-1.0.20200908.tar.xz BLAKE2B SHA512 size ;-) ...   

 [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 * /usr/src/linux
 * Found sources for kernel version:
 * 4.19.144-gentoo
 * Checking for suitable kernel configuration options...
 [ ok ]
>>> Unpacking source...
>>> Unpacking wireguard-linux-compat-1.0.20200908.tar.xz to 
>>> /var/tmp/portage/net-vpn/wireguard-modules-1.0.20200908/work
>>> Source unpacked in 
>>> /var/tmp/portage/net-vpn/wireguard-modules-1.0.20200908/work
>>> Preparing source in 
>>> /var/tmp/portage/net-vpn/wireguard-modules-1.0.20200908/work/wireguard-linux-compat-1.0.20200908
>>>  ...
>>> Source prepared.
>>> Configuring source in 
>>> /var/tmp/portage/net-vpn/wireguard-modules-1.0.20200908/work/wireguard-linux-compat-1.0.20200908
>>>  ...
>>> Source configured.
>>> Compiling source in 
>>> /var/tmp/portage/net-vpn/wireguard-modules-1.0.20200908/work/wireguard-linux-compat-1.0.20200908
>>>  ...
 * Preparing wireguard module
make -j1 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- 
'LDFLAGS=-m elf_x86_64' KERNELDIR=/usr/src/linux module 
# Do not try to update included dependency files
# Do not try to update included dependency files
# Do not try to update included dependency files
# Do not try to update included dependency files
^C

Exiting on signal 2

Script done on 2020-09-11 23:04:38-04:00 [COMMAND_EXIT_CODE="130"]

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



[gentoo-user] problems running emerge @module-rebuild on new kernel

2020-09-11 Thread John Covici
Hi.  I am having problems doing emerge @module-rebuild to update my
kernel to linux-4.19.144-gentoo.  I copied my previous .config from
128-gentoo, did make oldconfig then did make bzimage, modules and
modules_install without problems.  So, I then tried to do emerge
@module-rebuild and got strange results.  I get when emerging
wireguard  endlessly repeated lines like the following:
# Do not try to update included dependency files
and when I try to emerge sys-zfs/zfs-kmod it hangs on checking on
whether modules can be rebuilt.

I thought it might be some kind of permission question, but updating
all directories in the kernel tree to o+x, or even changing the
ownership of the entire tree to portage.portage, but no joy.

Thanks in advance for any suggestions.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] mailman 2.1 replacement? (Python 2.7 issue)

2020-09-06 Thread John Covici
Well, when trying to emerge mailman, I do get the masked packages
warning, but I can't get the bug, bugs.gentoo.org seems to be down.

On Sun, 06 Sep 2020 09:39:41 -0400,
John Covici wrote:
> 
> hmmm, in my /var/db/repos/gentoo/profile/packages.mask, I only have
> mailman3 as unmasked.  I am on the ~ tree, so that may make some
> difference.
> 
> On Sun, 06 Sep 2020 05:55:48 -0400,
> Matthias Hanft wrote:
> > 
> > Neil Bothwick wrote:
> > > 
> > > Have you read https://bugs.gentoo.org/710134 ?
> > 
> > *Now* I have - thank you :-)
> > 
> > Unfortunately, there's no answer either. But I've added myself
> > to the Cc list and will monitor that thread.
> > 
> > -Matt
> > 
> 
> -- 
> Your life is like a penny.  You're going to lose it.  The question is:
> How do
> you spend it?
> 
>  John Covici wb2una
>  cov...@ccs.covici.com
> 

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] mailman 2.1 replacement? (Python 2.7 issue)

2020-09-06 Thread John Covici
hmmm, in my /var/db/repos/gentoo/profile/packages.mask, I only have
mailman3 as unmasked.  I am on the ~ tree, so that may make some
difference.

On Sun, 06 Sep 2020 05:55:48 -0400,
Matthias Hanft wrote:
> 
> Neil Bothwick wrote:
> > 
> > Have you read https://bugs.gentoo.org/710134 ?
> 
> *Now* I have - thank you :-)
> 
> Unfortunately, there's no answer either. But I've added myself
> to the Cc list and will monitor that thread.
> 
> -Matt
> 

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] systemd 246 gives strange messages

2020-08-12 Thread John Covici
On Wed, 12 Aug 2020 10:55:14 -0400,
Rich Freeman wrote:
> 
> On Wed, Aug 12, 2020 at 9:32 AM John Covici  wrote:
> >
> > Does this indicate a problem, and if not, how can I stop these
> > messages?
> >
> 
> I'm guessing it is just log spam, but I don't use Gnome so I can't
> really be sure.  You might do well to ask on a Gnome mailing list, or
> maybe ping one of the gnome maintainers on Gentoo.
> 
> It looks like Gnome is integrating with systemd via xdg and a new
> systemd generator to have systemd automatically launch some services
> based on events.  If I had to take a wild guess some of these services
> are managed by systemd, and others are not, and systemd is being noisy
> about the ones that aren't.
> 
> But it is also possible something is broken.  I bet a Gnome maintainer
> would know what is going on offhand.  They may not monitor this list
> but if you pinged one on IRC/email and asked them to look they
> probably would.  The Gentoo maintainer is probably your best first
> bet, but we probably run relatively close to upstream since that's how
> Gentoo does stuff, so upstream might also help you.  I know on the
> systemd front we try to stay close to upstream (much closer to
> something like Arch than something like Ubuntu).

OK, I will check, thanks a lot.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



[gentoo-user] systemd 246 gives strange messages

2020-08-12 Thread John Covici
Hi.  After the latest update to systemd 246, I get periodic messages
like these:

systemd[7985]: Not generating service for XDG autostart
app-nm\x2dapplet-autostart.service, it is hidden.
systemd[7985]: Not generating service for XDG autostart
app-org.gnome.SettingsDaemon.XSettings-autostart.service, startup
phases are not supported.
systemd[7985]: Not generating service for XDG autostart
app-org.gnome.SettingsDaemon.Wacom-autostart.service, startup phases
are not supported.
systemd[7985]: Not generating service for XDG autostart
app-pulseaudio-autostart.service, startup phases are not supported.
systemd[7985]: Not generating service for XDG autostart
app-org.gnome.SettingsDaemon.ScreensaverProxy-autostart.service,
startup phases are not supported.
systemd[7985]: Not generating service for XDG autostart
app-org.gnome.SettingsDaemon.Housekeeping-autostart.service, startup
phases are not supported.
systemd[7985]: Not generating service for XDG autostart
app-org.gnome.SettingsDaemon.Smartcard-autostart.service, startup
phases are not supported.
systemd[7985]: Not generating service for XDG autostart
app-orca\x2dautostart-autostart.service, only Type=Application is
supported.
systemd[7985]: Not generating service for XDG autostart
app-org.gnome.SettingsDaemon.Sharing-autostart.service, startup phases
are not supported.
systemd[7985]: Not generating service for XDG autostart
app-org.gnome.SettingsDaemon.UsbProtection-autostart.service, startup
phases are not supported.
systemd[7985]: gnome-systemd-autostart-condition not found: No such
file or directory
systemd[7985]: Not generating service for XDG autostart
app-xdg\x2duser\x2ddirs-autostart.service, startup phases are not
supported.
systemd[7985]: Not generating service for XDG autostart
app-org.gnome.SettingsDaemon.Power-autostart.service, startup phases
are not supported.
systemd[7985]: Not generating service for XDG autostart
app-org.gnome.SettingsDaemon.Color-autostart.service, startup phases
are not supported.
systemd[7985]: Not generating service for XDG autostart
app-org.gnome.SettingsDaemon.A11ySettings-autostart.service, startup
phases are not supported.
systemd[7985]: Not generating service for XDG autostart
app-org.gnome.SettingsDaemon.Keyboard-autostart.service, startup
phases are not supported.
systemd[7985]: Not generating service for XDG autostart
app-org.gnome.SettingsDaemon.MediaKeys-autostart.service, startup
phases are not supported.
systemd[7985]: Not generating service for XDG autostart
app-gnome\x2dkeyring\x2dssh-autostart.service, startup phases are not
supported.
systemd[7985]: Not generating service for XDG autostart
app-org.gnome.SettingsDaemon.Datetime-autostart.service, startup
phases are not supported.
systemd[7985]: Not generating service for XDG autostart
app-gnome\x2dkeyring\x2dsecrets-autostart.service, startup phases are
not supported.
systemd[7985]: Not generating service for XDG autostart
app-at\x2dspi\x2ddbus\x2dbus-autostart.service, startup phases are not
supported.
systemd[7985]: Not generating service for XDG autostart
app-org.gnome.SettingsDaemon.Sound-autostart.service, startup phases
are not supported.
systemd[7985]: Not generating service for XDG autostart
app-gnome\x2dkeyring\x2dpkcs11-autostart.service, startup phases are
not supported.
systemd[7985]: Not generating service for XDG autostart
app-org.gnome.SettingsDaemon.Rfkill-autostart.service, startup phases
are not supported.
systemd[7985]: Not generating service for XDG autostart
app-org.gnome.SettingsDaemon.PrintNotifications-autostart.service,
startup phases are not supported.

Does this indicate a problem, and if not, how can I stop these
messages?

Thanks in advance for any suggestions.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



[gentoo-user] oauth2 and apache web pages

2020-08-01 Thread John Covici
Hi.  I would like to set up my apache configuration such that for
certain web pages, someone must log in with credentials.  I know how
to set up basic authentication, but I would like to set up so the user
needs oauth2 or similar to log into the page, as I understand basic
authentication is not very secure these days.

I did not see anything in the tree to do this, I saw an apache module
on github, but still not sure how to do this, so any tips along these
lines would be appreciated.

Thanks in advance for any suggestions.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] problem getting wifi card to route to internet

2020-07-27 Thread John Covici
I wil have to check, I ran into some other problems with wlan0 and
will get back when I have straightened that out.

Thanks.


On Sun, 26 Jul 2020 23:17:24 -0400,
Adam Carter wrote:
> 
> [1  ]
> > > Have you set the default route and enabled ip forwarding?
> > >
> > > Also you don’t need to add a route for connected interfaces
> > Thanks for your quick response.  Packet forwarding is enabled and I am
> > using shorewall to have normal firewall settings.
> >
> 
> Ok so can the WLAN clients ping the internet facing interface of your new
> linux/wlan/internet router? If not, do they get a DHCP IP address? Do they
> have a default route?
> [2  ]

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] problem getting wifi card to route to internet

2020-07-25 Thread John Covici
On Sat, 25 Jul 2020 05:31:32 -0400,
Adam Carter wrote:
> 
> [1  ]
> On Saturday, July 25, 2020, John Covici  wrote:
> 
> > Hi.  This is not strictly a gentoo problem, but I would like advise
> > from people on how to get my wifi card to see the internet.
> >
> > On my new box I have the following card:
> > 00:14.3 Network controller: Intel Corporation Wireless-AC 9560
> > [Jefferson Peak] (rev 10)
> > Subsystem: Intel Corporation Wireless-AC 9560 [Jefferson Peak]
> >Kernel driver in use: iwlwifi
> >
> > Now, I wanted to serve other computers with this device
> >
> 
> Have you set the default route and enabled ip forwarding?
> 
> Also you don’t need to add a route for connected interfaces
Thanks for your quick response.  Packet forwarding is enabled and I am
using shorewall to have normal firewall settings.


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



[gentoo-user] problem getting wifi card to route to internet

2020-07-25 Thread John Covici
Hi.  This is not strictly a gentoo problem, but I would like advise
from people on how to get my wifi card to see the internet.

On my new box I have the following card:
00:14.3 Network controller: Intel Corporation Wireless-AC 9560
[Jefferson Peak] (rev 10)
Subsystem: Intel Corporation Wireless-AC 9560 [Jefferson Peak]
   Kernel driver in use: iwlwifi

Now, I wanted to serve other computers with this device and so emerged
hostapd.  Then after some configuration fooling around with
/etc/hostap/hostapd.conf, I got things to the point where the card
comes up and is seen by other devices.

I set the device up on its own network at 192.168.3.1 by using the
following unit file:

[Unit]
Description=Network Connectivity for %i
Documentation=man:ip
Before=network.target
Wants=network.target
BindsTo=sys-subsystem-net-devices-%i.device
After=sys-subsystem-net-devices-%i.device
[Service]
Type=oneshot
RemainAfterExit=yes
EnvironmentFile=/etc/conf.d/network@%i
ExecStart=/bin/ip link set dev %i up
ExecStart=/bin/ip addr add ${address}/${netmask} broadcast ${broadcast} dev %i
ExecStart=-/bin/bash -c "test -n ${gateway} && /bin/ip route add default via 
${gateway}"
ExecStart=-/bin/bash -c "test -f /etc/conf.d/postup@%i.sh&&/bin/bash  -c 
/etc/conf.d/postup@%i.sh"
ExecStop=/bin/ip addr flush dev %i
ExecStop=/bin/ip link set dev %i down
ExecStop=-/bin/bash -c "test -f /etc/conf.d/postdown@%i.sh&&/bin/bash  -c 
/etc/conf.d/postdown@%i.sh"

[Install]
WantedBy=multi-user.target

and the following in /etc/conf.d/network@wlan0
address=192.168.3.1
netmask=24
broadcast=192.168.3.255

and also added the following route
route add -net 192.168.3.0 netmask 255.255.255.0 dev eno1
but still I cannot get packets out to the internet.  I can ping
the device  from my console, but that is it.

I am not sure whether I am missing something in my hostapd.conf or
somewhere else.

Thanks in advance for any suggestions.


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] xorg-server without suid still runs as root?

2020-06-25 Thread John Covici
On Thu, 25 Jun 2020 08:58:30 -0400,
Nikos Chantziaras wrote:
> 
> There's a news item about disabling the "suid" use flag on
> x11-base/xorg-server, which makes it runs as a normal user rather
> than root. Version 1.20.8-r1 of the ebuild disables "suid" by
> default. After updating to that and rebooting, X still runs as
> root though:
> 
>   $ ps aux | grep X
>   root 270 1.7 0.6 226892 107052 tty1 Ssl+ 13:52 2:08 /usr/bin/X
> 
>   $ emerge --info xorg-server
>   [...]
>   x11-base/xorg-server-1.20.8-r1::gentoo was built with the following:
> USE="ipv6 libglvnd systemd udev xorg -debug -dmx -doc (-elogind)
> -kdrive -libressl -minimal (-selinux) -static-libs -suid -unwind
> -wayland -xcsecurity -xephyr -xnest -xvfb" ABI_X86="(64)"
> 
> Am I missing something? I'm using systemd. If it matters, the
> "kms" use flag in x11-drivers/nvidia-drivers is enabled.

If I do ls -l /proc/ both of them are not root, 1 as gdm
and the other as me which got created after I logged in.  Try doing
that and see what you see.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Memory cards and deleting files.

2020-06-21 Thread John Covici
On Sun, 21 Jun 2020 10:50:46 -0400,
Franz Fellner wrote:
> 
> On Sun Jun 21 09:21:36 2020, Dale  wrote:
> > The cards I use are class 10, slow but pretty fast for the type of
> > card.  Generally, I can download several hundred MBs in a minute or
> > two.  Deleting sometimes over a 1,000 pics one at a time just isn't
> > feasible.  That could take a long time.
> 
> That wasn't my intention!
> I thought you should just select one file (remember its name), delete it,
> unmount, remount and see if the file is still there.
> So you can be sure that you really have a different issue than just 
> performance.
> Trying to delete a folder takes ages and you don't see the file names.

Definitely unmount, the sectors sometimes don't write to disk for
quite a while, and your unmount should take a few seconds to more than
a minute and so unmount and wait till it returns, and then remount and
see what happens.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Seagate ST8000NM0065 PMR or SMR plus NAS SAS SATA question

2020-05-23 Thread John Covici
On Sat, 23 May 2020 11:39:40 -0400,
David Haller wrote:
> 
> Hello,
> 
> On Sat, 23 May 2020, Michael wrote:
> >On Saturday, 23 May 2020 00:31:48 BST Rich Freeman wrote:
> >> On Fri, May 22, 2020 at 5:40 PM antlists  wrote:
> >> > On 22/05/2020 19:23, Rich Freeman wrote:
> >> > > A big problem with drive-managed SMR is that it basically has to
> >> > > assume the OS is dumb, which means most writes are in-place with no
> >> > > trims, assuming the drive even supports trim.
> >> > 
> >> > I think the problem with the current WD Reds is, in part, that the ATA-4
> >> > spec is required to support trim, but the ATA-3 spec is the current
> >> > version. Whoops ...
> >> 
> >> Probably was thought up by the same genius who added the 3.3V reset
> >> pin to the SATA standard.
> >
> >Is there a way to determine if a drive on sale is SMR *before*
> >purchase?
> 
> WD Red WD*EFRX are PMR.
> WD Red WD*EFAX are SMR (AFAIK, could be, that some are PMR).
> 
> ISTR, that the "Red Pro" are all PMR (so far).

How about WD4001FFSX-68JNUN0? I hope its pmr.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



[gentoo-user] zoom not responding

2020-04-28 Thread John Covici
Hi.  I have installed net-im/zoom and I am on  version 5.0.398100.0427
but when I try to run it, I get zoom not responding every time.  I
looked in bgo, but nothing like this is showing.  I am using this with
orca, so I don't know if this is part of the problem.

Any thoughts?

Thanks in advance for any suggestions.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] update remote system in background

2020-04-24 Thread John Covici
On Fri, 24 Apr 2020 08:06:53 -0400,
Rich Freeman wrote:
> 
> On Fri, Apr 24, 2020 at 6:31 AM Neil Bothwick  wrote:
> >
> > On Fri, 24 Apr 2020 10:41:24 +0200, Michele Alzetta wrote:
> >
> > > ... I just hope the remote system isn't running systemd, if so, you
> > > have to do some additional tweaking before screen or tmux work. I know
> > > someone who was bitten hard by this. Apparently systemd by default
> > > closes all running processes of a user on logout.
> >
> > I've never seen this and I regularly update systemd computers using tmux.
> 
> It is a configurable option.  I can't imagine that many distros enable
> it by default since it is likely to be shocking to anybody who
> actually knows how to use screen, and pointless for anybody who does
> not.  :)
> 
> To enable it set KillUserProcesses=yes in /etc/systemd/logind.conf
> 
> If you do use it there are ways to make exceptions for particular processes.
> 
> I can certainly see how it is a useful feature to have available in
> specific contexts, but obviously most people will want to have it
> turned off.

Or simplest of all use the at command possibly using script as the
command line and some way to answer the do you want to emerge
... question.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Is Gentoo dead?

2020-04-22 Thread John Covici
On Wed, 22 Apr 2020 13:30:32 -0400,
Michael Orlitzky wrote:
> 
> On 4/22/20 1:19 PM, John Covici wrote:
> > 
> > That makes no sense to me -- portage itself says those files are owned
> > by 14.7.1965(14) so if its telling me that why does it not just
> > replace those files?
> > 
> 
> Aha, you're not doing anything wrong. The old 14.7.x version was slotted:
> 
> https://gitweb.gentoo.org/repo/gentoo.git/diff/net-misc/teamviewer/teamviewer-14.7.1965.ebuild?id=2766d49e7c040d373685775a4515967cd0f1b33e
> 
> The new ones aren't (they're all SLOT=0). But the new ones install to
> the same place as the old 14.7.x versions. Since slotted packages aren't
> supposed to conflict, it's complaining that SLOT=0 and SLOT=14.7 (or
> whatever it was) are trying to install to the same place.
> 
> I guess the developer never noticed the problem because he was on a
> faster upgrade schedule. You can fix it by uninstalling the old version
> manually, and then installing the new one.
> 

OK, manually unmerging and re-emerging did the trick -- thanks all for
your help.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Is Gentoo dead?

2020-04-22 Thread John Covici
On Wed, 22 Apr 2020 12:03:39 -0400,
Michael Orlitzky wrote:
> 
> On 4/22/20 11:58 AM, John Covici wrote:
> > 
> > Yes, portage agrees with that statement, maybe I didn't give you the
> > whole log, I thought it said that in there -- I did see that, I am
> > sure.  My question is how does this work normally, when you merge a
> > package and update is this not always the case that there are files
> > owned by the previous version on the system?
> > 
> 
> Yeah, but the package manager knows which files are owned by the version
> being replaced and it doesn't complain about those.

That makes no sense to me -- portage itself says those files are owned
by 14.7.1965(14) so if its telling me that why does it not just
replace those files?

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Is Gentoo dead?

2020-04-22 Thread John Covici
On Wed, 22 Apr 2020 11:26:20 -0400,
Jack wrote:
> 
> 
> On 4/22/20 11:20 AM, John Covici wrote:
> > On Wed, 22 Apr 2020 11:04:24 -0400,
> > Dale wrote:
> >> [1  ]
> >> John Covici wrote:
> >>> On Wed, 22 Apr 2020 08:53:24 -0400,
> >>> Dale wrote:
> >>> 
> >>>> I did a search on the forums for teamview but didn't find that problem.
> >>>> Did you perhaps install it without using portage at some point?  If not,
> >>>> can you try to emerge it and post the failure here, a new thread might
> >>>> be best.  I bet there is someone here who can fix it even if they don't
> >>>> use that package.  Generally, a file collision for one package is
> >>>> handled much like any other package.  It's been a long time and emerge
> >>>> has changed a LOT but the last time I ran into this, I unmerged the
> >>>> package and then re-emerged it.
> >>>> 
> >>>> Sendmail.  I found this:
> >>>> 
> >>>> 
> >>>> root@fireball / # cat
> >>>> /var/cache/portage/tree/mail-mta/sendmail/metadata.xml
> >>>> 
> >>>> http://www.gentoo.org/dtd/metadata.dtd;>
> >>>> 
> >>>>      
> >>>> 
> >>>> root@fireball / #
> >>>> 
> >>>> 
> >>>> It seems to be maintainer needed at the moment.  Most likely a dev
> >>>> retired or was otherwise unable to maintain it any longer.  I'm not sure
> >>>> who to contact to see if it can be nudged into action tho. You may can
> >>>> talk to a dev, Rich is active on here, and see if he knows or is willing
> >>>> to post on -dev about it needing attention.  Given its widespread use,
> >>>> surely someone who uses it can step up and maintain it.
> >>>> 
> >>>> Ant-core is maintained by the java team.  I'm not sure what their status
> >>>> is at the moment but since it still exists, I'm sure they are active.
> >>>> I've seen posts in the past that the java team is a bit slow, lots of
> >>>> work and not enough time in the day.  Might just take a little time.
> >>>> 
> >>> Here is the relevant section from teamviewer build:
> >>>   * checking 102 files for package collisions
> >>>* This package will overwrite one or more files that may belong to
> >>>other
> >>> * packages (see list below). You can use a command such as
> >>> `portageq
> >>>  * owners / ` to identify the installed package that owns
> >>>  a
> >>>   * file. If portageq reports that only one package owns a file
> >>>   then do
> >>>* NOT file a bug report. A bug report is only useful if it
> >>>identifies at
> >>> * least two or more packages that are known to install the same
> >>> file(s).
> >>>  * If a collision occurs and you can not explain where the file
> >>>  came from
> >>>   * then you should simply ignore the collision since there is
> >>>   not enough
> >>>* information to determine if a real problem exists. Please
> >>>   do NOT file
> >>>* a bug report at https://bugs.gentoo.org/ unless you
> >>>report exactly
> >>> * which two packages install the same file(s). See
> >>>  * https://wiki.gentoo.org/wiki/Knowledge_Base:Blockers
> >>>  for tips on how
> >>>   * to solve the problem. And once again, please do NOT
> >>>   file a bug report
> >>>* unless you have completely understood the above
> >>>   message.
> >>>*
> >>> * Detected file collision(s):
> >>>  *
> >>>   *   
> >>> /usr/share/dbus-1/services/com.teamviewer.TeamViewer.service
> >>>*   
> >>> /usr/share/dbus-1/services/com.teamviewer.TeamViewer.Desktop.service
> >>>*   
> >>> /usr/share/polkit-1/actions/com.teamviewer.TeamViewer.policy
> >>> *   
> >>> /usr/share/icons/hicolor/24x24/apps/TeamViewer.png
> >>>  *   
> >>> /usr/sh

Re: [gentoo-user] gentoo accessibility re i'm blind,

2020-04-22 Thread John Covici
On Wed, 22 Apr 2020 10:32:12 -0400,
Mark Knecht wrote:
> 
> [1  ]
> On Wed, Apr 22, 2020 at 7:16 AM Majid Hussain 
> wrote:
> >
> > hey there mark,
> > you are ausom!
> > it has cleared things up alot!
> > on the chroot what doo I need?
> > thanks,
> > Majid Hussain
> >
> > On 22/04/2020, Mark Knecht  wrote:
> > > On Wed, Apr 22, 2020 at 5:45 AM Majid Hussain 
> > > wrote:
> > >>
> > >> hi there,
> > >> now er days, the mate desktop is considderd very accessible,
> > >> compared to gnome,
> > >> orca is the screen reader used when a gui is launched,
> > >> espeakup is the screen reader that is used on the tty before xorg and
> > >> friends are launched,
> > >> it's what debian uses on the net install image,
> > >> hence me asking if espeakup would be able to be added to an iso image?
> > >> unless there's away of building your own iso image from a non  gentoo
> > > system?
> > >> Majid
> > >>
> > >
> > > Hi Majid,
> > >I know nothing about accessibility systems but the meat of installing
> > > Gentoo is essentially just you executing a bunch of instructions inside
> of
> > > a chroot. You can start with any distro that currently provides
> > > accessibility for you, set aside some disk space, chroot into it and
> then
> > > do the Gentoo install work there. If the distro you start with can read
> > > what's going on in that terminal as well as the install instructions off
> > > the web pages for this task then I think you should be good to go.
> > >
> > > Hope this helps,
> > > Mark
> > >
> >
> >
> > --
> > kind regards,
> > Majid Hussain
> 
> Hi Majid,
>Again, I know nothing at all about how you deal with these tasks with
> blindness. A few things:
> 
> 1) This list tends to a a bottom posting list. I don't think anyone is
> going to give you much grief about top posting. I certainly won't.
> 
> 2) Fundamentally you just need to follow the isntall guide located here:
> 
> https://wiki.gentoo.org/wiki/Handbook:AMD64
> 
> Under the section "Installing Gentoo" there are a bunch of links. The first
> 5 are basically about getting a new box with no OS booting, setting up a
> network, basic stuff. You should have all of that from any OS you boot. TO
> BE CLEAR: you can do this on your existing system if it's Linux based and
> you have disk space available to play with. You can do this in a Virtualbox
> VM. There is NO requirement to use a new empty system. Find some disk space
> and follow the "Preparing the disks" and "Installing the Gentoo
> installation files" sections to map out the design of your system. Once
> that is done the section "Installing the Gentoo Base system" is where you
> chroot into what will eventually become your machine. At that point you are
> running Gentoo inside the chroot. You just build it p following the
> instructions.
> 
> I hope this helps a little. Once you get started youo can ask questions
> here and I am certain you'll get responses. This is, for the 25 years I've
> been using Linux, the most helpful place on the web for both Gentoo and
> general Linux admin sorts of topics.
> 
>Warm welcomes and best of luck. I'm excited to see how you do.

I use gentoo with speakup (with a hardware synth) gnome and orca all
the time and it works well.  I compile my kernels and have speakup
built in so that I can get the earliest possible speech, but you may
not want to do this.  My system is more complicated since I use zfs,
but that is the great thing about gentoo, you get lots of choices.
So, if you like mate,  you can use that, if you like gnome you can use
that, etc.  Gnome requires you to use systemd, so be warned.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Is Gentoo dead?

2020-04-22 Thread John Covici
On Wed, 22 Apr 2020 11:04:24 -0400,
Dale wrote:
> 
> [1  ]
> John Covici wrote:
> > On Wed, 22 Apr 2020 08:53:24 -0400,
> > Dale wrote:
> >
> >> I did a search on the forums for teamview but didn't find that problem. 
> >> Did you perhaps install it without using portage at some point?  If not,
> >> can you try to emerge it and post the failure here, a new thread might
> >> be best.  I bet there is someone here who can fix it even if they don't
> >> use that package.  Generally, a file collision for one package is
> >> handled much like any other package.  It's been a long time and emerge
> >> has changed a LOT but the last time I ran into this, I unmerged the
> >> package and then re-emerged it.
> >>
> >> Sendmail.  I found this:
> >>
> >>
> >> root@fireball / # cat
> >> /var/cache/portage/tree/mail-mta/sendmail/metadata.xml
> >> 
> >> http://www.gentoo.org/dtd/metadata.dtd;>
> >> 
> >>     
> >> 
> >> root@fireball / #
> >>
> >>
> >> It seems to be maintainer needed at the moment.  Most likely a dev
> >> retired or was otherwise unable to maintain it any longer.  I'm not sure
> >> who to contact to see if it can be nudged into action tho. You may can
> >> talk to a dev, Rich is active on here, and see if he knows or is willing
> >> to post on -dev about it needing attention.  Given its widespread use,
> >> surely someone who uses it can step up and maintain it. 
> >>
> >> Ant-core is maintained by the java team.  I'm not sure what their status
> >> is at the moment but since it still exists, I'm sure they are active. 
> >> I've seen posts in the past that the java team is a bit slow, lots of
> >> work and not enough time in the day.  Might just take a little time.
> >>
> > Here is the relevant section from teamviewer build:
> >  * checking 102 files for package collisions
> >   * This package will overwrite one or more files that may belong to
> >   other
> >* packages (see list below). You can use a command such as
> >`portageq
> > * owners / ` to identify the installed package that owns
> > a
> >  * file. If portageq reports that only one package owns a file
> > then do
> >  * NOT file a bug report. A bug report is only useful if it
> >  identifies at
> >   * least two or more packages that are known to install the same
> >   file(s).
> >* If a collision occurs and you can not explain where the file
> >came from
> > * then you should simply ignore the collision since there is
> > not enough
> >  * information to determine if a real problem exists. Please
> > do NOT file
> >  * a bug report at https://bugs.gentoo.org/ unless you
> >  report exactly
> >   * which two packages install the same file(s). See
> >* https://wiki.gentoo.org/wiki/Knowledge_Base:Blockers
> >for tips on how
> > * to solve the problem. And once again, please do NOT
> > file a bug report
> >  * unless you have completely understood the above
> > message.
> >  *
> >   * Detected file collision(s):
> >*
> > *   
> > /usr/share/dbus-1/services/com.teamviewer.TeamViewer.service
> >  *   
> > /usr/share/dbus-1/services/com.teamviewer.TeamViewer.Desktop.service
> >  *   
> > /usr/share/polkit-1/actions/com.teamviewer.TeamViewer.policy
> >   *   
> > /usr/share/icons/hicolor/24x24/apps/TeamViewer.png
> >*   
> > /usr/share/icons/hicolor/48x48/apps/TeamViewer.png
> > *
> >  *   
> > /usr/share/icons/hicolor/32x32/apps/TeamViewer.png
> >  *   
> > /usr/share/icons/hicolor/16x16/apps/TeamViewer.png
> >   *   
> > /usr/share/icons/hicolor/256x256/apps/TeamViewer.png
> >*   /lib/systemd/system/teamviewerd.service
> > *   /opt/bin/teamviewer
> >  *   /opt/bin/teamviewerd
> >  *
> > 

Re: [gentoo-user] Is Gentoo dead?

2020-04-22 Thread John Covici
On Wed, 22 Apr 2020 08:53:24 -0400,
Dale wrote:
> 
> [1  ]
> John Covici wrote:
> > On Wed, 22 Apr 2020 04:15:18 -0400,
> > Dale wrote:
> >> [1  ]
> >> John Covici wrote:
> >>> I am seeing a lot more unmaintained packages -- at least in the ones I
> >>> have -- than there used to be and bugs going unanswered probably
> >>> because of that.  Not sure what to do about it, I don't have time to
> >>> get into doing this much, just keeping up with world updates is quite
> >>> time consuming all by itself.
> >>>
> >>
> >> That may be but the packages that are most used are likely maintained
> >> and well maintained at that.  There are some old packages that haven't
> >> been updated in years, upstream is dead or no one uses them much anymore
> >> that are slowly being removed.  If one can't install them, no real point
> >> in them being in the tree.  I might add, the switch from the much older
> >> pythons are really forcing a house cleaning.  But, some packages are
> >> just out of date and something new has taken their place.  Nothing new
> >> there.  I'm sure this happens with every distro out there, even the paid
> >> ones.
> >>
> >> I follow -dev and have recently had to uninstall a package and install
> >> something else that is newer and more up to date.  I saw a message about
> >> that old package that seemed to stop working for me a good while ago. 
> >> What I had still lurking about would sometimes crash and I didn't trust
> >> it.  I used to use that as a GUI to manage LVM.  I use LVM a lot here. 
> >> In that message was them removing the old package and recommending a
> >> replacement I never heard of.  I installed it and it may actually be
> >> better than the old software I used to use.  While the old package may
> >> be gone, the new one seems to be more up to date, stable and appears to
> >> have a better design.  Different for sure, I'll have to learn how the
> >> GUI does its thing but could be better in the end. Since LVM has been
> >> updated a good bit in the past year or so, that old software either
> >> needed a lot of work or just use the newer software.
> >>
> >> There are a lot of packages that are just not used by enough people to
> >> maintain them anymore.  Some are being replaced with more up to date
> >> packages.  There are lots of reasons for that.  If a package you use is
> >> being removed, search -dev and look to see if there is a replacement
> >> mentioned in the last rites message.  If it was removed, they almost
> >> always include a replacement if there is one.  Sometimes another package
> >> absorbs what the old package used to do. While at times -dev can get
> >> quite busy, I'd be lost without it.  Things are mentioned there about
> >> upcoming changes that I don't see mentioned anywhere else.  That
> >> includes this list as well.  It's a great way to keep somewhat up to
> >> date on what's going on.  One doesn't have to read every post either. 
> >> After a while, you can tell by the subject line if that thread will be
> >> anything you would be interested in.  Last rites, things about upgrades
> >> and such get my attention.  I generally know when something big is going
> >> to happen weeks or even months before it hits the tree.
> >>
> >> If you want to share what packages you are missing out on, I'd be glad
> >> to search my -dev archives and see if I can find something that may help. 
> > Well, teamviewer is the worst -- teamviewer 15 won't emerge because it
> > will overwrite files belonging to the previous version (!da).  Someone
> > even slotted the thing, but still no joy.  I filed a bug, but no
> > response.  Also, although I don't think there is a new version, but
> > sendmail seens to be unmaintained.
> > Also, ant-core --  there is a bug against that, but no fix as yet.
> >
> 
> 
> I did a search on the forums for teamview but didn't find that problem. 
> Did you perhaps install it without using portage at some point?  If not,
> can you try to emerge it and post the failure here, a new thread might
> be best.  I bet there is someone here who can fix it even if they don't
> use that package.  Generally, a file collision for one package is
> handled much like any other package.  It's been a long time and emerge
> has changed a LOT but the last time I ran into this, I unmerged the
> package and then re-emerged it.
> 
> Sendmail.  I found this:
> 
> 
> root@fireball / # ca

Re: [gentoo-user] Is Gentoo dead?

2020-04-22 Thread John Covici
On Wed, 22 Apr 2020 04:15:18 -0400,
Dale wrote:
> 
> [1  ]
> John Covici wrote:
> >
> > I am seeing a lot more unmaintained packages -- at least in the ones I
> > have -- than there used to be and bugs going unanswered probably
> > because of that.  Not sure what to do about it, I don't have time to
> > get into doing this much, just keeping up with world updates is quite
> > time consuming all by itself.
> >
> 
> 
> That may be but the packages that are most used are likely maintained
> and well maintained at that.  There are some old packages that haven't
> been updated in years, upstream is dead or no one uses them much anymore
> that are slowly being removed.  If one can't install them, no real point
> in them being in the tree.  I might add, the switch from the much older
> pythons are really forcing a house cleaning.  But, some packages are
> just out of date and something new has taken their place.  Nothing new
> there.  I'm sure this happens with every distro out there, even the paid
> ones.
> 
> I follow -dev and have recently had to uninstall a package and install
> something else that is newer and more up to date.  I saw a message about
> that old package that seemed to stop working for me a good while ago. 
> What I had still lurking about would sometimes crash and I didn't trust
> it.  I used to use that as a GUI to manage LVM.  I use LVM a lot here. 
> In that message was them removing the old package and recommending a
> replacement I never heard of.  I installed it and it may actually be
> better than the old software I used to use.  While the old package may
> be gone, the new one seems to be more up to date, stable and appears to
> have a better design.  Different for sure, I'll have to learn how the
> GUI does its thing but could be better in the end. Since LVM has been
> updated a good bit in the past year or so, that old software either
> needed a lot of work or just use the newer software.
> 
> There are a lot of packages that are just not used by enough people to
> maintain them anymore.  Some are being replaced with more up to date
> packages.  There are lots of reasons for that.  If a package you use is
> being removed, search -dev and look to see if there is a replacement
> mentioned in the last rites message.  If it was removed, they almost
> always include a replacement if there is one.  Sometimes another package
> absorbs what the old package used to do. While at times -dev can get
> quite busy, I'd be lost without it.  Things are mentioned there about
> upcoming changes that I don't see mentioned anywhere else.  That
> includes this list as well.  It's a great way to keep somewhat up to
> date on what's going on.  One doesn't have to read every post either. 
> After a while, you can tell by the subject line if that thread will be
> anything you would be interested in.  Last rites, things about upgrades
> and such get my attention.  I generally know when something big is going
> to happen weeks or even months before it hits the tree.
> 
> If you want to share what packages you are missing out on, I'd be glad
> to search my -dev archives and see if I can find something that may help. 

Well, teamviewer is the worst -- teamviewer 15 won't emerge because it
will overwrite files belonging to the previous version (!da).  Someone
even slotted the thing, but still no joy.  I filed a bug, but no
response.  Also, although I don't think there is a new version, but
sendmail seens to be unmaintained.
Also, ant-core --  there is a bug against that, but no fix as yet.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Is Gentoo dead?

2020-04-22 Thread John Covici
On Tue, 21 Apr 2020 22:55:54 -0400,
Dale wrote:
> 
> [1  ]
> Rich Freeman wrote:
> > On Tue, Apr 21, 2020 at 9:49 PM Dale  wrote:
> >> Then they created moderators with people to enforce some rules.  It got 
> >> better.  Actually, a lot better.
> > That is actually really good to hear.  The whole CoC/Proctors thing
> > has been a bit of a mess and incredibly contentious.  It has also been
> > mostly inactive, in part because for the most part these threads have
> > actually done a pretty good job of moderating themselves.  Maybe it is
> > because people fear moderation.  Maybe it is because nobody really
> > wants to have to see us have to deal with it.  Bugs get filed asking
> > for moderation, and maybe that is all it takes for the parties
> > involved to decide to cool things down.
> >
> > As much as some seem to think otherwise, the reality is that most of
> > the Proctors really don't like kicking that hornets nest.  In any case
> > all Proctors actions are completely public in bugzilla so anybody can
> > see for themselves.  If you don't see much it is because there isn't
> > actually much to see...
> >
> 
> I admit, I don't monitor what they do much but I've seen a huge
> improvement.  I moderated a political site for a few years.  Still have
> access but health and life takes up a lot of time.  I always referred to
> it as herding cats.  You can herd up pretty much any animal, cows, pigs,
> sheep and the list goes on but herding cats is a tough thing to
> accomplish.  After being a moderator that has to deal with things that
> can be opinion with no one in the right or wrong, I know first hand how
> difficult and thankless the job can be.  Still, without it, it gets bad
> pretty fast.  I didn't like doing timeouts, banning and such either. 
> Thing is, when it needed doing, I did it.  I was the lead moderator for
> a good long while. 
> 
> I think instead of dying, Gentoo is stronger even if it involves fewer
> people.  Sure, there is packages that need some attention but if they
> are in demand, usually someone steps up and gives them the attention
> they need to get back up to date. I'm not sure why people keep thinking
> Gentoo is dying.  Sometimes I think it is more about the difference
> between binary distros they are coming from and Gentoo being source
> based than Gentoo actually dying.  When people consider switching to
> Gentoo, it's different from what they expect.  They may need to research
> what Gentoo is first.  Gentoo certainly doesn't hold a persons hand
> during the install or even after the install.  Heck, I been around a
> long time and it doesn't hold my hand even today. 
> 
> Compared to the bad times, -dev is like heaven today.  It was beyond
> words to describe during its worst days.
> 

I am seeing a lot more unmaintained packages -- at least in the ones I
have -- than there used to be and bugs going unanswered probably
because of that.  Not sure what to do about it, I don't have time to
get into doing this much, just keeping up with world updates is quite
time consuming all by itself.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] dir or file? >> /etc/portage/package.mask

2020-04-19 Thread John Covici
On Sun, 19 Apr 2020 10:23:28 -0400,
Daniel Frey wrote:
> 
> On 4/18/20 10:56 AM, tu...@posteo.de wrote:
> > Hi,
> > 
> > I /thought/ that /etc/portage/package.mask is a file and using it
> > in this manner works as exspected.
> > Also the docs are of that opinion, too:
> > https://wiki.gentoo.org/wiki//etc/portage/package.mask
> > 
> > BUT!
> > 
> >   * error: please convert //etc/portage/package.mask to a directory
> >   *
> > 
> > 
> > urges me to make a directory out of it.
> > After doing so, the command starts.
> > 
> > I am confusedslightly...
> > 
> 
> The devs are deprecating the flat-file version of package.*, I
> have been gettings warnings during emerges indicating that they
> all need to be changed to the directory layout.
> 
> If you ignore this eventually emerge will stop working. I've
> already taken the few minutes to move all my boxes to the
> directory layout, and split out the packages to individual
> files. You don't have to go that far though, the entries can stay
> in one file under the new directory structure.

I wonder why they are doing this, I find the single file much easier
to deal with and its easier to make sure I don't have duplicate
entries this way.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] ...recreating exactly the same applications on a new harddisc?

2020-04-04 Thread John Covici


On Sat, 04 Apr 2020 14:33:21 -0400,
Dale wrote:
> 
> Mark Knecht wrote:
> > Your world file should do that for the Gentoo stuff, with limitations.
> > It assumes you have nothing on the system that was created outside of
> > normal portage/emerge. It would probably duplicate the latest kernel
> > tree but wouldn't build it, and wouldn't copy old kernels that aren't
> > in portage if you still have them on the system. It isn't going to get
> > virtual environment, be they python or things like virtualbox if you
> > use those.
> >
> > I suspect you'll get a 'working' machine (I've done it) but you will
> > still have a lot of stuff to transfer by hand or from backups which
> > you really should do anyway.
> >
> > HTH,
> > Mark
> >
> 
> I recently tried this in a chroot starting with a stage3 tarball.  At
> first, I tried unpacking the tarball, copying over /etc and the world
> file.  I also copied over the binaries and tried using -k.  It was a
> disaster.  I ran into hard blacks that I never was able to get around
> not to mention emerge complaining about USE flags and such.  Then I
> tried unpacking a tarball and just updating the tarball itself with no
> changes on my part, not even the profile, it to ran into hard blocks
> just not as many of them.
> 
> In the 2nd attempt, I think something was off in the tarball itself. 
> When you unpack a tarball and try to sync and update it and it fails,
> something is wrong somewhere.  It's not covered in the install handbook
> either.  In theory, one should be able to unpack a tarball, copy over
> /etc and the world file and do a emerge -e world.  If one copies over
> the binaries from the old system, one could add a -k to speed up the
> process, for most if not all packages.  Thing is, theory meets real
> world real fast and it gets ugly. After multiple attempts, I ended up
> coping my original OS over and that worked better and MUCH faster.
> 
> Way back in the day, I would boot a rescue disk of some type, mount both
> drives and then copy everything over, excluding /home if it is on a
> separate drive or any others that shouldn't be transferred.  Once that
> is done, chroot in and install grub, the old original one not grub2. 
> Once that is done, shutdown and remove old drive, plug new drive into
> old port and then power up, crossing fingers and toes.  It worked first
> time generally.  I have NOT done that with grub2.  It may work the same,
> it may not.  Grub2 is a bit of a beast.
> 
> Theory, should work.  In my real world experience, it does not. Coping
> tends to work if you do it all right.
> 
> Just my thoughts.

I did something like  this a few months ago, I first got the tarball,
did an immediate update,  copied a lot of /etc, particularly
/etc/portage, but not some things like package.use, because I wanted
to let it redetect them, and did parts of the world file at a time,
not all at once, because I had some crud in the world file which I
wanted to be sure I got rid of.  Took a couple of weeks, but did work
and then I had a better system than I had before.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Re: mail cannot send emails (trying to use it with smartd)

2020-04-02 Thread John Covici
On Thu, 02 Apr 2020 07:03:01 -0400,
Caveman Al Toraboran wrote:
> 
> On Wednesday, April 1, 2020 10:20 AM, Ian Zimmerman  
> wrote:
> 
> > On 2020-04-01 03:51, Caveman Al Toraboran wrote:
> >
> > > why can't `mail` send emails? below is some info.
> >
> > Normally the mail program works by execing /usr/sbin/sendmail to to the
> > hard part :-P Do you have it? It doesn't have to be the "real"
> > sendmail - any MTA program you install usually makes a symlink from
> > /usr/sbin/sendmail to itself.
> 
> i got sendmail around.  but didn't do any configurations.
> 
> what's the minimum configuration to do?  i'm really not
> planning anything ultra-professional.  i hope it to send
> an email the shameless style (just send an smtp message
> to the smtp server where my email is hosted)
> 
> 

Try ssmtp package, I think it will do what you want.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



[gentoo-user] incron not working

2020-03-21 Thread John Covici
Hi.  I have not used incron in a while and when I tried to use it
today, it did not execute the commands.  I am using gentoo source
4.19.93 and it looks like I have all the configs in the kernel, like
this:
grep -i notify linux/.config
CONFIG_FB_NOTIFY=y
CONFIG_FSNOTIFY=y
CONFIG_DNOTIFY=y
CONFIG_INOTIFY_USER=y
CONFIG_FANOTIFY=y
I re-emerged incron with no joy.

Any suggestions on this would be greatly appreciated.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] How to fix license error during install?

2020-03-21 Thread John Covici
On Fri, 20 Mar 2020 22:18:47 -0400,
Jeffrey Walton wrote:
> 
> On Fri, Mar 20, 2020 at 10:16 PM John Covici  wrote:
> >
> > On Fri, 20 Mar 2020 21:16:10 -0400,
> > Jeffrey Walton wrote:
> > >
> > > Hi Everyone,
> > >
> > > I'm having trouble installing Gentoo in a Virtual Box VM for testing.
> > > It is a x86_64 guest. I selected a hardened profile to test PaX, which
> > > means I selected 18 in 'eselect profile'.
> > >
> > > I'm at "Configuring the Linux kernel" in the Handbook
> > > (https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Kernel#Alternative:_Using_genkernel).
> > > The part "emerge --ask sys-kernel/gentoo-sources" seems OK and does
> > > not report errors. The genkernel part fails.
> > >
> > > The specific error is:
> > >
> > > $ LICENSE_ACCEPT="*" emerge --ask --autounmask-write
> > > sys-kernel/genkernel 2>&1 | tee kernel.txt
> > > $ cat kernel.txt
> > >
> > >  * IMPORTANT: 6 config files in '/etc/portage' need updating.
> > > Calculating dependencies   * See the CONFIGURATION FILES and
> > > CONFIGURATION FILES UPDATE TOOLS
> > >  * sections of the emerge man page to learn how to update config files.
> > > ... done!
> > > [ebuild  N ] app-arch/cpio-2.12-r1  USE="nls"
> > > [ebuild  N ] sys-kernel/linux-firmware-20200316
> > > USE="redistributable -initramfs -savedconfig (-unknown-license)"
> > > [ebuild  N ] sys-kernel/genkernel-4.0.4  USE="firmware (-ibm)"
> > >
> > > The following license changes are necessary to proceed:
> > >  (see "package.license" in the portage(5) man page for more details)
> > > # required by sys-kernel/genkernel-4.0.4::gentoo[firmware]
> > > # required by genkernel (argument)
> > > =sys-kernel/linux-firmware-20200316 linux-fw-redistributable 
> > > no-source-code
> > >
> > > Autounmask changes successfully written.
> > >
> > >  * IMPORTANT: 7 config files in '/etc/portage' need updating.
> > >  * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
> > >  * sections of the emerge man page to learn how to update config
> > > files.Here is the
> > >
> > > Here is the portage(5) man page:
> > > https://dev.gentoo.org/~zmedico/portage/doc/man/portage.5.html. Here
> > > is the part about package.license:
> > >
> > > This will allow ACCEPT_LICENSE (see make.conf(5)) to be augmented
> > > for a single package.
> > >
> > > Format:
> > >
> > > - comment lines begin with # (no inline comments)
> > > - one DEPEND atom per line followed by additional licenses or 
> > > groups
> > >
> > > Removing LICENSE_ACCEPT="*" and --autounmask-write does not help.
> > >
> > > The information provided in portage(5) and package.license leaves a
> > > lot to be desired.
> > >
> > > What is the problem and how do I fix it?
> > >
> >
> > Well, you need to change your config files as portage asked you to do
> > before proceeding.  There are several utilities to do that, I use
> > etc-update, but there are several others.
> 
> Thanks John.
> 
> The Handbook does not say to make any configuration changes. That
> seems safe to me since I have no idea what changes to make.
> 
> Jeff
> 

OK, remember where it said at the end of your portage output that
there were several configuration files that needed updating?  Run
etc-update and you will see the differences between the current and
new configuration files and you will see the necessary changes and you
should accept them and try your emerge again after accepting them.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] How to fix license error during install?

2020-03-20 Thread John Covici
On Fri, 20 Mar 2020 21:16:10 -0400,
Jeffrey Walton wrote:
> 
> Hi Everyone,
> 
> I'm having trouble installing Gentoo in a Virtual Box VM for testing.
> It is a x86_64 guest. I selected a hardened profile to test PaX, which
> means I selected 18 in 'eselect profile'.
> 
> I'm at "Configuring the Linux kernel" in the Handbook
> (https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Kernel#Alternative:_Using_genkernel).
> The part "emerge --ask sys-kernel/gentoo-sources" seems OK and does
> not report errors. The genkernel part fails.
> 
> The specific error is:
> 
> $ LICENSE_ACCEPT="*" emerge --ask --autounmask-write
> sys-kernel/genkernel 2>&1 | tee kernel.txt
> $ cat kernel.txt
> 
>  * IMPORTANT: 6 config files in '/etc/portage' need updating.
> Calculating dependencies   * See the CONFIGURATION FILES and
> CONFIGURATION FILES UPDATE TOOLS
>  * sections of the emerge man page to learn how to update config files.
> ... done!
> [ebuild  N ] app-arch/cpio-2.12-r1  USE="nls"
> [ebuild  N ] sys-kernel/linux-firmware-20200316
> USE="redistributable -initramfs -savedconfig (-unknown-license)"
> [ebuild  N ] sys-kernel/genkernel-4.0.4  USE="firmware (-ibm)"
> 
> The following license changes are necessary to proceed:
>  (see "package.license" in the portage(5) man page for more details)
> # required by sys-kernel/genkernel-4.0.4::gentoo[firmware]
> # required by genkernel (argument)
> =sys-kernel/linux-firmware-20200316 linux-fw-redistributable no-source-code
> 
> Autounmask changes successfully written.
> 
>  * IMPORTANT: 7 config files in '/etc/portage' need updating.
>  * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
>  * sections of the emerge man page to learn how to update config
> files.Here is the
> 
> Here is the portage(5) man page:
> https://dev.gentoo.org/~zmedico/portage/doc/man/portage.5.html. Here
> is the part about package.license:
> 
> This will allow ACCEPT_LICENSE (see make.conf(5)) to be augmented
> for a single package.
> 
> Format:
> 
> - comment lines begin with # (no inline comments)
> - one DEPEND atom per line followed by additional licenses or groups
> 
> Removing LICENSE_ACCEPT="*" and --autounmask-write does not help.
> 
> The information provided in portage(5) and package.license leaves a
> lot to be desired.
> 
> What is the problem and how do I fix it?
> 

Well, you need to change your config files as portage asked you to do
before proceeding.  There are several utilities to do that, I use
etc-update, but there are several others.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] os-prober fails sucessfully

2020-03-17 Thread John Covici
On Tue, 17 Mar 2020 19:23:53 -0400,
Dutch Ingraham wrote:
> 
> On 3/17/20 4:16 AM, Neil Bothwick wrote:
> > On Tue, 17 Mar 2020 03:00:59 -0500, Dutch Ingraham wrote:
> > 
> >> Also from [1], with emphasis added "30_os-prober this script uses
> >> **os-prober to search for Linux** and other operating systems and places
> >> the results in the GRUB 2 menu.
> >> 
> >> A review of the scripts 10_linux and 30_os-prober supplied by Gentoo
> >> with the grub and os-prober packages seems to confirm the Ubuntu
> >> documentation's accuracy.
> >> 
> >> Regardless of which script is responsible, the problem remains that
> >> running 'grub-mkconfig -o /boot/grub/grub.cfg' under the circumstances
> >> outlined in my original post should find the other Linux operating
> >> systems, but doesn't.
> > 
> > You're right, either things have changed since the days I used GRUB
> > extensively or I am losing it. No, that's not a multiple choice question!
> 
> Well, you wouldn't be the first to begin losing it!  I sent the original
> question before running things through strace, so  (It wasn't
> particularly helpful.)
> > 
> > Have you tried running the script with "sh -x" to see just what it is
> > doing?
> 
> It calls a helper script and exits successfully.
> 
> I wonder if it could be this part
> > 
> > if ! command -v os-prober > /dev/null || ! command -v linux-boot-prober 
> > >/dev/null ; then
> ># missing os-prober and/or linux-boot-prober
> >exit 0
> > fi
> 
> Running `command -v os-prober' returns '/usr/bin/os-prober'
> > 
> > If the os-prober command is missing the script will fail successfully, as
> > you experience. Is sys-boot/os-prober installed?
> > 
> > 
> Yes, it is installed as noted above, and, if I mount the partitions
> manually, os-prober will find them.
> 
> 
> I'm fairly certain I am missing one open and obvious thing, but can't
> see it.  Here is a list of things I have tried, mainly for
> thread-completeness purposes:
> 
> 1. Removed grub and op-prober packages then wiped all residual config files.
> 
> 2. Reinstalled both, enabling the 'mount' use flag on grub.
> 
> 3. Confirmed /usr/bin/os-prober and all /etc/grub.d/{scripts} are in
> place and executable.
> 
> 4. Even though it is the default, added GRUB_DISABLE_OS_PROBER=false to
> /etc/default/grub.
> 
> 5. Even though it is the default, set GRUB_PLATFORMS="pc" in make.conf.
> 
> 
> On a fairly routine set-up (MBR/BIOS with four ext4 primary partitions)
> I should be able to just set the mount use flag on grub, install grub
> and os-prober, run 'grub-mkconfig -o /boot/grub/grub.cfg' and it should
> just detect all operating systems and write the config, right? RIGHT?
> 
> 

Are you sure its supposed to detect them even if they are not mounted?
How would they be able to look at the files?  Where are the image
files on these partitions?

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] problem with firefox/libvpx

2020-02-08 Thread John Covici
On Sat, 08 Feb 2020 13:26:19 -0500,
Nils Freydank wrote:
> 
> [1  ]
> Am Samstag, 8. Februar 2020, 05:26:20 CET schrieb John Covici:
> > Hi.  Well, I have run into a problem on the world update I am about to
> > do?  Firefox requires libvpx-1.7.0  and handbrake wants 8.x.  Now
> > there is a use flag systemlibvpx which is enabled, I am assuming if I
> > disable that the great God of portage will let me continue with my
> > update -- any reason why I should not do this?
> > 
> > Thanks in advance for any suggestions.
> 
> Hi, indeed. If you disable USE="system-libvpx" (i.e. don't set it activly 
> or set USE="-system-libvpx" portage will tell firefox to use the bundled
> version. Bundling software is generally spoken a really bad habit, and
> within the firefox package you can see several USE="-system-something" 
> flags, that are just a try to unbundle things on user's choice.
> 
> Hope that helps a bit,
> Nils
OK, I will try it, I agree its better to use the system libraries, but
I don't get to choose, if I want both pieces of software -- not sure
why handbrake needs one version and firefox the other version.

Thanks.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



[gentoo-user] problem with firefox/libvpx

2020-02-07 Thread John Covici
Hi.  Well, I have run into a problem on the world update I am about to
do?  Firefox requires libvpx-1.7.0  and handbrake wants 8.x.  Now
there is a use flag systemlibvpx which is enabled, I am assuming if I
disable that the great God of portage will let me continue with my
update -- any reason why I should not do this?

Thanks in advance for any suggestions.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] OT: looking for email provider

2020-02-06 Thread John Covici


On Thu, 06 Feb 2020 19:00:09 -0500,
Grant Taylor wrote:
> 
> On 2/6/20 3:36 PM, Laurence Perkins wrote:
> > Sure you can set up just a simple email server
> 
> Having run a personal email server for 20 years, including all
> contemporary hygiene measures, I don't think "simple" and "email
> server" go together any more.
> 
> I can rattle off most of what I'm doing in short order.  But when
> doing so takes 5+ minutes, I think we're beyond the realm of
> "simple".

I do run my own mail server for years, but I would like to know how to
run those "hygene features".  I do have spf, but that is about it --
maybe this should be another thread, but I want to keep doing this and
be sure of having my mail delivered to where its going which sometimes
gmail gives me problems.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Re: OT: looking for email provider

2020-02-02 Thread John Covici
On Sun, 02 Feb 2020 14:24:47 -0500,
Jack wrote:
> 
> Hello Ian,
> 
> On 2020.02.02 13:36, Ian Zimmerman wrote:
> > On 2020-02-01 17:08, Jack wrote:
> > 
> >> I'm trying to move away from gmail.  Especially for mailing
> >> lists like this one, if I send a message to the list, I never
> >> see that I get the message from the list, because gmail
> >> refuses to show it in my inbox because it's a duplicate of a
> >> message already in my sentbox.
> > >
> >> I do have an email account with privateemail.com (thorough
> >> namecheap.com) but they are unable or unwilling to have a
> >> similar setup.  I'm not even sure they actually understand
> >> what I'm asking of them, but I've wasted more than enough time
> >> trying.
> > >
> >> So - I'm asking if anyone can recommend an email service
> >> provider that understands this and will let me set it up.
> > 
> > For your immediate problem, my answer would depend on whether
> > you're OK interacting with email entirely through the browser,
> > or you are a classicist like myself and want to use a "real"
> > email client like mutt or thunderbird.
> I absolutely detest webmail, and use it only when absolutely
> necessary, which in many cases is to look at the SPAM folder to
> mark something as Not Spam.  I use IMAP when I'm away from home
> (set up on android phone, android tablet, and Artix Linux
> laptop.)  At home, I pull everything by POP3.  Before a long
> trip, I rsync my whole mail hierarchy from my desktop to the
> laptop, in case I need to reference any older messages, although
> I sometimes just go digging in the Trash folder via IMAP.
> 
> > From your writing about gmail, I am guessing it's the former:
> > you're okay with webmail.  In that case, I recommend that you
> > look at protonmail, tutanota and hushmail.  I have used all of
> > them and I still use protonmail for one of my personas :)  I
> > hasten to add I have _not_ checked how easy it is to mask the
> > sender address at any of these.
> First, I didn't choose, and do not actually like gmail.  If you
> don't want lots of gory details, you can skip this paragraph.
> For years, I had email provided by my ISP (sbcglobal.net - not
> discussing it's various sales and name changes) actually managed
> by Yahoo.  However, when AT sold their landline business in
> Connecticut to Frontier, although my sbclobal.net addresses
> didn't go away, they ended up in a sort of limbo - it became
> impossible for me to get any support.  If I called Yahoo, they
> said to get support from AT  If I called AT, as soon as they
> figured out I was in Connecticut, they transferred the call to
> Frontier.  If I called Frontier, they wouldn't help since they
> didn't control that domain.   About that time, my college stopped
> simply providing an email forwarding service, and provided a real
> email account under the alumni subdomain of the university's
> domain.  Unfortunately, the actual account is gmail.  Once I
> realized I wanted something other than that, I bought my domain
> ostroff.xyz through namecheap.com.  I then set up email accounts
> through their provider privateemail.com.  So - my current goal is
> to get my x...@ostroff.xyz email hosted somewhere else.
> 
> > The longer view though is that this will get harder and harder,
> > for the reasons other people in the thread have given.  google
> > and company will impose their fascist anti-spam checks and they
> > will get away with it because most everyone uses google and
> > company, and nobody but a few geeks cares about the corner case
> > of mailing lists.
> Agreed.
> 
> >  Who needs mailing lists when we have web forums? 
> I absolutely agree, sarcastically or not.
> > This is what writers like Jon Corbet of LWN mean by "the death
> > of email".  And this is why, if you are one of the geeks who do
> > care, the only way to prolong your life with email is to set up
> > your own server. You're already halfway there as you have your
> > own domain.
> I suppose that is where I will eventually end up, but right now,
> I'm just not up for worrying about actually running an internet
> facing service.   We'll see how one of the other replies to this
> thread pushes in that direction.

I do have my own server, but I have problems sending to gmail address,
I never get a bounce, but the messages disappear, maybe they are in
the senders spam folder, but I don't think so.  For those messages I
use the services of my incoming mail provider which protects me
against incoming spam which would be massive for me, and also has an
outgoing mail service which I don't like to use because of its strange
mapping of its ip addresses to names, but the whole thing works after
this strange fashion.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Dracut and how to specify names

2020-01-02 Thread John Covici
On Fri, 03 Jan 2020 02:27:22 -0500,
Dale wrote:
> 
> John Covici wrote:
> > On Thu, 02 Jan 2020 21:57:29 -0500,
> > Dale wrote:
> >> Howdy,
> >>
> >> I'm trying to rebuild a kernel to include new options, see other
> >> thread.  I got the kernel built but dracut is giving me grief.  I hate
> >> that thing and when a previous way that worked no longer works, it
> >> doesn't help me like it any more.  Still, it is what it is even if I
> >> don't like it.  I read the man page, the Gentoo wiki and tried different
> >> methods but it just refuses to build a init thingy that I need.  It
> >> either fails right away or gets to the end and errors out without
> >> completing.
> >>
> >> I name my kernels and such this way:
> >>
> >> root@fireball /usr/src/linux # ls -al /boot/kernel*
> >> -rw-r--r-- 1 root root 7061552 Oct 14  2018 /boot/kernel-4.18.12-1
> >> -rw-r--r-- 1 root root 7082032 May 15  2019 /boot/kernel-4.19.40-1
> >> -rw-r--r-- 1 root root 7102512 Jan  2 19:46 /boot/kernel-4.19.40-2
> >> -rw-r--r-- 1 root root 5858496 Jun 17  2016 /boot/kernel-4.5.2-1
> >> root@fireball /usr/src/linux #
> >>
> >> I copy the kernels from the /usr/src/linux directory by hand as I've
> >> always done.  I name them starting with kernel and then add the kernel
> >> version with a sequence number on the end.  In the past, I've made it to
> >> -4 before getting what I need.  Right now, I'm working on 4.19.40-2 and
> >> building a init thingy for it.  This is how the init thingys end up, in
> >> the past anyway:
> >>
> >>
> >> root@fireball /usr/src/linux # ls -al /boot/initramfs*
> >> -rw--- 1 root root 7752134 Oct 15  2018 /boot/initramfs-4.18.12-1.img
> >> -rw--- 1 root root 8560993 May 15  2019 /boot/initramfs-4.19.40-1.img
> >> -rw--- 1 root root 5377395 May 20  2016 /boot/initramfs-4.5.2-1.img
> >> root@fireball /usr/src/linux #
> >>
> >>
> >> What I need, the proper command with options to tell dracut I want to
> >> build a init thingy for 4.19.40-2.  I've tried many different ways but
> >> none of them work.  This includes commands I've used in the past that
> >> did work.  If I have to specify the init thingy name and the location of
> >> the kernel modules directory, that's fine.  I keep commands like this in
> >> a file to refer back to because I do tend to forget specifics but in
> >> this case, it seems dracut changed something.  Previous commands are not
> >> working. 
> >>
> >> Does anyone know how to accomplish this task?  Hopefully something that
> >> will work even if dracut changes something with its defaults.  I figure
> >> if I tell it all it needs to know, then it should work even if dracut
> >> changes the default method.  I just can't seem to figure out what method
> >> to use here.  Maybe I'm missing a option or something. 
> >>
> >> Thanks much. 
> > I think dracut uses the name of the /lib/modules directory, so just
> > execute dracut ""  such as in my case
> > 4.19.85-gentoo  .  If that does not work post here, maybe you have
> > spaces in your directory name, if so try using double quotes around
> > it.
> >
> 
> 
> I decided to go back to a older version, just to see if it works.  The
> first example I had saved didn't work but the second did.  First was
> likely from a much older version of dracut.  Do you know what changed
> between dracut-046-r1 and dracut-048-r1?  I ran into this once before
> when a major version number changed. 
> 
> One reason I'd like to be able to specify everything is to avoid changes
> in future versions.  That way I can use the same command each time
> unless they completely change everything which I'm sure I'd read about
> long before I needed to use it.  Just has a example:
> 
> dracut /boot/  -k 
> 
> With that, it knows where the kernel is, what to name the init thingy
> and where to find the kernel modules.  Thing is, I can't find a way to
> do it that way with what I see in the man page or the wiki.  I even
> looked on non-Gentoo sites and didn't find anything like this. 
> 
> I did eventually help it find the modules.  Then it ran into another
> issue that even google couldn't find.  I don't mean find a solution, it
> couldn't find the problem either.  It returned zero, 0, results.  I was
> floored.  It's rare to see google return a stupid look.  ROFL  I also
> tried renaming the kernel to see if that would help.  No change.  I know
> it is picky on names but on

Re: [gentoo-user] Dracut and how to specify names

2020-01-02 Thread John Covici
On Thu, 02 Jan 2020 21:57:29 -0500,
Dale wrote:
> 
> Howdy,
> 
> I'm trying to rebuild a kernel to include new options, see other
> thread.  I got the kernel built but dracut is giving me grief.  I hate
> that thing and when a previous way that worked no longer works, it
> doesn't help me like it any more.  Still, it is what it is even if I
> don't like it.  I read the man page, the Gentoo wiki and tried different
> methods but it just refuses to build a init thingy that I need.  It
> either fails right away or gets to the end and errors out without
> completing.
> 
> I name my kernels and such this way:
> 
> root@fireball /usr/src/linux # ls -al /boot/kernel*
> -rw-r--r-- 1 root root 7061552 Oct 14  2018 /boot/kernel-4.18.12-1
> -rw-r--r-- 1 root root 7082032 May 15  2019 /boot/kernel-4.19.40-1
> -rw-r--r-- 1 root root 7102512 Jan  2 19:46 /boot/kernel-4.19.40-2
> -rw-r--r-- 1 root root 5858496 Jun 17  2016 /boot/kernel-4.5.2-1
> root@fireball /usr/src/linux #
> 
> I copy the kernels from the /usr/src/linux directory by hand as I've
> always done.  I name them starting with kernel and then add the kernel
> version with a sequence number on the end.  In the past, I've made it to
> -4 before getting what I need.  Right now, I'm working on 4.19.40-2 and
> building a init thingy for it.  This is how the init thingys end up, in
> the past anyway:
> 
> 
> root@fireball /usr/src/linux # ls -al /boot/initramfs*
> -rw--- 1 root root 7752134 Oct 15  2018 /boot/initramfs-4.18.12-1.img
> -rw--- 1 root root 8560993 May 15  2019 /boot/initramfs-4.19.40-1.img
> -rw--- 1 root root 5377395 May 20  2016 /boot/initramfs-4.5.2-1.img
> root@fireball /usr/src/linux #
> 
> 
> What I need, the proper command with options to tell dracut I want to
> build a init thingy for 4.19.40-2.  I've tried many different ways but
> none of them work.  This includes commands I've used in the past that
> did work.  If I have to specify the init thingy name and the location of
> the kernel modules directory, that's fine.  I keep commands like this in
> a file to refer back to because I do tend to forget specifics but in
> this case, it seems dracut changed something.  Previous commands are not
> working. 
> 
> Does anyone know how to accomplish this task?  Hopefully something that
> will work even if dracut changes something with its defaults.  I figure
> if I tell it all it needs to know, then it should work even if dracut
> changes the default method.  I just can't seem to figure out what method
> to use here.  Maybe I'm missing a option or something. 
> 
> Thanks much. 

I think dracut uses the name of the /lib/modules directory, so just
execute dracut ""  such as in my case
4.19.85-gentoo  .  If that does not work post here, maybe you have
spaces in your directory name, if so try using double quotes around
it.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



[gentoo-user] correct tool to use odbc with mariadb

2019-12-13 Thread John Covici
Hi.  Several months ago, I replaced mysql with mariadb, mostly due to
strangeness with connectors and other emerge problems.  Now, I am down
to trying to get odbc working.  I cannot build myodbc-8.0.17 because I
get the following error, at least this seems to be the first one:

/usr/include/mysql/mysql.h:53:18: error: conflicting declaration
`typedef uint64_t my_ulonglong'
   53 | typedef uint64_t my_ulonglong;

Is this the correct app, or is there another one I should be using for
odbc to mariadb databases.  If this is the correct app, any ideas on
how to fix?

Thanks in advance for any suggestions.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



[gentoo-user] what happened to my glibc?

2019-11-19 Thread John Covici
Hi.  I am having a serious problem, I cannot compile my x server.  It
is looking for an external isastream.  Now in previous versions of
glibc (29.x) this was provided by /usr/lib64/libc.a, now its not there
-- how can I fix?  The version of glibc I have is 30-r2.

Thanks in advance for any suggestions.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Re: problem with named restarting

2019-11-19 Thread John Covici


On Sat, 16 Nov 2019 16:12:53 -0500,
Ian Zimmerman wrote:
> 
> On 2019-09-19 14:23, John Covici wrote:
> 
> > Sep 18 22:25:45 ccs.covici.com named[4207]: resolver.c:4917: 
> > INSIST(dns_name_issubdomain(>name, >domain)) failed, back trace
> > Sep 18 22:25:45 ccs.covici.com named[4207]: #0 0x5645afbc0610 in ??
> > Sep 18 22:25:45 ccs.covici.com named[4207]: #1 0x7f64def5037a in ??
> > Sep 18 22:25:45 ccs.covici.com named[4207]: #2 0x7f64df10168b in ??
> > Sep 18 22:25:45 ccs.covici.com named[4207]: #3 0x7f64df1030cc in ??
> > Sep 18 22:25:45 ccs.covici.com named[4207]: #4 0x7f64df108025 in ??
> > Sep 18 22:25:45 ccs.covici.com named[4207]: #5 0x7f64df109a44 in ??
> > Sep 18 22:25:45 ccs.covici.com named[4207]: #6 0x7f64def6e329 in ??
> > Sep 18 22:25:45 ccs.covici.com named[4207]: #7 0x7f64de8aa448 in ??
> > Sep 18 22:25:45 ccs.covici.com named[4207]: #8 0x7f64de5ff62f in ??
> > Sep 18 22:25:45 ccs.covici.com named[4207]: exiting (due to assertion 
> > failure)
> > 
> 
> It looks like a bug.  Can you build with -g and without stripping?
> 
> Sorry it took so long to get back to you.

So, I made sure glibc had -gdb and recompiled and recompiled named,
but still no symbols.  It was an assertion that failed, maybe this is
the reason.  I can send you the core dump if you would be interested.

Thanks.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Re: problem with named restarting

2019-11-17 Thread John Covici
On Sat, 16 Nov 2019 16:12:53 -0500,
Ian Zimmerman wrote:
> 
> On 2019-09-19 14:23, John Covici wrote:
> 
> > Sep 18 22:25:45 ccs.covici.com named[4207]: resolver.c:4917: 
> > INSIST(dns_name_issubdomain(>name, >domain)) failed, back trace
> > Sep 18 22:25:45 ccs.covici.com named[4207]: #0 0x5645afbc0610 in ??
> > Sep 18 22:25:45 ccs.covici.com named[4207]: #1 0x7f64def5037a in ??
> > Sep 18 22:25:45 ccs.covici.com named[4207]: #2 0x7f64df10168b in ??
> > Sep 18 22:25:45 ccs.covici.com named[4207]: #3 0x7f64df1030cc in ??
> > Sep 18 22:25:45 ccs.covici.com named[4207]: #4 0x7f64df108025 in ??
> > Sep 18 22:25:45 ccs.covici.com named[4207]: #5 0x7f64df109a44 in ??
> > Sep 18 22:25:45 ccs.covici.com named[4207]: #6 0x7f64def6e329 in ??
> > Sep 18 22:25:45 ccs.covici.com named[4207]: #7 0x7f64de8aa448 in ??
> > Sep 18 22:25:45 ccs.covici.com named[4207]: #8 0x7f64de5ff62f in ??
> > Sep 18 22:25:45 ccs.covici.com named[4207]: exiting (due to assertion 
> > failure)
> > 
> 
> It looks like a bug.  Can you build with -g and without stripping?

Hmmm,  I have split-debug on and I thought I had -g in my flags, but I
will check.  Does it go in CFLAGS .etc?


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] cannot compile sendmail in new gentoo installation

2019-11-15 Thread John Covici
On Fri, 15 Nov 2019 09:12:42 -0500,
John Covici wrote:
> 
> On Thu, 14 Nov 2019 11:47:53 -0500,
> Grant Taylor wrote:
> > 
> > On 11/13/19 9:51 PM, John Covici wrote:
> > > Hi.  I am trying to create a new installation as a chroot from
> > > my previous one since I don't have another box at hand and
> > > don't want to take this one down for several days to recompile
> > > everything.  Now I am stuck trying to emerge sendmail.  I
> > > cannot emerge 8.15.2 nor 8.14.9.  The last time I emerged
> > > successfully was under gcc 8.3.0 and so I tried emerging that
> > > but sendmail will not compile.  I have ACCEPT_KEYWORDS="~x86
> > > ~amd64" .
> > 
> > I can't comment on the specific problem you're having.  But I can
> > say that sendmail-8.15.2-r2 successfully (re)compiled (emerge
> > -DuNe @world) this past weekend on a current system without any
> > problems.
> 
> OK, so I found an actual gentoo bug on this, apparently, if you go to
> glibc 2.30 you get the problem because /usr/include/resolv.h
> eliminates the definition of RES_USE_INET6 .  They include a reference
> to a patch, but the patch seems not to work, but I am working on a new
> and hopefully better one.

My patch compiles successfully for anyone interested.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] cannot compile sendmail in new gentoo installation

2019-11-15 Thread John Covici
On Thu, 14 Nov 2019 11:47:53 -0500,
Grant Taylor wrote:
> 
> On 11/13/19 9:51 PM, John Covici wrote:
> > Hi.  I am trying to create a new installation as a chroot from
> > my previous one since I don't have another box at hand and
> > don't want to take this one down for several days to recompile
> > everything.  Now I am stuck trying to emerge sendmail.  I
> > cannot emerge 8.15.2 nor 8.14.9.  The last time I emerged
> > successfully was under gcc 8.3.0 and so I tried emerging that
> > but sendmail will not compile.  I have ACCEPT_KEYWORDS="~x86
> > ~amd64" .
> 
> I can't comment on the specific problem you're having.  But I can
> say that sendmail-8.15.2-r2 successfully (re)compiled (emerge
> -DuNe @world) this past weekend on a current system without any
> problems.

OK, so I found an actual gentoo bug on this, apparently, if you go to
glibc 2.30 you get the problem because /usr/include/resolv.h
eliminates the definition of RES_USE_INET6 .  They include a reference
to a patch, but the patch seems not to work, but I am working on a new
and hopefully better one.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] cannot compile sendmail in new gentoo installation

2019-11-14 Thread John Covici
On Thu, 14 Nov 2019 11:47:53 -0500,
Grant Taylor wrote:
> 
> On 11/13/19 9:51 PM, John Covici wrote:
> > Hi.  I am trying to create a new installation as a chroot from
> > my previous one since I don't have another box at hand and
> > don't want to take this one down for several days to recompile
> > everything.  Now I am stuck trying to emerge sendmail.  I
> > cannot emerge 8.15.2 nor 8.14.9.  The last time I emerged
> > successfully was under gcc 8.3.0 and so I tried emerging that
> > but sendmail will not compile.  I have ACCEPT_KEYWORDS="~x86
> > ~amd64" .
> 
> I can't comment on the specific problem you're having.  But I can
> say that sendmail-8.15.2-r2 successfully (re)compiled (emerge
> -DuNe @world) this past weekend on a current system without any
> problems.
I believe you, its something to do with those macros and if you look
at your successful compile you will see instead of errors it will say
RES_USE_INET6 is depricated, but it will continue, wish it would do
that in mine.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



[gentoo-user] cannot compile sendmail in new gentoo installation

2019-11-13 Thread John Covici
  
   make:


   ***


   [:


   sm_gethost.o]


   Error


   1

Any assistance on this would be very much appreciated.


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

     John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] problem changing to 17.1 profile

2019-11-06 Thread John Covici
On Sun, 03 Nov 2019 02:21:18 -0500,
Andrew Udvare wrote:
> 
> [1  ]
> [1.1  ]
> On 02/11/2019 01:36, John Covici wrote:
> > Hi.  Well, I was finally able to do the change of profile tothe 17.1
> > profile.  I have gotten all  the way almost to the end of this process
> > to the final step where itwantsto emerge all the 32-bit packages.  I
> > am about two from the end of that list and trying to emerge
> > x11-libs/gtk+-2.24.32-r1  andI have run into this problem:
> > 
> > libtool: link: x86_64-pc-linux-gnu-gcc -O2 -mtune=core2 -pipe -ggdb
> > -Wall -Wl,-O1 -o decompose-bits decompose-bits.o  -Wl,--as-needed
> > /usr/lib/libatk-1.0.so -lpango-1.0 -lcairo -lgdk_pixbuf-2.0
> > -lgobject-2.0 -lglib-2.0
> > /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/bin/ld:
> > /usr/lib/libatk-1.0.so: error adding symbols: file in wrong format
> > collect2: error: ld returned 1 exit status
> > 
> > Now, I re-emerged dev-libs/atk which contains the offending
> > library, but no joy.  the gtk package is pulled in by   several other
> > packages, so I cannot remove it.
> 
> If you re-emerged atk successfully, then the gtk linking stage should
> not fail with the same error as /usr/lib/libatk-1.0.so should now be in
> the correct format (32-bit instead of 64-bit).
> 
> > 
> > Thanks in advance for any suggestions asto howto proceed.
> > 
> 
> You have to pull in some packages in a very specific order.
> 
> With KDE we have a sort of circular dependency on freetype[harfbuzz],
> because harfbuzz itself depends on freetype. For this reason I had to do
> the following:
> 
> env USE=-harfbuzz emerge -1 freetype
> emerge -1 harfbuzz
> emerge -1 freetype
> 
> There is currently no way for Portage to do this automatically.
> 
> Your issue sounds similar and I would suggest emerging offending
> packages separately before continuing the rebuild process for /lib32,
> etc. The order is going to depend on other packages you have installed.
> 
> As soon as one of these special packages errors, you need to check the
> build log. Most likely it was during the configure stage where a
> dependency is not being found in /lib because it has not been built yet.
> Build that dependency with --oneshot and try again with the failing
> package after.
> 

So, I have had no joy with this at all, could not find a package like
that.  I unmerged the two failing packages, hoping that then the
simlinks would be removed and I could just re emerge them again, but
still no joy.  I either need to go back to the old profile, do a
reinstall (hopefully saving all my settings and world file) or fix the
problem.  I did file a bug and blocked the tracker, but I have heard
nothing from those people.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] problem changing to 17.1 profile

2019-11-03 Thread John Covici
On Sun, 03 Nov 2019 02:21:18 -0500,
Andrew Udvare wrote:
> 
> [1  ]
> [1.1  ]
> On 02/11/2019 01:36, John Covici wrote:
> > Hi.  Well, I was finally able to do the change of profile tothe 17.1
> > profile.  I have gotten all  the way almost to the end of this process
> > to the final step where itwantsto emerge all the 32-bit packages.  I
> > am about two from the end of that list and trying to emerge
> > x11-libs/gtk+-2.24.32-r1  andI have run into this problem:
> > 
> > libtool: link: x86_64-pc-linux-gnu-gcc -O2 -mtune=core2 -pipe -ggdb
> > -Wall -Wl,-O1 -o decompose-bits decompose-bits.o  -Wl,--as-needed
> > /usr/lib/libatk-1.0.so -lpango-1.0 -lcairo -lgdk_pixbuf-2.0
> > -lgobject-2.0 -lglib-2.0
> > /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/bin/ld:
> > /usr/lib/libatk-1.0.so: error adding symbols: file in wrong format
> > collect2: error: ld returned 1 exit status
> > 
> > Now, I re-emerged dev-libs/atk which contains the offending
> > library, but no joy.  the gtk package is pulled in by   several other
> > packages, so I cannot remove it.
> 
> If you re-emerged atk successfully, then the gtk linking stage should
> not fail with the same error as /usr/lib/libatk-1.0.so should now be in
> the correct format (32-bit instead of 64-bit).
> 
> > 
> > Thanks in advance for any suggestions asto howto proceed.
> > 
> 
> You have to pull in some packages in a very specific order.
> 
> With KDE we have a sort of circular dependency on freetype[harfbuzz],
> because harfbuzz itself depends on freetype. For this reason I had to do
> the following:
> 
> env USE=-harfbuzz emerge -1 freetype
> emerge -1 harfbuzz
> emerge -1 freetype
> 
> There is currently no way for Portage to do this automatically.
> 
> Your issue sounds similar and I would suggest emerging offending
> packages separately before continuing the rebuild process for /lib32,
> etc. The order is going to depend on other packages you have installed.
> 
> As soon as one of these special packages errors, you need to check the
> build log. Most likely it was during the configure stage where a
> dependency is not being found in /lib because it has not been built yet.
> Build that dependency with --oneshot and try again with the failing
> package after.

Thanks for your response.  I am pretty sure it has something to do
with the accessibility infrastructure,  I tried emerging those
separately, but no joy on doing that.  I will look and see if there
are any other dependencies, but this was at the very end of the list
and all others were successful. Very strange, indeed.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] problem changing to 17.1 profile

2019-11-02 Thread John Covici
On Sat, 02 Nov 2019 11:34:54 -0400,
David Haller wrote:
> 
> Hello,
> 
> On Sat, 02 Nov 2019, John Covici wrote:
> >On Sat, 02 Nov 2019 02:58:16 -0400,
> >David Haller wrote:
> >> On Sat, 02 Nov 2019, John Covici wrote:
> >> >Hi.  Well, I was finally able to do the change of profile tothe 17.1
> >> >profile.  I have gotten all  the way almost to the end of this process
> >> >to the final step where itwantsto emerge all the 32-bit packages.  I
> >> >am about two from the end of that list and trying to emerge
> >> >x11-libs/gtk+-2.24.32-r1  andI have run into this problem:
> >> >
> >> >libtool: link: x86_64-pc-linux-gnu-gcc -O2 -mtune=core2 -pipe -ggdb
> >> >-Wall -Wl,-O1 -o decompose-bits decompose-bits.o  -Wl,--as-needed
> >> >/usr/lib/libatk-1.0.so -lpango-1.0 -lcairo -lgdk_pixbuf-2.0
> >>  ^^^
> >> >-lgobject-2.0 -lglib-2.0
> >> >/usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/bin/ld:
> >> >/usr/lib/libatk-1.0.so: error adding symbols: file in wrong format
> >> [..]
> >> >Thanks in advance for any suggestions asto howto proceed.
> >> 
> >> Have you moved your /usr/lib* stuff to the new layout yet? I.e.
> >> is /usr/lib a symlink to /usr/lib64 or is it a directory containing
> >> the 32-bit libs? If the latter, gcc is picking up the wrong lib for
> >> this (64-bit) compile.
> >> 
> >> And anyway, are you on a multilib setup and have both atk (and deps)
> >> and gtk+ the "abi_x86_32 multilib" USE-flags set?
> >> 
> >> I still have the old /usr/lib* layout, i.e.:
> >> $ ls -ld /usr/lib* | cut -d/ -f2-
> >> usr/lib -> lib64/
> >> usr/lib32/
> >> usr/lib64/
> >> usr/libexec/
> >> 
> >> and this in make.conf:
> >> 
> >> CHOST="x86_64-pc-linux-gnu"
> >> ABI_X86="64"
> >> 
> >> and above mentionend USE-flags for all packages and their deps I
> >> want/need 32-bit libs (and/or binaries)...
> >
> >I have the new layout:
> >drwxr-xr-x 68 root root 651 Nov  2 01:10 /usr/lib/
> 
> But you're on
> 
> CHOST="x86_64-pc-linux-gnu"
> ABI_X86="64"
> 
> are you?
> 
> >and a use flag for the offending package
> >
> >dev-libs/atk abi_x86_32
> 
> I don't see 'multilib' there... Do you have /usr/lib64/libatk-1.0.*?
> 
> If not, add 'multilib' to all deps of gtk+ and re-emerge those.

A couple of points, I am using a multilib profile, the ones that are
not multlib say so and I have never used those.  So, I copied the .la
files to /usr/lib, they seem to be generated and not part of any
package.  So now I have the following error:

/usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/bin/ld:
/usr/lib/libatk-bridge-2.0.so: error adding symbols: file in wrong
format

So, the package for that file seems to be correct, it has two files of
the same name in /usr/llib and /usr/lib64 which are different.  It
looks like gtk3+ is picking the wrong file or something -- if anyone
has an idea as to how to fix, it would be great.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] problem changing to 17.1 profile

2019-11-02 Thread John Covici
On Sat, 02 Nov 2019 11:34:54 -0400,
David Haller wrote:
> 
> Hello,
> 
> On Sat, 02 Nov 2019, John Covici wrote:
> >On Sat, 02 Nov 2019 02:58:16 -0400,
> >David Haller wrote:
> >> On Sat, 02 Nov 2019, John Covici wrote:
> >> >Hi.  Well, I was finally able to do the change of profile tothe 17.1
> >> >profile.  I have gotten all  the way almost to the end of this process
> >> >to the final step where itwantsto emerge all the 32-bit packages.  I
> >> >am about two from the end of that list and trying to emerge
> >> >x11-libs/gtk+-2.24.32-r1  andI have run into this problem:
> >> >
> >> >libtool: link: x86_64-pc-linux-gnu-gcc -O2 -mtune=core2 -pipe -ggdb
> >> >-Wall -Wl,-O1 -o decompose-bits decompose-bits.o  -Wl,--as-needed
> >> >/usr/lib/libatk-1.0.so -lpango-1.0 -lcairo -lgdk_pixbuf-2.0
> >>  ^^^
> >> >-lgobject-2.0 -lglib-2.0
> >> >/usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/bin/ld:
> >> >/usr/lib/libatk-1.0.so: error adding symbols: file in wrong format
> >> [..]
> >> >Thanks in advance for any suggestions asto howto proceed.
> >> 
> >> Have you moved your /usr/lib* stuff to the new layout yet? I.e.
> >> is /usr/lib a symlink to /usr/lib64 or is it a directory containing
> >> the 32-bit libs? If the latter, gcc is picking up the wrong lib for
> >> this (64-bit) compile.
> >> 
> >> And anyway, are you on a multilib setup and have both atk (and deps)
> >> and gtk+ the "abi_x86_32 multilib" USE-flags set?
> >> 
> >> I still have the old /usr/lib* layout, i.e.:
> >> $ ls -ld /usr/lib* | cut -d/ -f2-
> >> usr/lib -> lib64/
> >> usr/lib32/
> >> usr/lib64/
> >> usr/libexec/
> >> 
> >> and this in make.conf:
> >> 
> >> CHOST="x86_64-pc-linux-gnu"
> >> ABI_X86="64"
> >> 
> >> and above mentionend USE-flags for all packages and their deps I
> >> want/need 32-bit libs (and/or binaries)...
> >
> >I have the new layout:
> >drwxr-xr-x 68 root root 651 Nov  2 01:10 /usr/lib/
> 
> But you're on
> 
> CHOST="x86_64-pc-linux-gnu"
> ABI_X86="64"
> 
> are you?
> 
> >and a use flag for the offending package
> >
> >dev-libs/atk abi_x86_32
> 
> I don't see 'multilib' there... Do you have /usr/lib64/libatk-1.0.*?
> 
> If not, add 'multilib' to all deps of gtk+ and re-emerge those.

my make.conf just says CHOST="x86_64-pc-linux-gnu"
but I have a number of packages which portage told me to put
abi_x86_32 as a use flag in order to  energe the package.  I do have
the file /usr/lib64/libatk-1.0.* but no package claims it.   gtk+ (all
versions) are looking for it in /usr/lib, but I don't think if I just
move it there the file will be compatible -- I can't find any package
that claims the file and re emerging the accessibility stack does not
giveit to me in /usr/lib -- very peculiar.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] problem changing to 17.1 profile

2019-11-02 Thread John Covici
On Sat, 02 Nov 2019 02:58:16 -0400,
David Haller wrote:
> 
> Hello,
> 
> On Sat, 02 Nov 2019, John Covici wrote:
> >Hi.  Well, I was finally able to do the change of profile tothe 17.1
> >profile.  I have gotten all  the way almost to the end of this process
> >to the final step where itwantsto emerge all the 32-bit packages.  I
> >am about two from the end of that list and trying to emerge
> >x11-libs/gtk+-2.24.32-r1  andI have run into this problem:
> >
> >libtool: link: x86_64-pc-linux-gnu-gcc -O2 -mtune=core2 -pipe -ggdb
> >-Wall -Wl,-O1 -o decompose-bits decompose-bits.o  -Wl,--as-needed
> >/usr/lib/libatk-1.0.so -lpango-1.0 -lcairo -lgdk_pixbuf-2.0
>  ^^^
> >-lgobject-2.0 -lglib-2.0
> >/usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/bin/ld:
> >/usr/lib/libatk-1.0.so: error adding symbols: file in wrong format
> [..]
> >Thanks in advance for any suggestions asto howto proceed.
> 
> Have you moved your /usr/lib* stuff to the new layout yet? I.e.
> is /usr/lib a symlink to /usr/lib64 or is it a directory containing
> the 32-bit libs? If the latter, gcc is picking up the wrong lib for
> this (64-bit) compile.
> 
> And anyway, are you on a multilib setup and have both atk (and deps)
> and gtk+ the "abi_x86_32 multilib" USE-flags set?
> 
> I still have the old /usr/lib* layout, i.e.:
> $ ls -ld /usr/lib* | cut -d/ -f2-
> usr/lib -> lib64/
> usr/lib32/
> usr/lib64/
> usr/libexec/
> 
> and this in make.conf:
> 
> CHOST="x86_64-pc-linux-gnu"
> ABI_X86="64"
> 
> and above mentionend USE-flags for all packages and their deps I
> want/need 32-bit libs (and/or binaries)...

I have the new layout:
drwxr-xr-x 68 root root 651 Nov  2 01:10 /usr/lib/

and a use flag for the offending package

dev-libs/atk abi_x86_32


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



[gentoo-user] problem changing to 17.1 profile

2019-11-01 Thread John Covici
Hi.  Well, I was finally able to do the change of profile tothe 17.1
profile.  I have gotten all  the way almost to the end of this process
to the final step where itwantsto emerge all the 32-bit packages.  I
am about two from the end of that list and trying to emerge
x11-libs/gtk+-2.24.32-r1  andI have run into this problem:

libtool: link: x86_64-pc-linux-gnu-gcc -O2 -mtune=core2 -pipe -ggdb
-Wall -Wl,-O1 -o decompose-bits decompose-bits.o  -Wl,--as-needed
/usr/lib/libatk-1.0.so -lpango-1.0 -lcairo -lgdk_pixbuf-2.0
-lgobject-2.0 -lglib-2.0
/usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/bin/ld:
/usr/lib/libatk-1.0.so: error adding symbols: file in wrong format
collect2: error: ld returned 1 exit status

Now, I re-emerged dev-libs/atk which contains the offending
library, but no joy.  the gtk package is pulled in by   several other
packages, so I cannot remove it.

Thanks in advance for any suggestions asto howto proceed.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] problems with depclean

2019-10-17 Thread John Covici
On Thu, 17 Oct 2019 03:23:07 -0400,
Neil Bothwick wrote:
> 
> [1  ]
> On Wed, 16 Oct 2019 21:28:18 -0400, John Covici wrote:
> 
> > > Can you post an example output from emerge, the eix entry from that
> > > package and the entry in @world?  
> > In the case I see before me, depclean wants to unmerge
> > dev-util/glib-utils  -- its not in my world file, but if I do
> > qdepends dev-util/glib-utils I get
> > dev-util/glib-utils-2.58.3: dev-libs/libxslt app-arch/xz-utils
> > >=dev-lang/python-exec-2:2/2=[python_targets_python3_6(+),-python_single_target_jython2_7(+),-python_single_target_pypy(+),-python_single_target_pypy3(+),-python_single_target_python2_7(+),python_single_target_python3_6(+)]
> > > ! > > app-text/docbook-xsl-stylesheets  
> 
> That is odd, I use emerge -cpv rather than qdepends and it shows many
> reverse dependencies.
>  
> > but if I do eix of that it says:
> > [U] dev-util/glib-utils
> >  Available versions:  2.58.3{tbz2} 2.60.6 (~)2.60.7
> > {PYTHON_SINGLE_TARGET="python3_5 python3_6 python3_7"
> > PYTHON_TARGETS="python3_5 python3_6 python3_7"}
> >  Installed versions:  2.58.3{tbz2}(08:28:38 AM
> > 05/10/2019)(PYTHON_SINGLE_TARGET="python3_6 -python3_5
> > -python3_7" PYTHON_TARGETS="python3_6 -python3_5
> > -python3_7")
> 
> It may not be relevant, but you don't have the latest version installed
> and it is recommended to run depclean after a full world update.
> 
> > But if I do
> > script -c "emerge  --update --deep
> > --with-bdeps=y --changed-use --backtrack=500  --keep-going
> > world"   /usr/src/world_update.txt
> > 
> > It says 0 packages and stops.
> 
> So it's odd to see that portage considers your system up to date.
> Although this is consistent with portage considering glib-utils to be
> unnecessary. Does
> 
> grep -r glib-utils /etc/portage
> 
> show anything. Is the package listed in the output from emerge -ep @world?

No output from the grep or emerge -ep @world for that package.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] problems with depclean

2019-10-16 Thread John Covici
On Wed, 16 Oct 2019 03:33:29 -0400,
Neil Bothwick wrote:
> 
> [1  ]
> On Tue, 15 Oct 2019 19:41:14 -0400, John Covici wrote:
> 
> > Thanks much.  Now, what about depclean deleting packages where I have
> > the name in my world file, but no version numbers or anything, it
> > seems to want to delete what it maybe thinks are older versions even
> > if the "older" version is the only one installed?
> 
> Can you post an example output from emerge, the eix entry from that
> package and the entry in @world?
In the case I see before me, depclean wants to unmerge
dev-util/glib-utils  -- its not in my world file, but if I do
qdepends dev-util/glib-utils I get
dev-util/glib-utils-2.58.3: dev-libs/libxslt app-arch/xz-utils
>=dev-lang/python-exec-2:2/2=[python_targets_python3_6(+),-python_single_target_jython2_7(+),-python_single_target_pypy(+),-python_single_target_pypy3(+),-python_single_target_python2_7(+),python_single_target_python3_6(+)]
> ! app-text/docbook-xsl-stylesheets

but if I do eix of that it says:
[U] dev-util/glib-utils
 Available versions:  2.58.3{tbz2} 2.60.6 (~)2.60.7
{PYTHON_SINGLE_TARGET="python3_5 python3_6 python3_7"
PYTHON_TARGETS="python3_5 python3_6 python3_7"}
 Installed versions:  2.58.3{tbz2}(08:28:38 AM
05/10/2019)(PYTHON_SINGLE_TARGET="python3_6 -python3_5
-python3_7" PYTHON_TARGETS="python3_6 -python3_5
-python3_7")
 Homepage:https://www.gtk.org/
 Description: Build utilities for GLib
using projects
But if I do
script -c "emerge  --update --deep 
--with-bdeps=y
--changed-use --backtrack=500  --keep-going
world"   /usr/src/world_update.txt

It says 0 packages and stops.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] problems with depclean

2019-10-15 Thread John Covici
On Tue, 15 Oct 2019 19:19:45 -0400,
Neil Bothwick wrote:
> 
> [1  ]
> On Tue, 15 Oct 2019 16:53:10 -0400, John Covici wrote:
> 
> > >  Is @kernels in /var/lib/portage/world_sets?
> > > 
> > > I tested this and I found that the "emerge -n @kernels" did not add
> > > @kernels to /var/lib/portage/world_sets. However, if I manually
> > > edited world_sets and added @kernels then this works as expected.   
> > 
> > Do I just add a line saying @kernels to that file or is there some
> > other syntax?
> 
> Just add @kernels on a line. The format of world_sets is like world,
> except it contains set names rather than package names.

Thanks much.  Now, what about depclean deleting packages where I have
the name in my world file, but no version numbers or anything, it
seems to want to delete what it maybe thinks are older versions even
if the "older" version is the only one installed?

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] problems with depclean

2019-10-15 Thread John Covici
On Tue, 15 Oct 2019 14:46:34 -0400,
Manuel McLure wrote:
> 
> [1  ]
> [2  ]
> On Tue, Oct 15, 2019 at 11:05 AM Neil Bothwick  wrote:
> 
>  Is @kernels in /var/lib/portage/world_sets?
> 
> I tested this and I found that the "emerge -n @kernels" did not add @kernels 
> to /var/lib/portage/world_sets. However, if I manually edited world_sets and 
> added @kernels then this works as expected. 

Do I just add a line saying @kernels to that file or is there some
other syntax?

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] problems with depclean

2019-10-15 Thread John Covici
On Tue, 15 Oct 2019 14:05:03 -0400,
Neil Bothwick wrote:
> 
> [1  ]
> On Tue, 15 Oct 2019 09:49:26 -0400, John Covici wrote:
> 
> > > > > Put this in /etc/portage/sets.conf
> > > > > 
> > > > > [kernels]
> > > > > class = portage.sets.dbapi.OwnerSet
> > > > > world-candidate = False
> > > > > files = /usr/src
> > > > > 
> > > > > Then "emerge -n @kernels"
> > > > > 
> > > > > Now depclean won't try to remove any kernels, or any other package
> > > > > that installs files to /usr/src.
> > > > Well, this didn't seem to work, when I tried to emerge -n @kernels
> > > > it said nothing to emerge, after the calculating, etc.   
> > > 
> > > It won't emerge anything, that command adds the kernels set to
> > > world_sets. 
> > > > and it certainly did not work.  
> > > 
> > > As in depclean still wants to remove kernels? Or as in nothing
> > > /appeared/ to happen?  
> > 
> > As in depclean still wants to remove kernels.
> 
> Is @kernels in /var/lib/portage/world_sets?

That file is empty.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] problems with depclean

2019-10-15 Thread John Covici
On Tue, 15 Oct 2019 04:13:33 -0400,
Neil Bothwick wrote:
> 
> [1  ]
> On Tue, 15 Oct 2019 03:55:02 -0400, John Covici wrote:
> 
> > > Put this in /etc/portage/sets.conf
> > > 
> > > [kernels]
> > > class = portage.sets.dbapi.OwnerSet
> > > world-candidate = False
> > > files = /usr/src
> > > 
> > > Then "emerge -n @kernels"
> > > 
> > > Now depclean won't try to remove any kernels, or any other package
> > > that installs files to /usr/src.  
> > Well, this didn't seem to work, when I tried to emerge -n @kernels it
> > said nothing to emerge, after the calculating, etc. 
> 
> It won't emerge anything, that command adds the kernels set to world_sets.
> 
> > and it certainly did not work.
> 
> As in depclean still wants to remove kernels? Or as in nothing /appeared/
> to happen?

As in depclean still wants to remove kernels.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] problems with depclean

2019-10-15 Thread John Covici
On Mon, 14 Oct 2019 04:03:53 -0400,
Neil Bothwick wrote:
> 
> [1  ]
> On Mon, 14 Oct 2019 03:21:52 -0400, John Covici wrote:
> 
> > Thanks, I do need the current sources, lots of packages want to check
> > them and the linux directory entry points to the sources, packages are
> > always looking in there when I emerge them.
> 
> Put this in /etc/portage/sets.conf
> 
> [kernels]
> class = portage.sets.dbapi.OwnerSet
> world-candidate = False
> files = /usr/src
> 
> Then "emerge -n @kernels"
> 
> Now depclean won't try to remove any kernels, or any other package that
> installs files to /usr/src.
Well, this didn't seem to work, when I tried to emerge -n @kernels it
said nothing to emerge, after the calculating, etc. and it certainly
did not work.  Also, depclean did some other strange things -- on
another system I have it wanted to unmerge dev-util/glib-utils-2.58.3
which is my installed version, but doing an eix on that package, there
seems to be an update.  However, doing a world update says 0
packages, so what am I missing?

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] problems with depclean

2019-10-14 Thread John Covici
On Mon, 14 Oct 2019 04:03:53 -0400,
Neil Bothwick wrote:
> 
> [1  ]
> On Mon, 14 Oct 2019 03:21:52 -0400, John Covici wrote:
> 
> > Thanks, I do need the current sources, lots of packages want to check
> > them and the linux directory entry points to the sources, packages are
> > always looking in there when I emerge them.
> 
> Put this in /etc/portage/sets.conf
> 
> [kernels]
> class = portage.sets.dbapi.OwnerSet
> world-candidate = False
> files = /usr/src
> 
> Then "emerge -n @kernels"
> 
> Now depclean won't try to remove any kernels, or any other package that
> installs files to /usr/src.
> 

Thanks, very nice, I had never heard of that.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] problems with depclean

2019-10-14 Thread John Covici
On Mon, 14 Oct 2019 01:06:54 -0400,
Arve Barsnes wrote:
> 
> On Mon, 14 Oct 2019 at 05:04, John Covici  wrote:
> >
> > Hi.  After a long time, I got my system into a state where I could
> > finally try to do emerge depclean.  What a mess!  It would have
> > deleted source for my running kernel, version of postgresql I am using
> > and many other things I am currently using.Some of them, at least
> > are in my world file. Some things are not and should be and I can fix
> > those, but there are a lot of libraries as well and I want to make
> > sure my system is not completely hosed before I run this again -- next
> > time after an update.
> >
> > So, how can I protect myself against depclean going wild?
> 
> If you use an older slot of the kernel or postgres, you need to put
> them in world to stop them from being depcleaned. I don't know how
> postgres upgrades work in gentoo, but deleting the kernel sources are
> usually no big deal unless you plan to re-compile that particular
> version. Just make sure you have your config in /boot or something.
> 
> I would assume that after adding any other programs you use to world,
> any libraries it wants to remove are actually not in use.
Thanks, I do need the current sources, lots of packages want to check
them and the linux directory entry points to the sources, packages are
always looking in there when I emerge them.


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



[gentoo-user] problems with depclean

2019-10-13 Thread John Covici
Hi.  After a long time, I got my system into a state where I could
finally try to do emerge depclean.  What a mess!  It would have
deleted source for my running kernel, version of postgresql I am using
and many other things I am currently using.Some of them, at least
are in my world file. Some things are not and should be and I can fix
those, but there are a lot of libraries as well and I want to make
sure my system is not completely hosed before I run this again -- next
time after an update.

So, how can I protect myself against depclean going wild?

Thanks in advance for any ideas.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Re: problem with named restarting

2019-09-19 Thread John Covici
On Thu, 19 Sep 2019 12:43:39 -0400,
Ian Zimmerman wrote:
> 
> On 2019-09-18 12:00, John Covici wrote:
> 
> > Thanks, I will try that, do you know why named is restarting, this is
> > a much worse problem?
> 
> As of now I don't know.  I may be able to guess if you post the backtrace.

OK, here is what I have.
Sep 18 22:25:45 ccs.covici.com named[4207]: resolver.c:4917: 
INSIST(dns_name_issubdomain(>name, >domain)) failed, back trace
Sep 18 22:25:45 ccs.covici.com named[4207]: #0 0x5645afbc0610 in ??
Sep 18 22:25:45 ccs.covici.com named[4207]: #1 0x7f64def5037a in ??
Sep 18 22:25:45 ccs.covici.com named[4207]: #2 0x7f64df10168b in ??
Sep 18 22:25:45 ccs.covici.com named[4207]: #3 0x7f64df1030cc in ??
Sep 18 22:25:45 ccs.covici.com named[4207]: #4 0x7f64df108025 in ??
Sep 18 22:25:45 ccs.covici.com named[4207]: #5 0x7f64df109a44 in ??
Sep 18 22:25:45 ccs.covici.com named[4207]: #6 0x7f64def6e329 in ??
Sep 18 22:25:45 ccs.covici.com named[4207]: #7 0x7f64de8aa448 in ??
Sep 18 22:25:45 ccs.covici.com named[4207]: #8 0x7f64de5ff62f in ??
Sep 18 22:25:45 ccs.covici.com named[4207]: exiting (due to assertion failure)

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Re: problem with named restarting

2019-09-18 Thread John Covici
On Wed, 18 Sep 2019 11:47:37 -0400,
Ian Zimmerman wrote:
> 
> On 2019-09-17 20:40, John Covici wrote:
> 
> > On Tue, 17 Sep 2019 18:33:51 -0400,
> > Ian Zimmerman wrote:
> > > 
> > > On 2019-09-17 13:01, John Covici wrote:
> > > 
> > > > > > Also, when I restart named (which I have now done automatically by
> > > > > > systemd) it gives me a lot of errors like the following:
> > > > > > Sep 17 03:11:59 ccs.covici.com named[3299910]: validating arpa/DS: 
> > > > > > no
> > > > > > valid signature found
> > > > > > or this:
> > > > > > Sep 17 03:12:00 ccs.covici.com named[3299910]: validating com/DS: no
> > > > > > valid signature found
> > > > > 
> > > > > This looks like a DNSSEC problem.  I don't run bind on my gentoo 
> > > > > system,
> > > > > but I did this:
> > > 
> > > > > [snipped]
> > > 
> > > > > Try running "ldd /usr/sbin/named".  Is openssl (ie. libssl and
> > > > > libcrypto) part of the output?
> > > 
> > > > libcrypto is there along with libgnutls, but no libssl.
> > > 
> > > Ok, so it probably is built with DNSSEC support.
> > > 
> > > How do you populate your cache?  Do you recurse to the root servers, or
> > > do you have a "forwarder" (for example, your ISP server) to which you
> > > pass all queries that miss the cache?
> > 
> > I have more than one, but they are forwarders. 
> 
> Then it's likely a problem with one of them.  For DNSSEC to work, all
> the servers that handle the query must support it.
> 
> One way to get rid of the warning is to just disable DNSSEC at runtime.
> In /etc/bind/named.conf (or a file included by it):
> 
> options { dnssec-enable no; };
> 
> Reference:
> https://downloads.isc.org/isc/bind9/9.14.0/doc/arm/Bv9ARM.ch05.html#options_grammar
> 

Thanks, I will try that, do you know why named is restarting, this is a much
worse problem?

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Re: problem with named restarting

2019-09-17 Thread John Covici
On Tue, 17 Sep 2019 18:33:51 -0400,
Ian Zimmerman wrote:
> 
> On 2019-09-17 13:01, John Covici wrote:
> 
> > > > Also, when I restart named (which I have now done automatically by
> > > > systemd) it gives me a lot of errors like the following:
> > > > Sep 17 03:11:59 ccs.covici.com named[3299910]: validating arpa/DS: no
> > > > valid signature found
> > > > or this:
> > > > Sep 17 03:12:00 ccs.covici.com named[3299910]: validating com/DS: no
> > > > valid signature found
> > > 
> > > This looks like a DNSSEC problem.  I don't run bind on my gentoo system,
> > > but I did this:
> 
> > > [snipped]
> 
> > > Try running "ldd /usr/sbin/named".  Is openssl (ie. libssl and
> > > libcrypto) part of the output?
> 
> > libcrypto is there along with libgnutls, but no libssl.
> 
> Ok, so it probably is built with DNSSEC support.
> 
> How do you populate your cache?  Do you recurse to the root servers, or
> do you have a "forwarder" (for example, your ISP server) to which you
> pass all queries that miss the cache?

I have more than one, but they are forwarders. 

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [EXTERNAL] [gentoo-user] Chromium on linux, build question

2019-09-17 Thread John Covici
On Tue, 17 Sep 2019 13:21:45 -0400,
Laurence Perkins wrote:
> 
> [1  ]
> 
> 
> On Sun, 2019-09-15 at 05:45 -0400, John Covici wrote:
> > Hi.  I want to have Chromium  on linux, but I want to build the
> > Chrome
> > OS version, so I can have their version of the accessibility plugin
> > which is called Chrom next.  I did not see any use flags, so how can
> > I
> > do this on gentoo?  I am using the unstable version of gentoo.  It is
> > my understanding that this can be done on Debian and other
> > distributions.
> > 
> > Thanks in advance for any suggestions.
> > 
> I believe what you're probably looking for is the chrome-binary-plugins 
> package.  This downloads the binary version of Chrome and pulls all the
> Google-proprietary bits out of it and loads them into your Chromium.
> 
> Of course, at that point you might as well just use Chrome...  But I
> suppose you could try whacking out the ones you don't want and see what
> happens.

What I am trying to do is to build chromium in such a way that I can
use the assistive technology called Chrome next which requires chrome
for chrome os.  Does that make sense?

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Re: problem with named restarting

2019-09-17 Thread John Covici
On Tue, 17 Sep 2019 12:14:14 -0400,
Ian Zimmerman wrote:
> 
> On 2019-09-17 03:30, John Covici wrote:
> 
> > Hi.  I am having a very annoying problem with named.  I am using
> > net-dns/bind-9.14.4 which I actually updated from a previous version
> > which also had the problem. It seems that an assertion has failed:
> > Sep 17 03:10:53 ccs.covici.com named[1857864]: resolver.c:4917:
> > INSIST(dns_name_issubdomain(>name, >domain)) failed, back
> > trace
> > 
> > There is a back trace which I can supply if that would help.  There is
> > also a coredump.
> > 
> > Also, when I restart named (which I have now done automatically by
> > systemd) it gives me a lot of errors like the following:
> > Sep 17 03:11:59 ccs.covici.com named[3299910]: validating arpa/DS: no
> > valid signature found
> > or this:
> > Sep 17 03:12:00 ccs.covici.com named[3299910]: validating com/DS: no
> > valid signature found
> 
> This looks like a DNSSEC problem.  I don't run bind on my gentoo system,
> but I did this:
> 
> $ equery -C u net-dns/bind
> [ Legend : U - final flag setting for installation]
> [: I - package is installed with flag ]
> [ Colors : set, unset ]
>  * Found these USE flags for net-dns/bind-9.14.4:
>  U I
>  + + berkdb   : Add support for sys-libs/db (Berkeley DB for 
> MySQL)
>  + - caps : Use Linux capabilities library to control 
> privilege
>  - - dlz  : Enables dynamic loaded zones, 3rd party 
> extension
>  - - dnsrps   : Enable the DNS Response Policy Service 
> (DNSRPS) API, a mechanism to allow an
> external response policy provider
>  - - dnstap   : Enables dnstap packet logging
>  - - doc  : Add extra documentation (API, Javadoc, etc). 
> It is recommended to enable per
> package instead of globally
>  - - fixed-rrset  : Enables fixed rrset-order option
>  - - geoip: Add geoip support for country and city lookup 
> based on IPs
>  - - gost : Enables gost OpenSSL engine support
>  - - gssapi   : Enable gssapi support
>  + + json : Enable JSON statistics channel
>  - - ldap : Add LDAP support (Lightweight Directory 
> Access Protocol)
>  - - libressl : Use dev-libs/libressl instead of 
> dev-libs/openssl when applicable (see also the ssl
> useflag)
>  - - lmdb : Enable LMDB support to store configuration 
> for 'addzone' zones
>  - - mysql: Add mySQL Database support
>  - - odbc : Add ODBC Support (Open DataBase Connectivity)
>  - - postgres : Add support for the postgresql database
>  - - python   : Add optional support/bindings for the Python 
> language
>  + + python_targets_python2_7 : Build with Python 2.7
>  - - python_targets_python3_5 : Build with Python 3.5
>  + + python_targets_python3_6 : Build with Python 3.6
>  - - static-libs  : Build static versions of dynamic libraries as 
> well
>  - - urandom  : Use /dev/urandom instead of /dev/random
>  + + xml  : Add support for XML files
>  + + zlib : Add support for zlib (de)compression
> 
> which left me puzzled: the libressl flag docstring talks about a ssl
> flag which doesn't exist for this package.
> 
> Try running "ldd /usr/sbin/named".  Is openssl (ie. libssl and
> libcrypto) part of the output?
libcrypto is there along with libgnutls, but no libssl.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



[gentoo-user] problem with named restarting

2019-09-17 Thread John Covici
Hi.  I am having a very annoying problem with named.  I am using
net-dns/bind-9.14.4 which I actually updated from a previous version
which also had the problem. It seems that an assertion has failed:
Sep 17 03:10:53 ccs.covici.com named[1857864]: resolver.c:4917:
INSIST(dns_name_issubdomain(>name, >domain)) failed, back
trace

There is a back trace which I can supply if that would help.  There is
also a coredump.

Also, when I restart named (which I have now done automatically by
systemd) it gives me a lot of errors like the following:
Sep 17 03:11:59 ccs.covici.com named[3299910]: validating arpa/DS: no
valid signature found
or this:
Sep 17 03:12:00 ccs.covici.com named[3299910]: validating com/DS: no
valid signature found

I am just caching only, this box is not the actual resolver for my
domain.

Any ideas on this would be appreciated.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

     John Covici wb2una
 cov...@ccs.covici.com



[gentoo-user] Chromium on linux, build question

2019-09-15 Thread John Covici
Hi.  I want to have Chromium  on linux, but I want to build the Chrome
OS version, so I can have their version of the accessibility plugin
which is called Chrom next.  I did not see any use flags, so how can I
do this on gentoo?  I am using the unstable version of gentoo.  It is
my understanding that this can be done on Debian and other distributions.

Thanks in advance for any suggestions.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Docker + systemd since cgroups v2

2019-09-10 Thread John Covici
On Tue, 10 Sep 2019 12:00:07 -0400,
John Covici wrote:
> 
> On Tue, 10 Sep 2019 10:12:08 -0400,
> Andrew Udvare wrote:
> > 
> > For reference: uname -r: 5.2.13-gentoo, systemd version 
> > 243_rc2-r1[cgroup-hybrid], ACCEPT_KEYWORDS="~amd64"
> > 
> > My system started failing to start running docker.service automatically and 
> > the logs weren't too helpful. Finally I ran dockerd on its own and found 
> > that it gave me this error message:
> > 
> > Devices cgroup isn't mounted
> > 
> > This is not too easy to diagnose as there seem to be a set of solutions but 
> > none of the main two worked for me. One involved setting 2 options on the 
> > kernel command line:
> > 
> > cgroup_enable=memory swapaccount=1
> > 
> > And the other was to add USE="cgroup-hybrid" to systemd. I did this, but it 
> > too it did not work.
> > 
> > The other solution is to simply mount the cgroup manually and this works 
> > but I did not see why I'd have to do that now when I never had to in the 
> > past.
> > 
> > I actually had to add this to my command line:
> > 
> > systemd.legacy_systemd_cgroup_controller=yes
> > 
> > This has been noted in other distros but from what I can tell this is 
> > solely because runc has not been updated to be able to use cgroups v2.
> > 
> > Anyone else ran into this issue? Is there something I am missing so I 
> > wouldn't need to pass a kernel command line option?
> > 
> > Reference links:
> > 
> > https://docs.docker.com/install/linux/linux-postinstall/#your-kernel-does-not-support-cgroup-swap-limit-capabilities
> > https://github.com/opencontainers/runc/issues/654
> > https://github.com/opencontainers/runc/issues/1175
> > https://wiki.gentoo.org/wiki/Docker#Docker_service_fails_because_cgroup_device_not_mounted_.28systemd.29
> 
> I ran into this issue when going from 4.19.56 to 4.19.68 kernel.
> Perhaps I will try this option later on, but I wonder if we could file
> a bug with sgentoo or somewhere?

And furthermore its the same version of systemd 243_rc2 .

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] Docker + systemd since cgroups v2

2019-09-10 Thread John Covici
On Tue, 10 Sep 2019 10:12:08 -0400,
Andrew Udvare wrote:
> 
> For reference: uname -r: 5.2.13-gentoo, systemd version 
> 243_rc2-r1[cgroup-hybrid], ACCEPT_KEYWORDS="~amd64"
> 
> My system started failing to start running docker.service automatically and 
> the logs weren't too helpful. Finally I ran dockerd on its own and found that 
> it gave me this error message:
> 
> Devices cgroup isn't mounted
> 
> This is not too easy to diagnose as there seem to be a set of solutions but 
> none of the main two worked for me. One involved setting 2 options on the 
> kernel command line:
> 
> cgroup_enable=memory swapaccount=1
> 
> And the other was to add USE="cgroup-hybrid" to systemd. I did this, but it 
> too it did not work.
> 
> The other solution is to simply mount the cgroup manually and this works but 
> I did not see why I'd have to do that now when I never had to in the past.
> 
> I actually had to add this to my command line:
> 
> systemd.legacy_systemd_cgroup_controller=yes
> 
> This has been noted in other distros but from what I can tell this is solely 
> because runc has not been updated to be able to use cgroups v2.
> 
> Anyone else ran into this issue? Is there something I am missing so I 
> wouldn't need to pass a kernel command line option?
> 
> Reference links:
> 
> https://docs.docker.com/install/linux/linux-postinstall/#your-kernel-does-not-support-cgroup-swap-limit-capabilities
> https://github.com/opencontainers/runc/issues/654
> https://github.com/opencontainers/runc/issues/1175
> https://wiki.gentoo.org/wiki/Docker#Docker_service_fails_because_cgroup_device_not_mounted_.28systemd.29

I ran into this issue when going from 4.19.56 to 4.19.68 kernel.
Perhaps I will try this option later on, but I wonder if we could file
a bug with sgentoo or somewhere?

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] cannot upgrade to zfs 0.8.x

2019-07-08 Thread John Covici
On Mon, 08 Jul 2019 12:04:47 -0400,
Rich Freeman wrote:
> 
> On Mon, Jul 8, 2019 at 7:46 AM John Covici  wrote:
> >
> > OK, so I successfully did build 0.8.1, but it does not like my root
> > file system parameter, dracut chokes and puts me in an emergency shell
> > and I have to mount it manually.  I tried root=rpool and
> > root=rpool/root which dracut completely said unable to continue and if
> > I omit the root= altogether like I have done in previous versions, it
> > says it can't mount the root file system, and throws me into the
> > emergency shell where I can mount it manually.  I do have rpool/root
> > designated as rootfs.
> 
> I'm not sure if this is a dracut issue or a zfs issue, but on my zfs
> 0.7.13 system I have:
> root=ZFS=fast/root
> 
> ...where fast/root is the pool/dataset I'm using.
> 
> You might try adding the ZFS= to your root string.  I wasn't aware it
> would even work otherwise.
> 
> I have yet to try 0.8 - I'm not in a huge rush though I'm sure the
> TRIM support will help.  I'm content to let everybody else run into
> issues like this for me...  :)

On 0.7.13, I had to omit the root parameter altogether in order for
this to work.  I think its a zfs issue because I use the same dracut
in both cases.  I will also ask on the zfs list and see what they say.


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] cannot upgrade to zfs 0.8.x

2019-07-08 Thread John Covici


On Mon, 08 Jul 2019 04:51:13 -0400,
John Covici wrote:
> 
> On Mon, 08 Jul 2019 03:35:36 -0400,
> Neil Bothwick wrote:
> > 
> > [1  ]
> > On Sun, 07 Jul 2019 23:42:24 -0400, John Covici wrote:
> > 
> > > Hi.  I have discovered that I cannot upgrade to zfs 0.8.x.  The
> > > problem seems to be that there is no sys-kernel/spl-0.8.x at all.  I
> > > have seen on the zfs list that people are upgrading to 0.8, so what is
> > > happening here -- is this somehow another unmaintained package or
> > > someting?
> > 
> > spl is now part of the zfs package and no longer a separate ebuild.
> > Portage should take care of it for you. There was a thread about this
> > when zfs-0.8.0 first hit the tree.
> 
> I have been thinking about it and I think I tried to reemerge the spl
> package as well, so I will try again.

OK, so I successfully did build 0.8.1, but it does not like my root
file system parameter, dracut chokes and puts me in an emergency shell
and I have to mount it manually.  I tried root=rpool and
root=rpool/root which dracut completely said unable to continue and if
I omit the root= altogether like I have done in previous versions, it
says it can't mount the root file system, and throws me into the
emergency shell where I can mount it manually.  I do have rpool/root
designated as rootfs.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] cannot upgrade to zfs 0.8.x

2019-07-08 Thread John Covici
On Mon, 08 Jul 2019 03:35:36 -0400,
Neil Bothwick wrote:
> 
> [1  ]
> On Sun, 07 Jul 2019 23:42:24 -0400, John Covici wrote:
> 
> > Hi.  I have discovered that I cannot upgrade to zfs 0.8.x.  The
> > problem seems to be that there is no sys-kernel/spl-0.8.x at all.  I
> > have seen on the zfs list that people are upgrading to 0.8, so what is
> > happening here -- is this somehow another unmaintained package or
> > someting?
> 
> spl is now part of the zfs package and no longer a separate ebuild.
> Portage should take care of it for you. There was a thread about this
> when zfs-0.8.0 first hit the tree.

I have been thinking about it and I think I tried to reemerge the spl
package as well, so I will try again.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



<    1   2   3   4   5   6   7   >