Re: [gentoo-user] Re: LVM and the /usr Logical Volume

2022-04-06 Thread John Covici
On Wed, 06 Apr 2022 19:38:16 -0400,
dhk wrote:
> 
> So it sounds like /usr being under /dev/dm-1 instead of
> /dev/mapper does not look right.
> 
> The UUID was tried in the fstab and the same results occurred,
> same as with LABEL and mount points.
> 
> Since /usr is mounted temporarily at boot it almost looks as if
> there is something wrong with the way the initramfs is handling
> it. The tmpfs is built into the kernel and the
> /etc/initramfs.mounts looks correct with only /usr in it, but
> /lib/modules was tried also and did not make a difference.
> 
> Could this be a bug with genkernel or udev?

Are you using systemd or openrc?  What are you using for your initrd,
dracut or something else?  I also wonder if dm1 is the same thing as
your /dev/mapper/... by another name -- check where the link points
to.

-- 
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] Brother HL-L6200DW

2022-04-06 Thread tastytea
On 2022-04-06 19:05-0600 the...@sys-concept.com wrote:

> On 4/6/22 16:43, P Levine wrote:
> > On Wed, Apr 6, 2022 at 3:40 PM  > > wrote:
> > 
> > Does anybody have this printer?
> > 
> > Is there a driver in overlay to setup this printer?
> > 
> > Installing those drivers from rpm and cupswrapper is tiring.
> > 
> > I have a different brother printer but I used an ebuild from
> > brother-overlay
> >  as a
> > template. The closest to your printer would likely be
> > brother-hll8350cdw-bin-1.1.2-r1.ebuild
> > .
> > Rename to brother-hl6200dw-bin-1.1.2-r1.ebuild. Change the parts of
> > SRC_URI to match the download URI used to download the driver(s)
> > from the Brother website. Change instances of "hll8350cdw" to
> > "hll6200dw".  
> 
> This is a good idea. I've the files (modified them):
> brother-hl6200dw-bin-1.1.2-r1.ebuild and metadata.xml
> 
> My only question is which directory to put them in? I think:
> /usr/local/portage/(something)

That's described in
. In short:
eselect repository create 



Re: [gentoo-user] Brother HL-L6200DW

2022-04-06 Thread thelma

On 4/6/22 16:43, P Levine wrote:

On Wed, Apr 6, 2022 at 3:40 PM mailto:the...@sys-concept.com>> wrote:

Does anybody have this printer?

Is there a driver in overlay to setup this printer?

Installing those drivers from rpm and cupswrapper is tiring.

I have a different brother printer but I used an ebuild from brother-overlay 
 as a template.
The closest to your printer would likely be brother-hll8350cdw-bin-1.1.2-r1.ebuild 
.
 Rename to brother-hl6200dw-bin-1.1.2-r1.ebuild. Change the parts of SRC_URI to match the download URI 
used to download the driver(s) from the Brother website. Change instances of "hll8350cdw" to 
"hll6200dw".


This is a good idea. I've the files (modified them):  
brother-hl6200dw-bin-1.1.2-r1.ebuild and metadata.xml

My only question is which directory to put them in? I think:
/usr/local/portage/(something)



[gentoo-user] Re: LVM and the /usr Logical Volume

2022-04-06 Thread dhk
So it sounds like /usr being under /dev/dm-1 instead of /dev/mapper does 
not look right.


The UUID was tried in the fstab and the same results occurred, same as 
with LABEL and mount points.


Since /usr is mounted temporarily at boot it almost looks as if there is 
something wrong with the way the initramfs is handling it. The tmpfs is 
built into the kernel and the /etc/initramfs.mounts looks correct with 
only /usr in it, but /lib/modules was tried also and did not make a 
difference.


Could this be a bug with genkernel or udev?

Thanks







Re: [gentoo-user] Backing up KDE config files

2022-04-06 Thread Neil Bothwick
On Wed, 06 Apr 2022 23:23:25 +0200, Peter Böhm wrote:

> (I do backup "only" /etc and /home ... yes, I know, if my SSD breaks I
> have to do a new gentoo installation; but with all settings in /etc no
> problem)

Don't forget /var/lib/portage :)


-- 
Neil Bothwick

