Re: [gentoo-user] speedup remote portage

2020-02-26 Thread Robert Bridge
> On 27 Feb 2020, at 00:08, William Kenworthy  wrote:
> 
> Hi,
> 
> due to space considerations on my laptop I have moved portage onto a
> network share (moosfs, mfsmounted) - slower but works fine.  However,
> being a laptop trying to update/install when out and about is both very
> slow and network intensive through a vpn - again, it works but is even
> slower to the point of not always being practical
> 
> Is there a way to localise/speedup portage scanning parts of the
> update/install process?
> 

I used to use a portage tree shared over NFS. One thing that is worth 
considering, if you haven’t, is having the remote host manage tree syncing. 
This would remove the need for the laptop to be involved in the sync.

Also, I generally would try to avoid updating the system while out and about, 
so that when I am updating it is a local network operation. Obviously this 
won’t work if you need a package when out and about, but if you are local to 
the server every night or couple of nights, it would significantly reduce the 
pain of updates.

Cheers,
RobbieAB.




Re: [gentoo-user] mkvtoolnix: To use qt5 or not to use qt5 - that is the question (USE flag in-/valid?)

2020-02-26 Thread Franz Fellner
And another great one!
Just have a look at package.use/mkvtoolnix and you will see your problem.

# echo "qt5" >> /etc/portage/package.use/testuse
# emerge @preserved-rebuild
--- Invalid atom in /etc/portage/package.use/testuse: qt5

If it isn't obvious:
# man portage
-> GLOSSARY -> DEPEND atom

Am Do., 27. Feb. 2020 um 06:13 Uhr schrieb :

> Hi
>
> this command:
> emerge --selective=n  @preserved-rebuild
>
> gives me this message when started:
> --- Invalid atom in /etc/portage/package.use/mkvtoolnix: qt5
>
> and eix said this:
> [I] media-video/mkvtoolnix
>  Available versions:  37.0.0^t (~)42.0.0^t (~)43.0.0^t ***l^t
> {debug nls pch qt5 test}
>  Installed versions:  43.0.0^t(06:02:33 PM 02/23/2020)(nls -debug -pch
> -qt5 -test)
>  Homepage:https://mkvtoolnix.download/
> https://gitlab.com/mbunkus/mkvtoolnix
>  Description: Tools to create, alter, and inspect Matroska
> files
>
> From this I cannot decide, how to handle the 'qt5'-flag:
> Is it valid or is it invalid (and how do I get the gui version of that
> tool...) ?
>
> Cheers!
> mcc
>
>
>
>


Re: [gentoo-user] mkvtoolnix: To use qt5 or not to use qt5 - that is the question (USE flag in-/valid?)

2020-02-26 Thread Dale
tu...@posteo.de wrote:
> Hi
>
> this command:
> emerge --selective=n  @preserved-rebuild
>
> gives me this message when started:
> --- Invalid atom in /etc/portage/package.use/mkvtoolnix: qt5
>
> and eix said this:
> [I] media-video/mkvtoolnix
>  Available versions:  37.0.0^t (~)42.0.0^t (~)43.0.0^t ***l^t {debug 
> nls pch qt5 test}
>  Installed versions:  43.0.0^t(06:02:33 PM 02/23/2020)(nls -debug -pch 
> -qt5 -test)
>  Homepage:https://mkvtoolnix.download/ 
> https://gitlab.com/mbunkus/mkvtoolnix
>  Description: Tools to create, alter, and inspect Matroska files
>
> >From this I cannot decide, how to handle the 'qt5'-flag:
> Is it valid or is it invalid (and how do I get the gui version of that
> tool...) ?
>
> Cheers!
> mcc
>
>
>
>


It looks like you have a version included but did not put a =, < or > in
front.  Could be the opposite as well.  You have a = in front but no
version on the end.  I do this often since I copy and paste.  One would
think I'd remember to get it right but, I'm me.  ;-)

Here is a couple examples.

dev-libs/redland -mysql
app-office/libreoffice mariadb
>=media-libs/babl-0.1.72 introspection
>=media-libs/freetype-2.8 harfbuzz

Notice that without the = characters you also can't have a version.  If
you do have a version, you have to have the = in front.

Hope that helps.

Dale

:-)  :-) 



[gentoo-user] anything new in kernel 5.5.6 that makes boot slower (some extra file system checks?)

2020-02-26 Thread Caveman Al Toraboran
hi - is title right?

if so, what is going on?

rgrds,
cm.

Sent with [ProtonMail](https://protonmail.com) Secure Email.  (this is a lie 
obviously)

[gentoo-user] Rasp-Pi-4 Gentoo servers

2020-02-26 Thread james
I'm thinking about setting up a pair of Rasp-Pi-4 as DNS servers with 
4GB of ram. Is that enough ram for a DNS server?


