Re: [gentoo-user] NAS and replacing with larger drives

2022-12-16 Thread Dale
Frank Steinmetzger wrote:
> Am Fri, Dec 16, 2022 at 09:50:01PM -0600 schrieb Dale:
>
>>> My point is: there is no need for a monitor. ;-)
>>>
>> I noticing that now.  Once the install is done and you have the IP
>> address, heck, you don't need a monitor for much of anything it
>> appears.  I even found a console so one can type in things to do.  I
>> wonder, could one install the LVM stuff and use that?  That would be
>> interesting.
>>
>> I wonder if there is a NAS software that uses LVM instead.  Interesting
>> thought.  I just may go bug google on that one.  o_O
> Interestingly, after feeding LVM NAS to my search engine, one of the first
> results was a Qnap user forum thread which reads that Qnaps use LVM. It
> makes sense, since they most likely use a “normal” linux software RAID
> underneath, and LVM is then the best way to dynamically manage the space on
> top of that.
>
> While ZFS has the same pooling feature as LVM, meaning you can bunch several
> disks together to create a JBOD, it has one big disadvantage over LVM: you
> can grow a pool, but not shrink it. Actually, while reading up on stuff for
> this thread, I learned that these days it is actually possible to remove a
> mirror vdev from a mirror-only pool (a mirror can technically also be a
> single device). But according to
> https://utcc.utoronto.ca/~cks/space/blog/solaris/ZFSWhyNoVdevRemoval
> it’s not perfect either.
>


With LVM, I usually either move data to a larger drive or just add a
additional drive.  I think I shrunk once, I think.  Still, one always
wants to have options.

One thing about LVM, I already know how to use it.  I've got notes on
how to do things and it has worked.  With ZFS I'd have to learn it all
over again plus it could confuse me with my using LVM on my main rig. 
In a way, if I build a Raspberry NAS, I'd like to have Linux and LVM on
the thing.  At least then I have experience moving data and such.  Right
now, I don't even have the basics of ZFS or BSD.  I'm not saying TrueNAS
is bad or anything, just that I don't really care for the learning
curve.  Then the confusion part on top of that. 

I've read there are distros built for Raspberry thingys.  I'd be shocked
if it isn't doable.  I'd be shocked if someone hasn't already done it
even.   

Time will tell I guess.

Dale

:-)  :-) 



[gentoo-user] X2go - connect to XFCE desktop - grey screen

2022-12-16 Thread thelma

I recently upgraded remote computer and whey trying to connect via X2go with 
XFCE session produces just grey screen and it is hard to terminate the session.

When I select "Connect to local Desktop" (remote computer is running XFCE) the 
connection works.

The remote and local computer running same version of x2go:
net-misc/x2goclient-4.1.2.2-r1
net-misc/x2goserver-4.1.0.3-r1

--
Thelma



Re: [gentoo-user] NAS and replacing with larger drives

2022-12-16 Thread Frank Steinmetzger
Am Fri, Dec 16, 2022 at 09:50:01PM -0600 schrieb Dale:

> > My point is: there is no need for a monitor. ;-)
> >
> 
> I noticing that now.  Once the install is done and you have the IP
> address, heck, you don't need a monitor for much of anything it
> appears.  I even found a console so one can type in things to do.  I
> wonder, could one install the LVM stuff and use that?  That would be
> interesting.
>
> I wonder if there is a NAS software that uses LVM instead.  Interesting
> thought.  I just may go bug google on that one.  o_O

Interestingly, after feeding LVM NAS to my search engine, one of the first
results was a Qnap user forum thread which reads that Qnaps use LVM. It
makes sense, since they most likely use a “normal” linux software RAID
underneath, and LVM is then the best way to dynamically manage the space on
top of that.

While ZFS has the same pooling feature as LVM, meaning you can bunch several
disks together to create a JBOD, it has one big disadvantage over LVM: you
can grow a pool, but not shrink it. Actually, while reading up on stuff for
this thread, I learned that these days it is actually possible to remove a
mirror vdev from a mirror-only pool (a mirror can technically also be a
single device). But according to
https://utcc.utoronto.ca/~cks/space/blog/solaris/ZFSWhyNoVdevRemoval
it’s not perfect either.

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

5 of 4 people have problems with subsets.


signature.asc
Description: PGP signature


Re: [gentoo-user] NAS and replacing with larger drives