ASSISTANT MANAGER: Feminine form of the word manager (q.v.).


pgpvL2m1Xam0T.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Brother HL-L6200DW

2022-04-06 Thread P Levine
On Wed, Apr 6, 2022 at 3:40 PM  wrote:

> Does anybody have this printer?
>
> Is there a driver in overlay to setup this printer?
>
> Installing those drivers from rpm and cupswrapper is tiring.
>
I have a different brother printer but I used an ebuild from brother-overlay
 as a template.
The closest to your printer would likely be
brother-hll8350cdw-bin-1.1.2-r1.ebuild
.
Rename to brother-hl6200dw-bin-1.1.2-r1.ebuild. Change the parts of SRC_URI
to match the download URI used to download the driver(s) from the Brother
website. Change instances of "hll8350cdw" to "hll6200dw".


Re: [gentoo-user] a11y kernel build

2022-04-06 Thread Jack
Ah - a11y sort of like i18n and l10n (at least in how to read it.)   I  
just found a web page calling it a numeronym.


After all your reading, I would still suggest thinking carefully about  
your goal.  The link Peter sent has a good summary of all the "make Xc  
onfig" options, and I agree with him that "make localmodconfig" sounds  
like what you want.  Extra "Y" or "M" in your config might save you  
from recompiling the kernel again later, but it makes your kernel  
larger, and take longer to compile and load, although how much those  
delays bother you is very personal.


Jack

On 2022.04.06 17:16, Jude DaShiell wrote:

#a11y is an accessibility hash tag you may run across on the internet.
That covers assistive technologies like screen readers; refreshable
braille displays, magnifiers, and similar other technologies I've been
fortunate to have never needed to use for work on technology.
The information you provided I think will help my next gentoo install  
go

better in the kernel build phase thanks.


On Wed, 6 Apr 2022, Jack wrote:

> On 2022.04.06 14:51, Jude DaShiell wrote:
> >I'm curious, with a system about to build a kernel does a command  
or
> >command switch exist to tell the kernel build process to build the  
kernel
> >in such a way that all hardware now enabled gets enabled in the  
build of

> >the kernel?
> Which pieces get built into the kernel (or as loadable modules) is  
controlled
> by .config.  To get the new kernel to include all the  
drivers/modules enabled
> in the current kernel, you can "zcat /proc/config.gz > .config" in  
the new
> /usr/src/linux.  (That does assume the running kernel is built with  
the
> parameters to create /proc/config.gz.)  Then run "make oldconfig"  
(or one of
> it's variants) to include new lines to .config.  To see (a subset)  
of those
> modules are actually used by existing hardware, do "lspci -k".  I  
don't know
> of any script to automatically parse that output, although I  
wouldn't be
> surprised if there was one (or more.)  Note hat probably won't  
include modules
> used for usb devices, just the usb hubs.  Currently loaded modules  
can be

> listed with lsmod, but that doesn't include anything built in.
>
> Is a11y a typo, or just something I don't understand?  If you mean  
to say (all
> Y) Y to all kernel config questions, I believe there is a make  
option for the
> kernel which will do that - but I'd have to read the docs for the  
details.
> Also, while that's of use for a distro kernel (where you have no  
idea what
> will be in PCs where it gets used) it will add lots of stuff to the  
kernel

> that you are unlikely to ever use.  What is your actual goal?
>
> Jack
>
>








Re: [gentoo-user] a11y kernel build

2022-04-06 Thread Peter Böhm
Am Mittwoch, 6. April 2022, 20:51:05 CEST schrieb Jude DaShiell:
> I'm curious, with a system about to build a kernel does a command or
> command switch exist to tell the kernel build process to build the kernel
> in such a way that all hardware now enabled gets enabled in the build of
> the kernel?

It seems to me you are searching for "make localmodconfig" (but I could be
wrong).

See more here:
https://www.kernel.org/doc/html/latest/admin-guide/README.html#configuring-the-kernel

Many Greetings,
Peter






Re: [gentoo-user] Backing up KDE config files

2022-04-06 Thread Peter Böhm
Am Mittwoch, 6. April 2022, 22:17:10 CEST schrieb Dale:

> Another interesting tidbit I found about rsync, --dry-run.

Hi hi, ask me when I have learned that ... thanks to "luckybackup" ...