https://www.amazon.com/CanaKit-Raspberry-4GB-Starter-MAX/dp/B07XPHWPRB


https://wiki.gentoo.org/wiki/Embedded_systems/ARM_hardware_list

If 4GB is not enough, there are some boards with 8GB
of ram.


What about running postfix on a third  board?

https://samhobbs.co.uk/2013/12/raspberry-pi-email-server-part-1-postfix


All feedback is encouraged. It will not be a high volume postfix email 
system. As far as the DNS servers, it seems I vaguely remember some 
software or filters to prevent hack attacks, that just overwhelm  DNS 
servers; or something like that. It just lowers the data flow rate.


It seems this is popular, and which version of USB 3.?
to use on a stick, as now usb sticks can have large capacities now (T+).

Surely I'll back up the mail (spool & such) to a secondary hard drive on 
another system.


It this all goes well, surely I put a web server on a fourth board.

https://pimylifeup.com/raspberry-pi-nginx/


Granted those links are not centric to embedded gentoo, but they do 
cover a lot of what is needed.


Further suggestions are most welcome. This is a fun to do project, 
useful as it would basically be easy to duplicate, so I can travel 
anywhere, get a few static IPs and deploy a small business, 
self-sufficient, network.


So the Rpi4 boards will all need their own unique, static Ip. But, 
another questions is while they are running as 4 distinct gentoo 
servers, could they also double as a quad-gentoo cluster?


https://www.picocluster.com/collections/raspberry-pi4


Security pointers are most welcome too.
The eventual idea is to have a fixed home network, but
be able to travel around in my pickup/cabovercamper
and have what I need right there, or provide it to friends as a ready to 
go small network. Embedded Gentoo,

low-power hardware and 100% (gentoo) source driven).

The S20 (520G ram) phone would server as the router.
(2)  5G cell phones running on (2) different 5G  service
vendor, could make the services and cluster multi-homed?

Would all of this work with just IP6 and a fancy cell phone, running 
gentoo?  We shall see.



James



Re: [gentoo-user] speedup remote portage

2020-02-26 Thread Michael Jones
You can separate the package directory and distfiles directory from the
ebuild tree.

PORTDIR="/usr/portage"
DISTDIR="/usr/portage-distfiles"
PKGDIR="/usr/portage-packages"


That lets you keep the ebuilds local to your laptop.


On Wed, Feb 26, 2020 at 9:08 PM William Kenworthy 
wrote:

> PORTDIR="/mnt/mfs/portage"
>
> /mnt/mfs is a moosefs fuse mount
>
> shared full tree including distfiles, and separate package files for
> different hardware groups
>
>
> BillK
>
>
>
> On 27/2/20 9:56 am, Michael Jones wrote:
>
> When you say you have a remote portage. What do you mean?
>
> The actual portage tree, with all the ebuilds? Or something else?
>
> On Wed, Feb 26, 2020, 18:08 William Kenworthy  wrote:
>
>> Hi,
>>
>> due to space considerations on my laptop I have moved portage onto a
>> network share (moosfs, mfsmounted) - slower but works fine.  However,
>> being a laptop trying to update/install when out and about is both very
>> slow and network intensive through a vpn - again, it works but is even
>> slower to the point of not always being practical
>>
>> Is there a way to localise/speedup portage scanning parts of the
>> update/install process?
>>
>> 1. put it on a squashfs share to save space (the laptop is running btrfs
>> with compression so I don't think that will get me much)
>>
>> 2. put portage on an sd card and mount it when necessary
>>
>> The laptop is a Surface Pro4 so expanding the storage is not practical -
>> though I could shrink the windows partition a little more.
>>
>> BillK
>>
>>
>>
>>
>>


[gentoo-user] mkvtoolnix: To use qt5 or not to use qt5 - that is the question (USE flag in-/valid?)

2020-02-26 Thread tuxic
Hi

this command:
emerge --selective=n  @preserved-rebuild

gives me this message when started:
--- Invalid atom in /etc/portage/package.use/mkvtoolnix: qt5

and eix said this:
[I] media-video/mkvtoolnix
 Available versions:  37.0.0^t (~)42.0.0^t (~)43.0.0^t ***l^t {debug 
nls pch qt5 test}
 Installed versions:  43.0.0^t(06:02:33 PM 02/23/2020)(nls -debug -pch -qt5 
-test)
 Homepage:https://mkvtoolnix.download/ 
https://gitlab.com/mbunkus/mkvtoolnix
 Description: Tools to create, alter, and inspect Matroska files

>From this I cannot decide, how to handle the 'qt5'-flag:
Is it valid or is it invalid (and how do I get the gui version of that
tool...) ?

Cheers!
mcc





Re: [gentoo-user] speedup remote portage

2020-02-26 Thread William Kenworthy
PORTDIR="/mnt/mfs/portage"

/mnt/mfs is a moosefs fuse mount

shared full tree including distfiles, and separate package files for
different hardware groups


BillK



On 27/2/20 9:56 am, Michael Jones wrote:
> When you say you have a remote portage. What do you mean?
>
> The actual portage tree, with all the ebuilds? Or something else?
>
> On Wed, Feb 26, 2020, 18:08 William Kenworthy  > wrote:
>
> Hi,
>
>     due to space considerations on my laptop I have moved portage
> onto a
> network share (moosfs, mfsmounted) - slower but works fine.  However,
> being a laptop trying to update/install when out and about is both
> very
> slow and network intensive through a vpn - again, it works but is even
> slower to the point of not always being practical
>
> Is there a way to localise/speedup portage scanning parts of the
> update/install process?
>
> 1. put it on a squashfs share to save space (the laptop is running
> btrfs
> with compression so I don't think that will get me much)
>
> 2. put portage on an sd card and mount it when necessary
>
> The laptop is a Surface Pro4 so expanding the storage is not
> practical -
> though I could shrink the windows partition a little more.
>
> BillK
>
>
>
>


Re: [gentoo-user] speedup remote portage

2020-02-26 Thread Michael Jones
When you say you have a remote portage. What do you mean?

The actual portage tree, with all the ebuilds? Or something else?

On Wed, Feb 26, 2020, 18:08 William Kenworthy  wrote:

> Hi,
>
> due to space considerations on my laptop I have moved portage onto a
> network share (moosfs, mfsmounted) - slower but works fine.  However,
> being a laptop trying to update/install when out and about is both very
> slow and network intensive through a vpn - again, it works but is even
> slower to the point of not always being practical
>
> Is there a way to localise/speedup portage scanning parts of the
> update/install process?
>
> 1. put it on a squashfs share to save space (the laptop is running btrfs
> with compression so I don't think that will get me much)
>
> 2. put portage on an sd card and mount it when necessary
>
> The laptop is a Surface Pro4 so expanding the storage is not practical -
> though I could shrink the windows partition a little more.
>
> BillK
>
>
>
>
>


[gentoo-user] speedup remote portage

2020-02-26 Thread William Kenworthy
Hi,

    due to space considerations on my laptop I have moved portage onto a
network share (moosfs, mfsmounted) - slower but works fine.  However,
being a laptop trying to update/install when out and about is both very
slow and network intensive through a vpn - again, it works but is even
slower to the point of not always being practical

Is there a way to localise/speedup portage scanning parts of the
update/install process?

1. put it on a squashfs share to save space (the laptop is running btrfs
with compression so I don't think that will get me much)

2. put portage on an sd card and mount it when necessary

The laptop is a Surface Pro4 so expanding the storage is not practical -
though I could shrink the windows partition a little more.

BillK






Re: [gentoo-user] Oss/Alsa/Pulseaudio: never-ending wars (VBox) [RESOLVED]

2020-02-26 Thread n952162

I finally understood, more or less, this web page:

  https://bbs.archlinux.org/viewtopic.php?id=186597

and added this line to the end of /etc/modprobe.d/alsa.conf and now I
have sound from both the host and the guest:

  options snd-hda-intel index=1,0


On 2020-02-19 10:06, n952...@web.de wrote:

I can't play audio from my VBox.  The host system only plays audio through the second 
sound card (1).  The VBox offers me OSS or the null driver.  The Alsa and pulseaudio 
pages  say OSS is "deprecated".   Is Oracle out of the picture?  I can't find 
the straight dope.

Do I have to convince VBox to talk to a different sound card?





Re: [gentoo-user] NetworkManager stopped to managed wired device

2020-02-26 Thread Jens Pelzetter
On 16.02.20 20:35, J. Roeleveld wrote:
> On 16 February 2020 08:34:22 CET, Jens Pelzetter 
>  wrote:
>> Hello everyone,
>>
>> as I just noticed NetworkManager has stopped to manage the wired
>> connection on my notebook. Even putting managed=true into the
>> configuration does not change anything... NetworkManager simply says
>> "Not managed" for wired devices. How do I fix this?
>>
>> Best regards
>>
>> Jens
> 
> Where do you put that directive?

Into the [ifupdown] section of /etc/NetworkManager.conf

> I don't have anything configured on my laptop (apart from installing 
> networkmanager and adding it to the default runlevel) and networkmanager just 
> works.

So did I, but sometime ago something must have changed. Might be even
two or three months ago. Since than, the wired interface on my notebook
is not longer managed...

And I don't find the reason. Any help is appreciated...

Best regards

Jens