Re: [gentoo-user] genkernel's new configs not used?

2021-12-31 Thread thelma

On 12/31/21 21:43, caveman رَجُلُ الْكَهْفِ 穴居人 wrote:

On Friday, December 31st, 2021 at 6:52 PM, Jack 
 wrote:


 You would still need to run genkernel
again for that new version.


so, no auto-migration for configs?  i thought
configs used to migrate automatically.

basically i'm trying to avoid building some
modules.


When it comes to kernel nothing is fully automatic.

Go though these commands:

cd /usr/src
rm linux

eselect kernel list
eselect kernel set #

or
ln -sfn linux-new_kernel-gentoo linux

cd linux
cp ../linux-old_kernel/.config .
make oldconfig
[just keep hitting enter]
make menuconfig

You are not done yet!

1.) At this point you must copy new kernel to your boot directory.
2.) emerge --ask -vq @module-rebuild rebuild
3.) must run to update grub menu entries eg.:
# grub-mkconfig -o /boot/grub/grub.cfg

4.) What else did I miss? (somebody correct me).



Re: [gentoo-user] Re: configure "net-mail/mailutils" - non-answer / drive by comment

2021-12-31 Thread Grant Taylor

On 12/31/21 4:50 PM, the...@sys-concept.com wrote:
Thanks for the hint.  Yes, it works. I think it is the best solution for 
now.


You're welcome.

A simple .forward works in most cases.  Though it may run into typical 
forwarding problems (SPF, DKIM, etc.).  But you're probably fine with 
what you're doing.



I had some problems deleting mail with "net-mail/mailutils" program.


*nod*



--
Grant. . . .
unix || die



Re: [gentoo-user] Re: configure "net-mail/mailutils" - non-answer / drive by comment

2021-12-31 Thread thelma

On 12/31/21 16:17, Grant Taylor wrote:

On 12/31/21 3:58 PM, the...@sys-concept.com wrote:

How do you configure "~/.forward"?


echo "u...@example.net" > ~/.forward

That will cause most MTAs to forward message for your local user to the 
u...@example.net email address.


Thanks for the hint.  Yes, it works. I think it is the best solution for now.

I had some problems deleting mail with "net-mail/mailutils" program.



Re: [gentoo-user] Re: configure "net-mail/mailutils" - non-answer / drive by comment

2021-12-31 Thread Grant Taylor

On 12/31/21 3:58 PM, the...@sys-concept.com wrote:

How do you configure "~/.forward"?


echo "u...@example.net" > ~/.forward

That will cause most MTAs to forward message for your local user to the 
u...@example.net email address.




--
Grant. . . .
unix || die



[gentoo-user] Re: configure "net-mail/mailutils" - non-answer / drive by comment

2021-12-31 Thread Grant Taylor

I don't have an answer for you, but I do have a drive by comment.

On 12/31/21 3:09 PM, the...@sys-concept.com wrote:
I'm trying to find a solution to read and delete local mail in: 
/var/mail/[user]  as Thunderbird discontinued support for reading local 
mail directory (movemail).


This type of need is why I have ~/.forward files on most systems so that 
email to my local account is forwarded to (one of) my primary email 
accounts that Thunderbird does check.




--
Grant. . . .
unix || die



[gentoo-user] configure "net-mail/mailutils"

2021-12-31 Thread thelma

Just installed:  net-mail/mailutils

typing "mail" (without mail address) should read local /var/mail/[user]
but instead it goes in to a "send" mode.

I'm trying to find a solution to read and delete local mail in: 
/var/mail/[user]  as Thunderbird discontinued support for reading local mail 
directory (movemail).




Re: [gentoo-user] installing virtual machine under gentoo

2021-12-31 Thread John Covici
On Fri, 31 Dec 2021 10:12:05 -0500,
Rich Freeman wrote:
> 
> On Fri, Dec 31, 2021 at 9:40 AM Petric Frank  wrote:
> >
> > Am Freitag, 31. Dezember 2021, 15:31:43 CET schrieb Yixun Lan:
> > > On 07:33 Fri 31 Dec , John Covici wrote:
> > > > Hi.  I am looking for some guidance on installing virtual machines
> > > > under gentoo.  I have a 5.10.82 kernel and I would like to use kvm if
> > > > possible to do this.  I have seen lots of instructions for  installing
> > > > vms using virtualbox but not much else.  I have a gentoo system with
> > > > enough memory to run a vm or two and would like to use it as the host.
> > > >
> > > > I have downloaded xen to take a look at it as well.
> > > >
> > > > I hope this is not too vague, so please bare with me.
> > > >
> > > > Thanks in advance for any suggestions.
> > >
> > > I'd suggest to try qemu kvm + libvirt
> >
> > For a graphical GUI frontend for this you can use 
> > app-emulation/virt-manager.
> 
> ++
> 
> This is just a front-end to libvirt and kvm, so you're building
> entirely on solid technologies, and anything you set up with the GUI
> can be edited or run or otherwise managed from the command line, and
> vice-versa.  It ends up resembling something like VirtualBox or the
> old VMWare Workstation edition, but it is all FOSS and in-kernel so it
> just is more reliable/etc.
> 
> That said, I only use VMs situationally and at this point just about
> everything I'm doing is in containers if it can be linux-based.  Way
> lighter all-around, even if I'm running a full OS in the container.  I
> personally prefer to run my containers with nspawn and virtual
> ethernet, so each container gets its own IP via DHCP.
> 
> Oh, and for kvm if you want to run your guests on your main LAN you'll
> probably need to set up a bridge interface.