(I do backup "only" /etc and /home ... yes, I know, if my SSD breaks I have to
do a new gentoo installation; but with all settings in /etc no problem)

Many Greetings,
Peter





Re: [gentoo-user] a11y kernel build

2022-04-06 Thread Jude DaShiell
#a11y is an accessibility hash tag you may run across on the internet.
That covers assistive technologies like screen readers; refreshable
braille displays, magnifiers, and similar other technologies I've been
fortunate to have never needed to use for work on technology.
The information you provided I think will help my next gentoo install go
better in the kernel build phase thanks.


On Wed, 6 Apr 2022, Jack wrote:

> On 2022.04.06 14:51, Jude DaShiell wrote:
> >I'm curious, with a system about to build a kernel does a command or
> >command switch exist to tell the kernel build process to build the kernel
> >in such a way that all hardware now enabled gets enabled in the build of
> >the kernel?
> Which pieces get built into the kernel (or as loadable modules) is controlled
> by .config.  To get the new kernel to include all the drivers/modules enabled
> in the current kernel, you can "zcat /proc/config.gz > .config" in the new
> /usr/src/linux.  (That does assume the running kernel is built with the
> parameters to create /proc/config.gz.)  Then run "make oldconfig" (or one of
> it's variants) to include new lines to .config.  To see (a subset) of those
> modules are actually used by existing hardware, do "lspci -k".  I don't know
> of any script to automatically parse that output, although I wouldn't be
> surprised if there was one (or more.)  Note hat probably won't include modules
> used for usb devices, just the usb hubs.  Currently loaded modules can be
> listed with lsmod, but that doesn't include anything built in.
>
> Is a11y a typo, or just something I don't understand?  If you mean to say (all
> Y) Y to all kernel config questions, I believe there is a make option for the
> kernel which will do that - but I'd have to read the docs for the details.
> Also, while that's of use for a distro kernel (where you have no idea what
> will be in PCs where it gets used) it will add lots of stuff to the kernel
> that you are unlikely to ever use.  What is your actual goal?
>
> Jack
>
>



Re: [gentoo-user] Backing up KDE config files

2022-04-06 Thread Dale
Peter Böhm wrote:
> Am Mittwoch, 6. April 2022, 15:10:00 CEST schrieb Dale:
>
>> [...] but couldn't figure out
>> how to get rsync to do that yet.
> I am using app-backup/luckybackup as "frontend" for rsync (because I am using
> KDE/QT).
>
> Many Greetings,
> Peter

Looks interesting but I've already updated my scripts.  If I had known
about that before, that could be a option.  Like the GUI part. 

Another interesting tidbit I found about rsync, --dry-run.  When trying
to figure out --exclude directories, that is a awesome thing to use.  It
just shows what it wants to do but does no copying.  That --exclude
option always gives me grief.  I eventually get it to work but takes
effort.  lol

Dale

:-)  :-) 



Re: [gentoo-user] LVM and the /usr Logical Volume

2022-04-06 Thread Wols Lists

On 06/04/2022 14:12, Dale wrote:

Is it possible that something else has the usr label?  I don't see
anything in the info you provided but maybe it is elsewhere, somewhere.

Another option, try using the UUID instead.  That would eliminate the
above if that is the problem.

Grasping at straws.


Or is /usr mounted by the initramfs, and just as you switch-mount root, 
you might have to switch-mount /usr?


Cheers,
Wol



Re: [gentoo-user] which lenovo or huawei laptop?

2022-04-06 Thread Wols Lists

On 06/04/2022 19:53, n952162 wrote:
I bought a bottom of the line HP laptop and had only problems with 
unsupported chips.  I'd like to buy a lenovo or huawei now. Has anyone 
had bad experiences porting /gentoo/ to either?


If you're prepared to pay decent money (there's no such thing as a 
"bottom of the line" here), try these people


https://junocomputers.com/product-category/laptops/