2022-12-16 Thread Dale
Frank Steinmetzger wrote:
> Am Fri, Dec 16, 2022 at 04:43:25PM -0600 schrieb Dale:
>
>>> 4) While I cannot tell you if the card you ordered has a Linux or FreeBSD
>>> driver, I can point out that on the left hand side of your TrueNAS 
>>> dashboard, accessible in your browser hopefully, there is a pulldown
>>> called 'Network'. It should hopefully show you the current network
>>> interface which in my case is called 're0'. On the right you might,
>>> hopefully
>>> possibly see a big blue button called "ADD". Consider giving that button 
>>> a push after you've installed your new card.
>> 4:  I have a monitor hooked up still so I can do it the text way if
>> needed.  It mentions about setting up the network as one of the
>> options.
>>
>> Since you mentioned it has a GUI option, I may just do that. 
>> So long as it works. 
> That’s what I referred to earlier: you get a web interface built-in that
> takes care of all the chores. I always wanted to set up shares on my NAS so
> that guests could easily access it anonymously, but safely (meaning: no
> write access). I never had the patience to go through the whole setup of ftp
> and/or samba with the proper users and directories. But a web UI could take
> care of all of that. Plus it’s shiny. :D
>
> My point is: there is no need for a monitor. ;-)
>

I noticing that now.  Once the install is done and you have the IP
address, heck, you don't need a monitor for much of anything it
appears.  I even found a console so one can type in things to do.  I
wonder, could one install the LVM stuff and use that?  That would be
interesting.  I wonder if there is a NAS software that uses LVM
instead.  Interesting thought.  I just may go bug google on that one.  o_O

The network card is getting closer.  May be here tomorrow.  Maybe.  One
can never really tell about these things. 

Dale

:-)  :-) 



Re: [gentoo-user] Gaming on gentoo

2022-12-16 Thread Alan Ianson
On Fri, 16 Dec 2022 20:20:01 -0500
David Rosenbaum  wrote:

> Thank u

No problem.. :)

I have the same results without pulseaudio. Both quakespasm and darkplaces 
segfault on startup but ironwail runs ok.

I'm going to mess around here for a day or two without pulseaudio then put it 
back and put gdb to work and see if I can get a better idea of what the problem 
is. The solution will probably be easy if I can figure out what the issue is.



Re: [gentoo-user] Gaming on gentoo

2022-12-16 Thread David Rosenbaum
Thank u

Dave

On Fri, Dec 16, 2022, 8:18 PM Alan Ianson  wrote:

> On Thu, 15 Dec 2022 19:06:07 +
> Laurence Perkins  wrote:
>
> > Note that some programs will dynamically load libraries at runtime, in
> addition to being linked against them at build time.  These don’t
> necessarily show up in ldd. (Qt is horrible about this) Enabling core dumps
> or running under a debugger might shed some light on what’s going on.  If
> that doesn’t work easily then check the project documentation to see if
> they have a special debugging workflow.  Some game engines require a very
> specific debugging setup for the output to make any sense.
>
> One thing I notice that is different about Artur's setup and mine is that
> pulseaudio doesn't show up in his ldd output.
>
> I am just configuring a desktop without pulseaudio and see if that works
> any better. I think pulseaudio is worthwhile but I'll try without it and
> see how it goes.
>
>


Re: [gentoo-user] Gaming on gentoo

2022-12-16 Thread Alan Ianson
On Thu, 15 Dec 2022 19:06:07 +
Laurence Perkins  wrote:

> Note that some programs will dynamically load libraries at runtime, in 
> addition to being linked against them at build time.  These don’t necessarily 
> show up in ldd. (Qt is horrible about this) Enabling core dumps or running 
> under a debugger might shed some light on what’s going on.  If that doesn’t 
> work easily then check the project documentation to see if they have a 
> special debugging workflow.  Some game engines require a very specific 
> debugging setup for the output to make any sense.

One thing I notice that is different about Artur's setup and mine is that 
pulseaudio doesn't show up in his ldd output.

I am just configuring a desktop without pulseaudio and see if that works any 
better. I think pulseaudio is worthwhile but I'll try without it and see how it 
goes.



Re: [gentoo-user] NAS and replacing with larger drives

2022-12-16 Thread Frank Steinmetzger
Am Fri, Dec 16, 2022 at 04:43:25PM -0600 schrieb Dale:

> > 4) While I cannot tell you if the card you ordered has a Linux or FreeBSD
> > driver, I can point out that on the left hand side of your TrueNAS 
> > dashboard, accessible in your browser hopefully, there is a pulldown
> > called 'Network'. It should hopefully show you the current network
> > interface which in my case is called 're0'. On the right you might,
> > hopefully
> > possibly see a big blue button called "ADD". Consider giving that button 
> > a push after you've installed your new card.

> 4:  I have a monitor hooked up still so I can do it the text way if
> needed.  It mentions about setting up the network as one of the
> options.
>
> Since you mentioned it has a GUI option, I may just do that. 
> So long as it works. 