Thanks everyone.  I probably will have more questions, I will continue
this thread later.

-- 
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] genkernel's new configs not used?

2021-12-31 Thread Jack

On 12/31/21 11:28, caveman رَجُلُ الْكَهْفِ 穴居人 wrote:

i thought to re-compile my kernel with some new options.  so i did:

sudo genkernel --menuconfig all

new kernel came, and was used normally as one would expect across reboots.
I suspect you omit certain details, such as running grub-mkconfig or 
otherwise updating your grub (or other bootloader) configuration prior 
to the first reboot.

then i periodically update the system by:

sudo emerge -avDuNt --quiet-build=y --keep-going=y @world

problem is:  when the gentoo-source kernel gets updated by emerge, it does not 
use my genkernel's new configs.

questions:
   1. What's going on?
   2. How to fix it?
Unless I'm missing something about what you are doing, simply emerging a 
new gentoo-kernel version does nothing except install the sources, it 
doesn't build the new kernel.  You would still need to run genkernel 
again for that new version.




Re: [gentoo-user] Thunderbird setup local mail disappeared

2021-12-31 Thread thelma

On 12/31/21 10:18, the...@sys-concept.com wrote:

After recent upgrade my "localmail" in Thunderbird disappeared.
This is mail from apache, root etc, it goes to "/var/mail/username"

In the past Thunderbird had a setting to add local mail, but I can not find it 
in new version.


I think in the new version, there is a Thunderbird add-on "LocalFolders"

But, I created manually new folder: local_mail
and simlink mail from /var/mail/thelma to local_mail (in Thunderbird)

When I restart Thunderbird, the local mail appears and I can delete it in 
Thunderbird
But the mail is not being removed from file: /var/mail/thelma even though 
permission is correct:

-rw--- 1 thelma mail 12K Dec 31 02:08 /var/mail/thelma

 



Re: [gentoo-user] installing virtual machine under gentoo

2021-12-31 Thread Grant Taylor

On 12/31/21 8:12 AM, Rich Freeman wrote:

++


+++ to KVM / libvirt / VirtManager (GUI)

This is just a front-end to libvirt and kvm, so you're building 
entirely on solid technologies, and anything you set up with the 
GUI can be edited or run or otherwise managed from the command line, 
and vice-versa.


Close, but not quite.

Yes, anything that can be done in the GUI can be done at the CLI / 
config files.


Though I have had some more essoteric things that had to be done at the 
CLI / config files that couldn't be done in the GUI.  This usually has 
to do with more advanced things like iSCSI, Fibre Channel, ZFS pools / 
dataset per guest, etc.


The vast majority of the things that someone starting with KVM will want 
to do can be done with the Virtual Machine Manager GUI.


It ends up resembling something like VirtualBox or the old VMWare 
Workstation edition, but it is all FOSS and in-kernel so it just is 
more reliable/etc.


Yep.  There are only so many ways that you can present a concept; 
inventory of VMs, VM console, VM management.  They start to look similar 
after a while.


That said, I only use VMs situationally and at this point just 
about everything I'm doing is in containers if it can be linux-based. 
Way lighter all-around, even if I'm running a full OS in the container. 
I personally prefer to run my containers with nspawn and virtual 
ethernet, so each container gets its own IP via DHCP.


The Virtual Machine Manager GUI can also administer / manage some 
aspects of containers.


I would highly suggest giving Virtual Machine Manager GUI for 
KVM+libvert+qemu a try.  It is probably the quintessential Linux 
virtualization method.


Oh, and for kvm if you want to run your guests on your main LAN you'll 
probably need to set up a bridge interface.