(I get the impression they're Italian with a UK base, certainly they've 
got a UK address, don't really know.)


I bought the 14" for my wife (weight here was THE massive criterion). 
I've now bought the 15" for me although I've not set it up yet.


All the computers come with Ubuntu. I blew it away, and installed SUSE 
as the host for installing gentoo (though I had problems with systemd 
networking so that got aborted) and Windows which is what my wife uses. 
Having got this system working with gentoo/systemd, I should have more 
success setting up my laptop.


Cheers,
Wol



[gentoo-user] Brother HL-L6200DW

2022-04-06 Thread thelma

Does anybody have this printer?

Is there a driver in overlay to setup this printer?

Installing those drivers from rpm and cupswrapper is tiring.





Re: [gentoo-user] a11y kernel build

2022-04-06 Thread Jack

On 2022.04.06 14:51, Jude DaShiell wrote:

I'm curious, with a system about to build a kernel does a command or
command switch exist to tell the kernel build process to build the  
kernel
in such a way that all hardware now enabled gets enabled in the build  
of

the kernel?
Which pieces get built into the kernel (or as loadable modules) is  
controlled by .config.  To get the new kernel to include all the  
drivers/modules enabled in the current kernel, you can "zcat  
/proc/config.gz > .config" in the new /usr/src/linux.  (That does  
assume the running kernel is built with the parameters to create  
/proc/config.gz.)  Then run "make oldconfig" (or one of it's variants)  
to include new lines to .config.  To see (a subset) of those modules  
are actually used by existing hardware, do "lspci -k".  I don't know of  
any script to automatically parse that output, although I wouldn't be  
surprised if there was one (or more.)  Note hat probably won't include  
modules used for usb devices, just the usb hubs.  Currently loaded  
modules can be listed with lsmod, but that doesn't include anything  
built in.


Is a11y a typo, or just something I don't understand?  If you mean to  
say (all Y) Y to all kernel config questions, I believe there is a make  
option for the kernel which will do that - but I'd have to read the  
docs for the details.  Also, while that's of use for a distro kernel  
(where you have no idea what will be in PCs where it gets used) it will  
add lots of stuff to the kernel that you are unlikely to ever use.   
What is your actual goal?


Jack



[gentoo-user] a11y kernel build

2022-04-06 Thread Jude DaShiell
I'm curious, with a system about to build a kernel does a command or
command switch exist to tell the kernel build process to build the kernel
in such a way that all hardware now enabled gets enabled in the build of
the kernel?



[gentoo-user] which lenovo or huawei laptop?

2022-04-06 Thread n952162

I bought a bottom of the line HP laptop and had only problems with
unsupported chips.  I'd like to buy a lenovo or huawei now. Has anyone
had bad experiences porting /gentoo/ to either?


[gentoo-user] [SOLVED] Re: Google and "fetchmail" + "ssmtp"

2022-04-06 Thread Dr Rainer Woitok
Greetings,

On Friday, 2022-03-18 11:50:33 +0100, I myself wrote:

> Nikos,
> 
> On Thursday, 2022-03-17 19:04:04 +0200, you wrote:
> 
> > ...
> > http://mmogilvi.users.sourceforge.net/software/oauthbearer.html
> > ...
> 
> Really interesting reading.  Thanks for the pointer.  And also thanks to
> the other responders.

Matthew Ogilvie's write-up at the above URL was not only interesting but
also extremely helpful.  It basically covers four points:

1. Background information on OAuth 2.

2. A how-to about setting up one's Google mail account for OAuth 2 and a
   Python script (requiring a small configuration file),  which gets you
   your first two OAuth tokens: an "access token" which has to be passed
   to Google as a password,  but which has only a life time of 60 minut-
   es, and a "refresh token" which is valid until you change your Google
   password or maybe also  until Google decides  enough being enough and
   starts rejecting your refresh requests with  "HTTP Error 400: Bad Re-
   quest" messages  which you'll find at the bottom of the Python trace-
   back from  Matthew's script.   As long as the  refresh token is valid
   you will have to use this script on a rather regular basis to get new
   valid access tokens.

3. Gentoo-ready patches for "net-mail/fetchmail"  up to at least version
   6.4.13 which however will only support IMAP and will not work in dae-
   mon mode, thus requiring a "cron" job for fetching mail.

   Matthew also points out  that Gentoo offers a still masked "net-mail/
   fetchmail" version 7.0.0_alpha9-r1  which supports OAuth 2, POP3, and
   daemon mode.

4. A description how to tweak "mail-mta/postfix" so it supports OAuth 2.
   This involves installing a "cyrus-sasl-xoauth2" plugin  not available
   in the Gentoo repository,  a complex configuration setup  for a full-
   fledged MTA which above all is dynamically changing (at least, if you
   want to handle outgoing mail for more than one user),  special "sudo-
   ers" rules for these mailing users,  and "cron" jobs  to periodically
   send their mail off to their Google accounts.

Following part 2 of this guide I soon had my Google account OAuth-ready.
The Python script from Matthew requires a configuration file the path to
which has to be  explicitly specified  in every call.   My configuration
file resides at "~/.../oauth.cfg" and contains:

client_id=...
client_secret=...
access_token_file=/home/rainer/.../oauth-access-token
refresh_token_file=/home/rainer/.../oauth-refresh-token
max_age_sec=1800

The first two lines  specify the Google project  just created,  the next
two lines define  the absolute paths  to the two token files to be used,
and the last line sets the access token age  before which the token will
not be renewed.  DO NOT try to add empty or comment lines to this file!

Regarding the adaption of "fetchmail"  in part 3  I opted for installing
version 7.0.0_alpha9-r1,  since I was used to  POP3 and daemon mode [1].
Version 7 is still masked,  so to be able  to emerge it  execute (in the
first "echo" command replace "amd64" with YOUR architecture):

   # mkdir -p /etc/portage/package.accept_keywords
   # echo '>=net-mail/fetchmail-7.0.0_alpha9-r1 ~amd64' \
   >> /etc/portage/package.accept_keywords/Oauth
   # mkdir -p /etc/portage/package.unmask
   # echo '>=net-mail/fetchmail-7.0.0_alpha9-r1' \
   >> /etc/portage/package.unmask/OAuth

[1] If you do not like  installing an  alpha-version,  want to use POP3,
but do not insist on daemon mode, I've meanwhile found out that Gen-
too also provides a package "net-mail/mpop"  from the same author as
the MTA I decided to install instead of "mail-mta/postfix".   Howev-
er,  Gentoo-wise this package is almost two years behind  due to the
lack of a Gentoo maintainer, so you might want to install it direct-
ly from

   https://marlam.de/mpop/

Of course the new "fetchmail" version  also introduced new configuration
items.  Here is my new "~/.fetchmailrc" file (the "authenticate" direct-
ive as well as the last three lines are new):

setdaemon 60
setinvisible
set no syslog

poll  pop.gmail.com
protocol  POP3
service   995
authenticate  oauthbearer

username  "rainer.woi...@gmail.com"
dropdelivered
fetchall
no keep
mda   "/usr/bin/procmail -pf %F"
passwordfile  "/home/rainer/.../oauth-access-token"
sslmode   wrapped
sslcertck

Even though I run  "fetchmail" in daemon mode,  it's not running all the
time.  It's started once when I log in, but my backup script which I use
at least once a day will again terminate it  before doing anything else,
so my mailbox will never change  between my last backup  and hibernating
my laptop.

And yes,  I almost never shutdown my laptop,  but rather suspend or hib-
ernate it.  Thus I'll possibly need a fresh access token when I manually
start "fetchmail",  but it's not necessary  to repeatedly  update it via
"cron" while "fetchmail" isn't running at 

Re: [gentoo-user] problem emerging virt-manager 4.0.0

2022-04-06 Thread David M. Fellows
>Hi.  In today's world update, I get the following strange output when
>trying to emerge virt-manager.  I am not even sure what this means.

Small consolation, no great help, but you are not alone.  See
https://bugs.gentoo.org/836645

>From the bug title maybe downgrading dev-python/setuptools would be
a workaround.

DaveF
>
 Configuring source in
 /var/tmp/portage/app-emulation/virt-manager-4.0.0/work/virt-manager-4.0.0
 ...
>python3.9 setup.py configure --default-graphics=spice
>error: Multiple top-level packages discovered in a flat-layout: ['po',
>'ui', 'man', 'data', 'virtinst', 'virtManager'].
>
>To avoid accidental inclusion of unwanted files or directories,
>setuptools will not proceed with this build.
>
>If you are trying to create a single distribution with multiple
>packages
>on purpose, you should not rely on automatic discovery.
>Instead, consider the following options:
>
>1. set up custom discovery (`find` directive with `include` or
>`exclude`)
>2. use a `src-layout`
>3. explicitly set `py_modules` or `packages` with a list of names
>
>To find more information, look for "package discovery" on setuptools
>docs.
> * ERROR: app-emulation/virt-manager-4.0.0::gentoo failed (configure
> phase):
>  *   (no error message)
>
>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] Backing up KDE config files