That’s what I referred to earlier: you get a web interface built-in that
takes care of all the chores. I always wanted to set up shares on my NAS so
that guests could easily access it anonymously, but safely (meaning: no
write access). I never had the patience to go through the whole setup of ftp
and/or samba with the proper users and directories. But a web UI could take
care of all of that. Plus it’s shiny. :D

My point is: there is no need for a monitor. ;-)

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

LCARS - Linux Can Also Run Starships


signature.asc
Description: PGP signature


Re: [gentoo-user] Major problems with libpcre / UTF8

2022-12-16 Thread Walter Dnes
On Sat, Dec 17, 2022 at 09:04:35AM +1100, Paul Colquhoun wrote
> 
> Are you missing a hyphen in "C.UTF8"?

  Yes.  I fixed that and ran locale-gen then re-booted; no difference.
I'll dig a bit deeper.

-- 
I've seen things, you people wouldn't believe; Gopher, Netscape with
frames, the first Browser Wars.  Searching for pages with AltaVista,
pop-up windows self-replicating, trying to uninstall RealPlayer.  All
those moments, will be lost in time like tears in rain... time to die.



Re: [gentoo-user] NAS and replacing with larger drives

2022-12-16 Thread Dale
Mark Knecht wrote:
>
>
> On Thu, Dec 15, 2022 at 9:08 PM Dale  > wrote:
> 
> > 2:  Hardware change.  The Dell comes with a 100MB network card.  I
> > ordered a 1GB card.  I plan to put it in when it gets here.  Will it see
> > the new card and work automatically or will it take some work to get the
> > network going?  On my Gentoo rig, I have to enable drivers in the kernel
> > and recompile.  I'm not sure about BSD tho.  Since it is sort of a
> > binary thing, does TrueNAS handle hardware changes such as a network
> > card well?
> 
>
> At the risk of repeating a bit of what Frank said I'll put in my 2
> cents as a
> TrueNAS user. No intention to be snarky on my side, just pointing
> a few things out.
>
> 1) Welcome to the world of "not Gentoo". What I think you are describing
> as a 'binary thing' is, for the most part, the way we work out here.
>
> 2) I disagree with your description of how "it's done" in Gentoo Land. You
> made a choice to put your network driver in the kernel. You could have
> built it as a module and loaded that module. Both would have worked.
>
> 3) Out here in Not Gentoo Land (NGL) they supply you with 100's of
> modules and generally installers figure out which ones to load. My main 
> NGL machine has literally over 100 modules loaded. I don't know what 
> they do (for the most part) and mostly I don't care.
>
> 4) While I cannot tell you if the card you ordered has a Linux or FreeBSD
> driver, I can point out that on the left hand side of your TrueNAS 
> dashboard, accessible in your browser hopefully, there is a pulldown
> called 'Network'. It should hopefully show you the current network
> interface which in my case is called 're0'. On the right you might,
> hopefully
> possibly see a big blue button called "ADD". Consider giving that button 
> a push after you've installed your new card.
>
>    I believe you will get this figured out very soon. Continue exploring
> the NGL world. 
>
> Mark


1:  The binary thing is a distro or package that I don't compile
myself.  So, yea, not Gentoo. 

2:  True for some I guess.  The only module I have is my video drivers. 
I build everything else I need into the kernel.  It's how I learned to
do it ages ago and so far, it works really well.  BSD tho may do that a
different way.  I played with BSD once years ago.  I been doing the
Gentoo way for a LOT longer.  Last binary distro I used was Mandrake and
it changed names a long time ago I think. 

3:  That's what I'm hoping for but with no recent BSD experience and not
able to find info with google, I hoped someone who used TrueNAS or BSD
would know how its done.  A couple people did.  ;-) 

4:  I have a monitor hooked up still so I can do it the text way if
needed.  It mentions about setting up the network as one of the
options.  Since you mentioned it has a GUI option, I may just do that. 
So long as it works. 

Thanks for the info.  It helped. 

Dale

:-)  :-) 


Re: [gentoo-user] NAS and replacing with larger drives

2022-12-16 Thread Dale
Frank Steinmetzger wrote:
> Am Thu, Dec 15, 2022 at 10:08:02PM -0600 schrieb Dale:
>
>> I have a couple questions.  I currently have the NAS thingy on a older
>> Dell machine.  It has a 4 core CPU and 8GBs of ram so it is acceptable,
>> for the time being at least.  Bad thing is, only two drive bays.  :/  I
>> have a few questions that I can't quite find answers to with google. 
>>
>> 1:  I have the OS on a USB stick.  From what I've read, they do fail due
>> to wear at some point.
> OTOH, TrueNAS is designed to run from it, so I would assume it handles its
> root drive with care. Perhaps you can disable verbose logging and such.

I've just read that changes were made a while back and they recommend
not using a USB stick anymore.  It works but they tend to not last as
long as they once did.  There could be any number of variables in that
tho. 