Yes, bridging is very nice and is my preferred way for most VM use 
cases.  Though it might be a bit more than someone wants to tackle while 
getting their feet wet with virtualization.  Especially if you're trying 
to share a single NIC for other aspects of the hosting system.  It can 
all be done, but there is a lot of minutia (methods and configurations 
therein) that are easy to get lost in.  I'd probably recommend a second 
NIC, even if it's an inexpensive USB NIC just for the virtualization. 
Doing that will avoid complexities that don't need to be dealt with 
/now/.  --  Reduce the number of variables that you're working with at 
one time.




--
Grant. . . .
unix || die



[gentoo-user] Thunderbird setup local mail disappeared

2021-12-31 Thread thelma

After recent upgrade my "localmail" in Thunderbird disappeared.
This is mail from apache, root etc, it goes to "/var/mail/username"

In the past Thunderbird had a setting to add local mail, but I can not find it 
in new version.

--
Thelma



Re: [gentoo-user] installing virtual machine under gentoo

2021-12-31 Thread Rich Freeman
On Fri, Dec 31, 2021 at 9:40 AM Petric Frank  wrote:
>
> Am Freitag, 31. Dezember 2021, 15:31:43 CET schrieb Yixun Lan:
> > On 07:33 Fri 31 Dec , John Covici wrote:
> > > Hi.  I am looking for some guidance on installing virtual machines
> > > under gentoo.  I have a 5.10.82 kernel and I would like to use kvm if
> > > possible to do this.  I have seen lots of instructions for  installing
> > > vms using virtualbox but not much else.  I have a gentoo system with
> > > enough memory to run a vm or two and would like to use it as the host.
> > >
> > > I have downloaded xen to take a look at it as well.
> > >
> > > I hope this is not too vague, so please bare with me.
> > >
> > > Thanks in advance for any suggestions.
> >
> > I'd suggest to try qemu kvm + libvirt
>
> For a graphical GUI frontend for this you can use app-emulation/virt-manager.

++

This is just a front-end to libvirt and kvm, so you're building
entirely on solid technologies, and anything you set up with the GUI
can be edited or run or otherwise managed from the command line, and
vice-versa.  It ends up resembling something like VirtualBox or the
old VMWare Workstation edition, but it is all FOSS and in-kernel so it
just is more reliable/etc.

That said, I only use VMs situationally and at this point just about
everything I'm doing is in containers if it can be linux-based.  Way
lighter all-around, even if I'm running a full OS in the container.  I
personally prefer to run my containers with nspawn and virtual
ethernet, so each container gets its own IP via DHCP.

Oh, and for kvm if you want to run your guests on your main LAN you'll
probably need to set up a bridge interface.

-- 
Rich



Re: [gentoo-user] installing virtual machine under gentoo

2021-12-31 Thread Petric Frank
Am Freitag, 31. Dezember 2021, 15:31:43 CET schrieb Yixun Lan:
> On 07:33 Fri 31 Dec , John Covici wrote:
> > Hi.  I am looking for some guidance on installing virtual machines
> > under gentoo.  I have a 5.10.82 kernel and I would like to use kvm if
> > possible to do this.  I have seen lots of instructions for  installing
> > vms using virtualbox but not much else.  I have a gentoo system with
> > enough memory to run a vm or two and would like to use it as the host.
> >
> > I have downloaded xen to take a look at it as well.
> >
> > I hope this is not too vague, so please bare with me.
> >
> > Thanks in advance for any suggestions.
>
> I'd suggest to try qemu kvm + libvirt

For a graphical GUI frontend for this you can use app-emulation/virt-manager.

regards






Re: [gentoo-user] installing virtual machine under gentoo

2021-12-31 Thread Yixun Lan
On 07:33 Fri 31 Dec , John Covici wrote:
> Hi.  I am looking for some guidance on installing virtual machines
> under gentoo.  I have a 5.10.82 kernel and I would like to use kvm if
> possible to do this.  I have seen lots of instructions for  installing
> vms using virtualbox but not much else.  I have a gentoo system with
> enough memory to run a vm or two and would like to use it as the host.
> 
> I have downloaded xen to take a look at it as well.
> 
> I hope this is not too vague, so please bare with me.
> 
> Thanks in advance for any suggestions.

I'd suggest to try qemu kvm + libvirt
-- 
Yixun Lan (dlan)
Gentoo Linux Developer
GPG Key ID AABEFD55



[gentoo-user] installing virtual machine under gentoo

2021-12-31 Thread John Covici
Hi.  I am looking for some guidance on installing virtual machines
under gentoo.  I have a 5.10.82 kernel and I would like to use kvm if
possible to do this.  I have seen lots of instructions for  installing
vms using virtualbox but not much else.  I have a gentoo system with
enough memory to run a vm or two and would like to use it as the host.

I have downloaded xen to take a look at it as well.

I hope this is not too vague, so please bare with me.

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