2022-04-06 Thread Peter Humphrey
On Wednesday, 6 April 2022 02:02:46 -00 Dale wrote:
> Howdy,
> 
> As some know, I've rearranged some hard drives and data recently.  Got
> the data moved into the new places.  Given those changes, I'm also
> having to adjust my backups as well.  Before, I just backed up
> /home/dale and told rsync to exclude a few large directories that needed
> to be stored on other drives.  I reversed for the other drive.  Anyway,
> I'm splitting things up differently now.  What I'm not sure about is KDE
> config files.  I googled and found out some I was pretty sure of
> already.  Examples, .config, .local, and .kde4 but there could be others
> that need to be backed up as well.  Anyone know if that is all of them
> or am I missing some?
> 
> I already have .mozilla backed up locally.  That takes care of my web
> browsers, Seamonkey and Firefox which includes emails. 

This may not be of much use to you now, Dale, but the way I do this dates back 
to the '80s or '90s when I didn't know which distro to settle on. I created a 
~/common directory on its own partition, which could be mounted under my 
home directory in whichever flavour I was running at the time. In that way, all 
the big, general stuff was under ~/common and the specific stuff to me was 
under ~/ .

Thus, KMail, for instance, was set up to work with the right version of KDE. 
There was a minimum of conflict between OSs.