>
>> If I reinstall TrueNAS on a new USB stick, will it automatically see the
>> previous pools and such or do I have to set everything up again fresh?
> Pools and their metadata are stored inside the pools. In Linux, you don’t
> even need to set up fstab. The pool stores its mount point internally. So
> you just start the zfs daemon and it does everything magically.
>
>> In other words, will I lose data?
> You won’t lose data, of course. But I think you meant settings(?). Probably
> about users, shares and such. Perhaps it has an export feature which can be
> run periodically.
>
>> This also includes if it is encrypted.
> Encryption is a built-in ZFS feature. So yes, it will remember that. Not
> sure about the decryption process (keyfile).

That's what I was expecting.  I may test that theory just so I don't run
into any surprises.  I kinda figure it works a lot like LVM does. 
Different but details stored on the drive itself.  Basically, works
wherever you put it. 


>
>> 2:  Hardware change.  The Dell comes with a 100MB network card.  I
>> ordered a 1GB card.  I plan to put it in when it gets here.  Will it see
>> the new card and work automatically or will it take some work to get the
>> network going?
> I assume the kernel is built like many general-purpose-distros: with
> everything in it you may need for the purpose. But since it is BSD, it may
> have driver issues (availability and stability for certain cards).
> Sometimes, when I read news about a new product, people complain that the
> NIC is not Intel and will thus cause problems with BSD, especially with
> niche stuff like the Killer-brand ethernet cards.
>
>> and recompile.  I'm not sure about BSD tho.  Since it is sort of a
>> binary thing, does TrueNAS handle hardware changes such as a network
>> card well? 
> I don’t see a connection between being a “binary thing” and hardware change.
> Your gentoo is also a binary thing once it is compiled. ;-)

My thinking was, I didn't compile any of the software myself.  Sort of
like if I install a binary based distro.  It may have a feature or
driver turned on, it may not. Maybe you are right, it will at least have
the driver it needs built as a module and it will load it and work
fine.  I have the same card in my Gentoo box so it is Linux compatible
so in theory, should work in BSD as well.  I'd think.  ;-)  First thing,
it has to get here.  It's already two days later than originally claimed. 

>> I also found out something power wise.  The Dell when booted and sitting
>> idle consumes about 120 watts monitor and all.
> I figured as much when you mentioned its 100 Mbps card. It must be old then,
> and back then, idle power was a non-issue.
>
>> My main rig consumes just under 200 watts.  Not to bad
> That’s a very lot for my taste. With a lower mid-range GPU (110 W Radeon R7
> 370) and one spinning rust, my 8-year-old PC used to idle at 50 W. Without
> the HDD and with Intel graphics it is now at 27 W. Still not a good number
> when compared with today’s hardware.

My Gentoo rig is a little old too.  AMD 8 core CPU, 32GBs of memory,
LOTS of hard drives.  I think there is eight in there right now.  A
couple may be older but most are newer. 


>> but a Raspberry Pi would likely consume 15, 20 watts max according to what
>> I've read.
> My 3B idles at 5 W tops, I think. It cannot be much more under load since it
> comes without a built-in heat spreader.
>
>> Given the number of hard drives, it could pull 25 or 30 watts max but
>> doubtful it would get that high.  I'm looking at 4 bays but also found a 6
>> bay.  I think 6 is overkill tho. 
> My four-bay NAS has four 6 TB drives and it draws around 50 W at idle. But
> that’s because it is a server board, incuding IPMI chip (and—interestingly—
> an internal USB-A for an OS stick). And it’s Haswell generation, so almost a
> decade old design. For this reason I switch it on only every few weeks or
> even months and only keep it running for a short time.
>

>From what I've read, the Raspberry Pi pretty much all sip on power. 
They really efficient.  It's nice to know that even tho the one you
mention is more powerful,

Re: [gentoo-user] Major problems with libpcre / UTF8

2022-12-16 Thread Paul Colquhoun
On Saturday, December 17, 2022 6:05:08 A.M. AEDT Walter Dnes wrote:
> On Fri, Dec 16, 2022 at 06:46:30PM +, Michael wrote
> 
> > Have you sorted out your locale to include UTF-8?
> > 
> > Check this page:
> > 
> > https://wiki.gentoo.org/wiki/Localization/Guide
> 
>   My /etc/locale.gen has been...
> 
> en_US ISO-8859-1
> en_US.UTF-8 UTF-8
> C.UTF8 UTF-8
> 
> ...for a long time.

Are you missing a hyphen in "C.UTF8"?

-- 
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
  Asking for technical help in newsgroups?  Read this first:
 http://catb.org/~esr/faqs/smart-questions.html#intro



Re: [gentoo-user] NAS and replacing with larger drives