The backups were simplified as a bonus, which is the main reason why I've stuck 
with this arrangement, and /etc/fstab was easily arranged to accommodate what 
I wanted.

As I said, it may be too late for you to think along these lines, but I hope 
someone might be interested. It's certainly saved me an awful lot of errors 
when reinstalling things.

-- 
Regards,
Peter.






Re: [gentoo-user] Backing up KDE config files

2022-04-06 Thread Peter Böhm
Am Mittwoch, 6. April 2022, 15:10:00 CEST schrieb Dale:

> [...] but couldn't figure out
> how to get rsync to do that yet.

I am using app-backup/luckybackup as "frontend" for rsync (because I am using
KDE/QT).

Many Greetings,
Peter






Re: [gentoo-user] LVM and the /usr Logical Volume

2022-04-06 Thread Dale
dhk wrote:
> My new laptop is set up to dual boot and has a clean Gentoo install as
> the second operating system.  It looks like there may be an issue with
> the /usr Logical Volume (LV) somewhere between LVM, initramfs and
> udev.  Only the base system has been installed and updated (no desktop).
>
> The issue is the /usr logical volume is not mounted as expected. 
> After booting without the livecd:
>   * The df -h command show /usr on /dev/dm-1 and not
> /dev/mapper/vg0-usr like the in the fstab.
>   * My expectation is it should follow the other LVs (home, var, opt,
> vm) and be in the vg0 Volume Group on /dev/mapper .
>   * However the mount /usr command indicates that it is mounted
> correctly:  mount: /usr: /dev/mapper/vg0-usr already mounted or mount
> point busy.
>
> Is there something off here or is this correct behavior?
>
> The laptop is a new HP Envy x360, 2-in-1 Flip Laptop, 15.6" Full HD
> Touchscreen, AMD Ryzen 7 5700U Processor, 64GB RAM and 1TB PCIe SSD.
>
> Below is the /etc/fstab and output from lsblk, df -h and the links in
> the volume group after booting to the livecd and booting to the ssd.
>
> Thank you
>
> #
> *
> # /etc/fstab:  This is a dual boot system (Windows 11 & Gentoo), the
> # same results occurred using straight mount points, LABEL and UUID.
> #
> *
> #          
> 
> #/dev/nvme0n1p1 /efi    vfat   
> noauto,noatime    1 2
> #/dev/nvme0n1p2 /
> #/dev/nvme0n1p3 /Win11
> #/dev/nvme0n1p4 /Win11Data
> #/dev/nvme0n1p5 /Win11Recovery
> /dev/nvme0n1p6  /boot   ext2   
> defaults,noatime  0 2
> /dev/nvme0n1p7  none    swap   
> sw    0 0
> /dev/nvme0n1p8  /   ext4   
> defaults,noatime,discard  0 1
> /dev/nvme0n1p9  /lib/modules    ext4   
> defaults,noatime,discard  0 1
> /dev/nvme0n1p10 /tmp    ext4   
> defaults,noatime,discard  0 2
>
> #/dev/mapper/vg0-usr /usr    ext4   
> defaults,noatime,discard  0 0
> #/dev/mapper/vg0-home    /home   ext4   
> defaults,noatime,discard  0 1
> #/dev/mapper/vg0-opt /opt    ext4   
> defaults,noatime,discard  0 1
> #/dev/mapper/vg0-var /var    ext4   
> defaults,noatime,discard  0 1
> #/dev/mapper/vg1-vm  /vm ext4   
> noauto,noatime,discard,user   0 1
>
> #Use blkid /dev/mapper/* to get the LABEL and UUID (quotes cause errors).
> LABEL=usr   /usr    ext4    defaults,noatime,discard  0 0
> LABEL=home  /home   ext4    defaults,noatime,discard  0 1
> LABEL=opt   /opt    ext4    defaults,noatime,discard  0 1
> LABEL=var   /var    ext4    defaults,noatime,discard  0 1
> LABEL=vm    /vm ext4    noauto,noatime,discard,user   0 1
>
> #UUID=d9237094-6589-4e90-989d-17bfe74082a4 /usr    ext4   
> defaults,noatime,discard  0 0
> #UUID=53831f3e-6266-4186-a7e1-90ecd027b981 /home   ext4   
> defaults,noatime,discard  0 1
> #UUID=cbdfcbb5-dff1-4b21-8eca-d1684b621fb2 /opt    ext4   
> defaults,noatime,discard  0 1
> #UUID=d43c8c7a-1a83-42f7-958d-9402e7bcc48f /var    ext4   
> defaults,noatime,discard  0 1
> #UUID=95ea1fcc-df9d-4c0b-bce4-a979f8430728 /vm ext4   
> noauto,noatime,discard,user   0 1
>
> /dev/cdrom  /mnt/cdrom  auto   
> rw,exec,noauto,user   0 0
>
>
> #
> *
> # Booting to the livecd and before chroot, all looks good.
> #
> *
> livecd ~ # lsblk
> NAME MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
> loop0  7:0    0 385.7M  1 loop /mnt/livecd
> sda    8:0    1 2G  0 disk
> └─sda1 8:1    1 2G  0 part /mnt/cdrom
> nvme0n1  259:0    0 931.5G  0 disk
> ├─nvme0n1p1  259:1    0   100M  0 part
> ├─nvme0n1p2  259:2    0    16M  0 part
> ├─nvme0n1p3  259:3    0  52.2G  0 part
> ├─nvme0n1p4  259:4    0  40.2G  0 part
> ├─nvme0n1p5  259:5    0 608.6M  0 part
> ├─nvme0n1p6  259:6    0   2.8G  0 part /mnt/gentoo/boot
> ├─nvme0n1p7  259:7    0   4.7G  0 part [SWAP]
> ├─nvme0n1p8  259:8    0   9.3G  0 part /mnt/gentoo
> ├─nvme0n1p9  259:9    0   3.7G  0 part /mnt/gentoo/lib/modules
> ├─nvme0n1p10 259:10   0   2.8G  0 part /mnt/gentoo/tmp
> ├─nvme0n1p11 259:11   0 186.3G  0 part
> │ ├─vg0-usr  253:1    0    25G  0 lvm  /mnt/gentoo/usr
> │ ├─vg0-var  253:2    0    20G  0 lvm  /mnt/gentoo/var
> │ ├─vg0-home 253:3    0    80G  0 lvm  /mnt/gentoo/home
> │ └─vg0-opt  253:4    0    20G  0 lvm  /mnt/gentoo/opt
> ├─nvme0n1p12 259:12   0 186.3G  0 part
> │ └─vg1-vm   253:0    0   150G  0 lvm  /mnt/gentoo/vm
> ├─nvme0n1p13 259:13   0  93.1G  0 part
> ├─nvme0n1p14 259:14   0  93.1G  0 part
> ├─nvme0n1p15 259:15   0  46.6G  0 part
> 