2022-12-16 Thread Mark Knecht
On Thu, Dec 15, 2022 at 9:08 PM Dale  wrote:

> 2:  Hardware change.  The Dell comes with a 100MB network card.  I
> ordered a 1GB card.  I plan to put it in when it gets here.  Will it see
> the new card and work automatically or will it take some work to get the
> network going?  On my Gentoo rig, I have to enable drivers in the kernel
> and recompile.  I'm not sure about BSD tho.  Since it is sort of a
> binary thing, does TrueNAS handle hardware changes such as a network
> card well?


At the risk of repeating a bit of what Frank said I'll put in my 2 cents as
a
TrueNAS user. No intention to be snarky on my side, just pointing
a few things out.

1) Welcome to the world of "not Gentoo". What I think you are describing
as a 'binary thing' is, for the most part, the way we work out here.

2) I disagree with your description of how "it's done" in Gentoo Land. You
made a choice to put your network driver in the kernel. You could have
built it as a module and loaded that module. Both would have worked.

3) Out here in Not Gentoo Land (NGL) they supply you with 100's of
modules and generally installers figure out which ones to load. My main
NGL machine has literally over 100 modules loaded. I don't know what
they do (for the most part) and mostly I don't care.

4) While I cannot tell you if the card you ordered has a Linux or FreeBSD
driver, I can point out that on the left hand side of your TrueNAS
dashboard, accessible in your browser hopefully, there is a pulldown
called 'Network'. It should hopefully show you the current network
interface which in my case is called 're0'. On the right you might,
hopefully
possibly see a big blue button called "ADD". Consider giving that button
a push after you've installed your new card.

   I believe you will get this figured out very soon. Continue exploring
the NGL world.

Mark


Re: [gentoo-user] Major problems with libpcre / UTF8

2022-12-16 Thread Walter Dnes
On Fri, Dec 16, 2022 at 06:46:30PM +, Michael wrote
> 
> Have you sorted out your locale to include UTF-8?
> 
> Check this page:
> 
> https://wiki.gentoo.org/wiki/Localization/Guide

  My /etc/locale.gen has been...

en_US ISO-8859-1
en_US.UTF-8 UTF-8
C.UTF8 UTF-8

...for a long time.

-- 
I've seen things, you people wouldn't believe; Gopher, Netscape with
frames, the first Browser Wars.  Searching for pages with AltaVista,
pop-up windows self-replicating, trying to uninstall RealPlayer.  All
those moments, will be lost in time like tears in rain... time to die.



Re: [gentoo-user] Docker installation issues

2022-12-16 Thread David Rosenbaum
Thank u

Dave

On Sat, Dec 10, 2022, 3:51 PM Mansour Al Akeel 
wrote:

> Andreas,
>
> Thank you very much. In fact I didn't go that deep yet, and not sure if I
> should. I just found that the url is not accessible even from a browser.
> Googling a bit, tells me there is no clear URL for docker-registry and
> possibly this one is outdated. I will continue looking around to confirm
> what the current default repo should be. If you have any suggestions,
> please let me know.
>
>
>  localhost in ~
> ○ → curl -k -v https://registry-1.docker.io/v2/
> *   Trying 34.228.211.243:443...
>
> * connect to 34.228.211.243 port 443 failed: Connection timed out
> * Failed to connect to registry-1.docker.io port 443 after 129401 ms:
> Couldn't connect to server
> * Closing connection 0
> curl: (28) Failed to connect to registry-1.docker.io port 443 after
> 129401 ms: Couldn't connect to server
>
>
>
>
>
> On Sat, Dec 10, 2022 at 1:32 PM Andreas Fink  wrote:
>
>> On Sat, 10 Dec 2022 12:30:40 -0500
>> Mansour Al Akeel  wrote:
>>
>> > I am using Openrc
>> >
>> > This was my initial /etc/conf.d/docker
>> > DOCKER_OPTS="--storage-driver overlay2 --data-root /srv/var/lib/docker"
>> >
>> > when I try:
>> >
>> > $ docker pull hello-world
>> >
>> > Error response from daemon: Get "https://registry-1.docker.io/v2/":
>> > net/http: request canceled while waiting for connection (Client.Timeout
>> > exceeded while awaiting headers)
>> >
>> > Trying to troubleshoot:
>> >
>> > localhost /home/mansour # tail -n 20 /var/log/docker.log
>> > time="2022-12-10T12:17:03.473550705-05:00" level=info msg="scheme
>> \"unix\"
>> > not registered, fallback to default scheme" module=grpc
>> > time="2022-12-10T12:17:03.473566413-05:00" level=info
>> > msg="ccResolverWrapper: sending update to cc:
>> > {[{unix:///run/containerd/containerd.sock   0 }]  }"
>> > module=grpc
>> > time="2022-12-10T12:17:03.473573787-05:00" level=info msg="ClientConn
>> > switching balancer to \"pick_first\"" module=grpc
>> > time="2022-12-10T12:17:03.474530993-05:00" level=info msg="parsed
>> scheme:
>> > \"unix\"" module=grpc
>> > time="2022-12-10T12:17:03.474545549-05:00" level=info msg="scheme
>> \"unix\"
>> > not registered, fallback to default scheme" module=grpc
>> > time="2022-12-10T12:17:03.474563752-05:00" level=info
>> > msg="ccResolverWrapper: sending update to cc:
>> > {[{unix:///run/containerd/containerd.sock   0 }]  }"
>> > module=grpc
>> > time="2022-12-10T12:17:03.474571186-05:00" level=info msg="ClientConn
>> > switching balancer to \"pick_first\"" module=grpc
>> > time="2022-12-10T12:17:03.478908716-05:00" level=warning msg="Your
>> kernel
>> > does not support cgroup blkio weight"
>> > time="2022-12-10T12:17:03.478927115-05:00" level=warning msg="Your
>> kernel
>> > does not support cgroup blkio weight_device"
>> > time="2022-12-10T12:17:03.479037897-05:00" level=info msg="Loading
>> > containers: start."
>> > time="2022-12-10T12:17:03.495743563-05:00" level=info msg="failed to
>> read
>> > ipv6 net.ipv6.conf..accept_ra" bridge=docker0
>> > syspath=/proc/sys/net/ipv6/conf/docker0/accept_ra
>> > time="2022-12-10T12:17:03.518761943-05:00" level=info msg="Default
>> bridge
>> > (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option
>> --bip
>> > can be used to set a preferred IP address"
>> > time="2022-12-10T12:17:03.518886881-05:00" level=info msg="failed to
>> read
>> > ipv6 net.ipv6.conf..accept_ra" bridge=docker0
>> > syspath=/proc/sys/net/ipv6/conf/docker0/accept_ra
>> > time="2022-12-10T12:17:03.534616741-05:00" level=info msg="Loading
>> > containers: done."
>> > time="2022-12-10T12:17:03.541080189-05:00" level=info msg="Docker
>> daemon"
>> > commit=a89b84221c graphdriver(s)=overlay2 version=20.10.17
>> > time="2022-12-10T12:17:03.541122352-05:00" level=info msg="Daemon has
>> > completed initialization"
>> > time="2022-12-10T12:17:03.549888103-05:00" level=info msg="API listen on
>> > /var/run/docker.sock"
>> > time="2022-12-10T12:17:27.025622231-05:00" level=warning msg="Error
>> getting
>> > v2 registry: Get \"https://registry-1.docker.io/v2/\": net/http:
>> request
>> > canceled while waiting for connection (Client.Timeout exceeded while
>> > awaiting headers)"
>> > time="2022-12-10T12:17:27.025667054-05:00" level=info msg="Attempting
>> next
>> > endpoint for pull after error: Get \"https://registry-1.docker.io/v2/\
>> ":
>> > net/http: request canceled while waiting for connection (Client.Timeout
>> > exceeded while awaiting headers)"
>> > time="2022-12-10T12:17:27.026851821-05:00" level=error msg="Handler for
>> > POST /v1.41/images/create returned error: Get \"
>> > https://registry-1.docker.io/v2/\": net/http: request canceled while
>> > waiting for connection (Client.Timeout exceeded while awaiting headers)"
>> >
>> > time="2022-12-10T12:15:42.036053086-05:00" level=info msg="loading
>> plugin
>> > \"io.containerd.internal.v1.tracing\"..." type=io.containerd.internal.v1
>> > time="2022-12-10T12:15:42.036068412-05:00" level=er

Re: [gentoo-user] Major problems with libpcre / UTF8

2022-12-16 Thread Michael
On Friday, 16 December 2022 18:42:41 GMT Walter Dnes wrote:
>   Thanks everybody.  I had "-unicode" in my USE flags all these years.
> "emerge --changed-use --deep --update @world" has 11 ebuilds scheduled.
> and is running OK.  Again, I apologize for a possible duplicate post or
> bounces as the mail host I use was down yestersday.
> 
>   A few minutes later... everything rebuilt with "+unicode" in make.conf
> I have 'unicode="YES"' in /etc/rc.conf.  No improvements in my system.
> "xterm" still hows as "xem".  How does "emerge -e @world" sound?  That's
> 615 packages.

Have you sorted out your locale to include UTF-8?

Check this page:

https://wiki.gentoo.org/wiki/Localization/Guide




signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Major problems with libpcre / UTF8

2022-12-16 Thread Walter Dnes
  Thanks everybody.  I had "-unicode" in my USE flags all these years.
"emerge --changed-use --deep --update @world" has 11 ebuilds scheduled.
and is running OK.  Again, I apologize for a possible duplicate post or
bounces as the mail host I use was down yestersday.

  A few minutes later... everything rebuilt with "+unicode" in make.conf
I have 'unicode="YES"' in /etc/rc.conf.  No improvements in my system.
"xterm" still hows as "xem".  How does "emerge -e @world" sound?  That's
615 packages.

-- 
I've seen things, you people wouldn't believe; Gopher, Netscape with
frames, the first Browser Wars.  Searching for pages with AltaVista,
pop-up windows self-replicating, trying to uninstall RealPlayer.  All
those moments, will be lost in time like tears in rain... time to die.



Re: [gentoo-user] Major problems with libpcre / UTF8

2022-12-16 Thread Matt Connell
On Fri, 2022-12-16 at 11:53 -0500, Walter Dnes wrote:
>   Apologies to those who've already seen this or had their replies
> bounce.  The mail host I use was down yesterday (the big storm?) so I
> haven't seen any responses to this post. 

All the replies are archived here:
https://archives.gentoo.org/gentoo-user/message/aec318b21018da25ba4328de7856



[gentoo-user] Major problems with libpcre / UTF8

2022-12-16 Thread Walter Dnes
  Apologies to those who've already seen this or had their replies
bounce.  The mail host I use was down yesterday (the big storm?) so I
haven't seen any responses to this post.  Here's a second try...

  I just finished solving my babl problems, but more stuff shows up in
libpcre.  First, here are my USE flags.  I don't see "utf8" anywhere.

Calculating dependencies... done!
[ebuild   R] dev-libs/libpcre-8.45-r1:3::gentoo  USE="bzip2 cxx jit readline
+(split-usr) (unicode) zlib -libedit -pcre16 -pcre32 -static-libs" 0 KiB

  Can someone give me their output from "emerge -pv1 dev-libs/libpcre"

mc (Midnight Commander) spews out a lot of...

(mc:5796): GLib-CRITICAL **: 15:19:15.617: PCRE library is compiled without UTF8
+support

  Application windows have every second character missing in the window
title; e.g. "xterm" shows as "xem".  I have a spreasheet that tracks my
Presto card usage.  The title has gone from "presto.gnumeric-Gnumeric" to
"pet.nmrc-Guei'.  Various PCRE-based searches fail in vaious apps.  HELP!

  BTW, here's what I get when opening a complex spreadsheet in
gnumeric...

** (gnumeric:6043): WARNING **: 15:48:22.501: Failed to compile rx
+"^((January)|(February)|(March)|(April)|(May)|(June)|(July)|(August)|(September
+)|(October)|(November)|(December)|(Jan)|(Feb)|(Mar)|(Apr)|(May)|(Jun)|(Jul)|(Au
+g)|(Sep)|(Oct)|(Nov)|(Dec))(-|/|\s)(\d+)((,?\s+|-|/)(\d+))?\b": Invalid
+pattern.


** (gnumeric:6043): WARNING **: 15:48:22.501: Failed to compile rx
+"^(\d+)(-|/|\.?\s*)((January)|(February)|(March)|(April)|(May)|(June)|(July)|(A
+ugust)|(September)|(October)|(November)|(December)|(Jan)|(Feb)|(Mar)|(Apr)|(May
+)|(Jun)|(Jul)|(Aug)|(Sep)|(Oct)|(Nov)|(Dec))((,?\s*|-|/)(\d+))?\b": Invalid
+pattern.


** (gnumeric:6043): WARNING **: 15:48:22.501: Failed to compile rx
+"^(\d\d\d\d)(\d\d)(\d\d)(:\d\d\d\d\d\d(\.\d*)?)?\s*$": Invalid pattern.

** (gnumeric:6043): WARNING **: 15:48:22.501: Failed to compile rx
+"^(\d\d\d\d)(-?)(\d\d)\2(\d\d)T\d+(:?)\d+(\5\d+(\.\d*)?)?(Z)\s*$": Invalid
+pattern.


** (gnumeric:6043): WARNING **: 15:48:22.501: Failed to compile rx
+"^(\d\d\d\d)[-/.](\d+)[-/.](\d+)\b": Invalid pattern.


** (gnumeric:6043): WARNING **: 15:48:22.501: Failed to compile rx
+"^(\d\d\d\d)[-/.]((Jan)|(Feb)|(Mar)|(Apr)|(May)|(Jun)|(Jul)|(Aug)|(Sep)|(Oct)|(
+Nov)|(Dec))[-/.](\d+)\b": Invalid pattern.


** (gnumeric:6043): WARNING **: 15:48:22.501: Failed to compile rx
+"^(\d+)[-/.](\d+)[-/.](\d+)\b": Invalid pattern.


** (gnumeric:6043): WARNING **: 15:48:22.501: Failed to compile rx
+"^(\d+)([-/.])(\d+)\b": Invalid pattern.


** (gnumeric:6043): WARNING **: 15:48:22.501: Failed to compile rx
+"^(((\d+):)?(\d+):)?(\d+\.\d*)\s*$": Invalid pattern.


** (gnumeric:6043): WARNING **: 15:48:22.501: Failed to compile rx
+"^(\d+):(\d+)(:(\d+))?\s*$": Invalid pattern.


** (gnumeric:6043): WARNING **: 15:48:22.501: Failed to compile rx
+"^(\d\d)(\d\d)(\d\d)?(\.\d*)?\s*$": Invalid pattern.


** (gnumeric:6043): WARNING **: 15:48:22.501: Failed to compile rx
+"^(\d+)(:(\d+)(:(\d+(\.\d*)?))?)?\s*((am)|(pm))\s*$": Invalid pattern.


-- 
I've seen things, you people wouldn't believe; Gopher, Netscape with
frames, the first Browser Wars.  Searching for pages with AltaVista,
pop-up windows self-replicating, trying to uninstall RealPlayer.  All
those moments, will be lost in time like tears in rain... time to die.



Re: [gentoo-user] NAS and replacing with larger drives

2022-12-16 Thread Frank Steinmetzger
Am Thu, Dec 15, 2022 at 10:08:02PM -0600 schrieb Dale:

> I have a couple questions.  I currently have the NAS thingy on a older
> Dell machine.  It has a 4 core CPU and 8GBs of ram so it is acceptable,
> for the time being at least.  Bad thing is, only two drive bays.  :/  I
> have a few questions that I can't quite find answers to with google. 
> 
> 1:  I have the OS on a USB stick.  From what I've read, they do fail due
> to wear at some point.

OTOH, TrueNAS is designed to run from it, so I would assume it handles its
root drive with care. Perhaps you can disable verbose logging and such.

> If I reinstall TrueNAS on a new USB stick, will it automatically see the
> previous pools and such or do I have to set everything up again fresh?

Pools and their metadata are stored inside the pools. In Linux, you don’t
even need to set up fstab. The pool stores its mount point internally. So
you just start the zfs daemon and it does everything magically.

> In other words, will I lose data?

You won’t lose data, of course. But I think you meant settings(?). Probably
about users, shares and such. Perhaps it has an export feature which can be
run periodically.

> This also includes if it is encrypted.

Encryption is a built-in ZFS feature. So yes, it will remember that. Not
sure about the decryption process (keyfile).

> 2:  Hardware change.  The Dell comes with a 100MB network card.  I
> ordered a 1GB card.  I plan to put it in when it gets here.  Will it see
> the new card and work automatically or will it take some work to get the
> network going?

I assume the kernel is built like many general-purpose-distros: with
everything in it you may need for the purpose. But since it is BSD, it may
have driver issues (availability and stability for certain cards).
Sometimes, when I read news about a new product, people complain that the
NIC is not Intel and will thus cause problems with BSD, especially with
niche stuff like the Killer-brand ethernet cards.

> and recompile.  I'm not sure about BSD tho.  Since it is sort of a
> binary thing, does TrueNAS handle hardware changes such as a network
> card well? 

I don’t see a connection between being a “binary thing” and hardware change.
Your gentoo is also a binary thing once it is compiled. ;-)