Re: [gentoo-user] Backing up KDE config files

2022-04-06 Thread Dale
Frank Steinmetzger wrote:
> Am Tue, Apr 05, 2022 at 09:02:46PM -0500 schrieb Dale:
>> Howdy,
>>
>> What I'm not sure about is KDE config files.  I googled and found out some
>> I was pretty sure of already.  Examples, .config, .local, and .kde4 but
>> there could be others that need to be backed up as well.  Anyone know if
>> that is all of them or am I missing some?
> I guess it depends on the applications you use. I think the directories you
> mentioned have all you need. I looked at my laptop, whose user directory
> harkens back to 2016. I still have ~/.kde (without any files) and ~/.kde4,
> but the only files in there that are newer than at least 9 months is
> .kde4/share/config/kdeglobals (modified 1 week ago, I probably changed some
> keyboard shortcuts) and theme files from Breeze inside
> .kde4/share/apps/color-schemes/.
>
> Look for yourself:
>> find ~/.kde ~/.kde4 -mtime -180
> will tell you which files in there are newer than 180 days. Modify
> parameters to your liking.
>


At first, I just wanted to backup . but couldn't figure out
how to get rsync to do that yet.  I'm working on it tho.  There should
be a way.  Still, at least I get back most everything with those.  I
skimmed the list and most programs I use just use the defaults so it can
just be recreated or rarely use that software at all.  I suspect a lot
of them have been moved to .config anyway.