> I also found out something power wise.  The Dell when booted and sitting
> idle consumes about 120 watts monitor and all.

I figured as much when you mentioned its 100 Mbps card. It must be old then,
and back then, idle power was a non-issue.

> My main rig consumes just under 200 watts.  Not to bad

That’s a very lot for my taste. With a lower mid-range GPU (110 W Radeon R7
370) and one spinning rust, my 8-year-old PC used to idle at 50 W. Without
the HDD and with Intel graphics it is now at 27 W. Still not a good number
when compared with today’s hardware.

> but a Raspberry Pi would likely consume 15, 20 watts max according to what
> I've read.

My 3B idles at 5 W tops, I think. It cannot be much more under load since it
comes without a built-in heat spreader.

> Given the number of hard drives, it could pull 25 or 30 watts max but
> doubtful it would get that high.  I'm looking at 4 bays but also found a 6
> bay.  I think 6 is overkill tho. 

My four-bay NAS has four 6 TB drives and it draws around 50 W at idle. But
that’s because it is a server board, incuding IPMI chip (and—interestingly—
an internal USB-A for an OS stick). And it’s Haswell generation, so almost a
decade old design. For this reason I switch it on only every few weeks or
even months and only keep it running for a short time.

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

Death is a permanent damage.


signature.asc
Description: PGP signature