Given the volume of data, I may have to start using tar and friends
before long.  Even split up, my backup drives are getting a bit full
with direct copies.  Someone else mentioned snapshots but I still need
to research that.  I need a month of good health to see if I can catch
up on the things that need doing here.  :/

Thanks.

Dale

:-)  :-) 



[gentoo-user] problem emerging virt-manager 4.0.0

2022-04-06 Thread John Covici
Hi.  In today's world update, I get the following strange output when
trying to emerge virt-manager.  I am not even sure what this means.

>>> Configuring source in
>>> /var/tmp/portage/app-emulation/virt-manager-4.0.0/work/virt-manager-4.0.0
>>> ...
python3.9 setup.py configure --default-graphics=spice
error: Multiple top-level packages discovered in a flat-layout: ['po',
'ui', 'man', 'data', 'virtinst', 'virtManager'].

To avoid accidental inclusion of unwanted files or directories,
setuptools will not proceed with this build.

If you are trying to create a single distribution with multiple
packages
on purpose, you should not rely on automatic discovery.
Instead, consider the following options:

1. set up custom discovery (`find` directive with `include` or
`exclude`)
2. use a `src-layout`
3. explicitly set `py_modules` or `packages` with a list of names

To find more information, look for "package discovery" on setuptools
docs.
 * ERROR: app-emulation/virt-manager-4.0.0::gentoo failed (configure
 phase):
  *   (no error message)

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] Backing up KDE config files

2022-04-06 Thread Frank Steinmetzger
Am Tue, Apr 05, 2022 at 09:02:46PM -0500 schrieb Dale:
> Howdy,
> 
> What I'm not sure about is KDE config files.  I googled and found out some
> I was pretty sure of already.  Examples, .config, .local, and .kde4 but
> there could be others that need to be backed up as well.  Anyone know if
> that is all of them or am I missing some?

I guess it depends on the applications you use. I think the directories you
mentioned have all you need. I looked at my laptop, whose user directory
harkens back to 2016. I still have ~/.kde (without any files) and ~/.kde4,
but the only files in there that are newer than at least 9 months is
.kde4/share/config/kdeglobals (modified 1 week ago, I probably changed some
keyboard shortcuts) and theme files from Breeze inside
.kde4/share/apps/color-schemes/.

Look for yourself:
> find ~/.kde ~/.kde4 -mtime -180
will tell you which files in there are newer than 180 days. Modify
parameters to your liking.

-- 
Grüße | Greetings | Salut | Qapla’
Please do not share anything from, with or about me on any social network.

Please don’t confuse me with facts, my mind is set.


signature.asc
Description: PGP signature