Re: [gentoo-user] net-misc/spice-gtk
On 25/02/15 21:49, Neil Bothwick wrote: On Wed, 25 Feb 2015 20:52:24 +0800, Bill Kenworthy wrote: I have been using net-misc/spice-gtk (spicy is the executable) to connect to libvirt vm's. Works well but I cant use CTRL-ALT-Fx to switch between consoles like you can with virt-manager. With qemu, you press Ctrl-Alt-space then the F key, otherwise the Ctrl-Alt-Fx goes to the host. Thanks Neil but it doesnt work. Turns out the gentoo stable spice-gtk is only 0.21, and ~amd64 0.25-r1 while the current upstream is 0.9. I'll look into updating before I chase this further. BillK
[gentoo-user] Re: How to run X11 apps remotely?
ah, yes. i completely forgot about xpra. probabably a better solution than spice. -JimC -- James Cloos OpenPGP: 0x997A9F17ED7DAEA6
Re: [gentoo-user] net-misc/spice-gtk
On Wed, 25 Feb 2015 20:52:24 +0800, Bill Kenworthy wrote: I have been using net-misc/spice-gtk (spicy is the executable) to connect to libvirt vm's. Works well but I cant use CTRL-ALT-Fx to switch between consoles like you can with virt-manager. With qemu, you press Ctrl-Alt-space then the F key, otherwise the Ctrl-Alt-Fx goes to the host. -- Neil Bothwick SCSI: System Can't See It pgpH8bAoxYcuG.pgp Description: OpenPGP digital signature
[gentoo-user] net-misc/spice-gtk
Hi all, I have been using net-misc/spice-gtk (spicy is the executable) to connect to libvirt vm's. Works well but I cant use CTRL-ALT-Fx to switch between consoles like you can with virt-manager. Getting my fingers all tangled up yesterday I managed to get it to switch consoles by accident but I cant duplicate whatever key-presses caused it. Help on this app is almost non-existent so I hoping someone may have an idea? BillK
Re: [gentoo-user] net-misc/spice-gtk
Switching VTs works for me using ctrl+alt+f#. I can't figure out which setting is allowing me to do it, if any. Grab keyboard when active and focused wasn't it. I've had to use this to kill spicy a few times as if you fullscreen a guest (on my install, at least) you can't get out. I wasn't aware the spice packages in Gentoo were so out of date, though.
Re: [gentoo-user] Open Source DSP tools for learning?
On Sun, May 9, 2010 at 7:08 AM, pk pete...@coolmail.se wrote: On 2010-05-06 16:31, Mark Knecht wrote: Does anyone possibly know of any tools in Open Source for exploring DSP filter design? Something that might allow me to write equations, stimulate the filter, see the results in a GUI? This probably doesn't answer your question completely (haven't tried it) but...: http://www.brorson.com/gEDA/SPICE/intro.html Best regards Peter K Hi Peter, Yes, I've used Spice extensively in years past. Unless they've added a lot of new stuff then it's mainly about analog design and not digital signal processing but it could be useful for verifying that the DSP version of a filter works like the analog version. Thanks for the interest. Cheers, Mark
Re: [gentoo-user] net-misc/spice-gtk
On 26/02/15 11:30, R0b0t1 wrote: Switching VTs works for me using ctrl+alt+f#. I can't figure out which setting is allowing me to do it, if any. Grab keyboard when active and focused wasn't it. I've had to use this to kill spicy a few times as if you fullscreen a guest (on my install, at least) you can't get out. I wasn't aware the spice packages in Gentoo were so out of date, though. according to the menu shift-F11 puts you in full screen - it doesn't on .25-r1. shift-F12 does exit full screen in .21 and .25-r1. Still cant switch VT's ... BillK
Re: [gentoo-user] Open Source DSP tools for learning?
On 2010-05-06 16:31, Mark Knecht wrote: Does anyone possibly know of any tools in Open Source for exploring DSP filter design? Something that might allow me to write equations, stimulate the filter, see the results in a GUI? This probably doesn't answer your question completely (haven't tried it) but...: http://www.brorson.com/gEDA/SPICE/intro.html Best regards Peter K
Re: [gentoo-user] How to run X11 apps remotely?
unfortunately running the single application over app-emulation/spice might be as good as it gets. even over a local 1gig lan link those bugs you described are annoying. -JimC -- James Cloos OpenPGP: 0x997A9F17ED7DAEA6
Re: [gentoo-user] kvm/libvirt and kernel configuration
On 04/22/2013 09:03 AM, William Kenworthy wrote: qxl is the guest video driver for spice, a vnc/rdesktop like connection to the guest either via the libvirt console, or across the network vnc fashion. Its supposed to be great, but maybe I need to tune it some more as I cant see much of an advantage over the other two yet. The benefit over SDL is that copy/paste works. The benefit over VNC is that it's a little more responsive. The downside is that it's more complicated, and nothing is ever documented, naturally. I have to tack this junk onto each VM (and choose a unique port): qemu-kvm \ ... -vga qxl \ -spice port=5900,addr=127.0.0.1,disable-ticketing \ -device virtio-serial-pci \ -device virtserialport,chardev=spicechannel0,name=com.redhat.spice.0 \ -chardev spicevmc,id=spicechannel0,name=vdagent \ ... Afterwards I can connect with, spicec -h 127.0.0.1 -p 5900
Re: [gentoo-user] Re: kernel linux-4.12.5-gentoo & virtualbox-modules-5.0.40
On Tue, Aug 15, 2017 at 12:00 PM, Hartmut Figge <h.fi...@gmx.de> wrote: > Helmut Jarausch: > >>I'm running linux-4.12.7-gentoo with Virtualbox >>BUT you need app-emulation/virtualbox and Co in version 5.1.26 > > Hm. My Gentoo is mostly stable. That would mean to add virtualbox to the > unstable part. Hm. > On Gentoo I have found it fairly normal to switch to unstable (or unkeyworded) packages to fix issues. I don't want to change the subject too much, but I've fond QEMU a decent replacement for VirtualBox. It takes some set up at first but is fairly rewarding and easy to manage. I don't suggest using libvirt on Gentoo, but some people do. The main difference with not using libvirt, besides managing QEMU flags and VM startup yourself, is that spice doesn't work (the non-libvirt spice viewer has longstanding bugs, namely a particularly annoying one related to being unable to exit out of fullscreen mode). Depending on your usecase setting up remote access from within the OS of your VM might give you a better experience - you might even try that if you continue using VirtualBox. R0b0t1.
Re: [gentoo-user] Video editing advice on formats and size of file
Hello, On Fri, 23 Dec 2011, Dale wrote: Is there some secret spice that I am missing or something? Why can't I take two videos and splice them together and it be something close to the two file sizes added together? If resolutions and codec match, simply use mkvmerge: mkvmerge -o out.mkv in1.avi in2.avi ... HTH, -dnh -- Well I wish you'd just tell me rather than try to engage my enthusiasm. -- Marvin
Re: [gentoo-user] tuxonice : suspend/resume via button on keyboard?
On Sat, 23 Aug 2008 16:47:48 +0800 liu shukui [EMAIL PROTECTED] wrote: And what about suspend-to-disk? As far as I know, it dosen't work! doesn't work at all or doesn't work for you? The tuxonice-users ml is very good for help - the author is very helpful. Also, add yourself to the cc list: http://bugs.gentoo.org/show_bug.cgi?id=222113 to give it some weight. You can put the ebuild in your local overlay (as I have) to get hibernate-script-1.99 HTH, -- Iain Buchanan [EMAIL PROTECTED] I believe a little incompatibility is the spice of life, particularly if he has income and she is pattable. -- Ogden Nash
Re: [gentoo-user] emerge history
On Mon, 05 Dec 2005 00:29:39 -0700, Joseph wrote: Is there a way to tell which packages got upgraded in the past week? I've just answered this in the straggling... thread. genlop is the command you need genlop --list --date last week I have /etc/config-archive/ but if the configuration did not change it will not help me. One of the upgrades, has caused tetex sending wrong information during conversion to postscript and that is causing my my printer demanding A4 paper size. This does sound like a configuration change, so the previous setting should be in /etc/config-archive if you used dispatch-conf. genlop will give you an idea of where to look. -- Neil Bothwick You know the end of the world is near when the Spice Girls start reproducing. signature.asc Description: PGP signature
Re: [gentoo-user] [OT]: grep -Z not working ???
On Tue, 19 Jul 2011 05:12:53 +0200, meino.cra...@gmx.de wrote: So when doing find /tmp | grep -Z tmp | xargs -0 md5sum it should work comparable to find /tmp -print0 | xargs -0 md5sum but for me it does not. The man page specifically refers to the newline after a filename, you are reading from stdin here so there is no filename. It only makes sense when used with the -l option, as in the man page example. grep -rlZ bar /foo should give all the files in /foo that contain bar, terminated by NULs. -- Neil Bothwick You know the end of the world is near when the Spice Girls start reproducing. signature.asc Description: PGP signature
[gentoo-user] Best way for good video performance in virtual machines
Hi out there, assume the following situation: I do have a minimalistic hypervisor running a minimalistic virtual machine (qemu with kvm, qxl and spice). Both systems, hypervisor and VM are able to run X servers and apllications. The graphics card of the hypervisor is connected to a monitor. This monitor only has to show one single standalone QT application which is running on the virtual machine. What will give me more video performance? 1. Running a minimalistic X server on the virtual machine showing the application AND running a minimalistic X server on the hypervisor running remote-viewer or 2. Running a minimalistic X server on the hypervisor and using X11-Forwarding via bridged ethernet Or maybe even someone knows a better solution? Thank you folks! Cheers Ralf
Re: [gentoo-user] GUI-less (non-dbus) virt-manager (to run Tails in Gentoo)
On 170113-23:50+0100, Miroslav Rovis wrote: > I made it! > > See: > http://www.croatiafidelis.hr/foss/cap/cap-170113_tails/ > or open: > $ \ > http://www.croatiafidelis.hr/foss/cap/cap-170113_tails/Screen_170113_2102_g0n_1.webm > > (and also Screen_170113_2102_g0n_2.webm and Screen_170113_2102_g0n_3.webm ) > Just the end result of how it worked, you can see at, not much there, at this time. > But there are stories to tell, along with patches to share, and a place > for a nice bug report, coming. > Main story, or tip, that I hope might be useful to others, in this email. --- This was the successful command that started the domain "tails" (pls. note that I will be converting any commands in this email to fit withing 72 char lines, but they were without those "\" at end, and were one long line each; I'll also be wrapping pastes such as from /var/log/messages): [So this was the successful command that started the domain "tails"]: $ virt-install --name tails --disk tails.img --graphics spice --memory 1024 \ --cdrom tails-i386-2.9.1.iso --livecd --debug |& tee \ virt-install_$(date +%y%m%d_%H%M)_g0n Also note that the |& tee virt-install_$(date +%y%m%d_%H%M)_g0n is not needed, but allows me to reconstruct the procedure, to find it in the logs, and of course that redirection (along with the --debug of course) produced the debugging log named: virt-install_170113_0701_g0n (find it gunzip'ed in the attachment) However, that command didn't start any GUI, since the no-dbus virt-manager has no GUI whatsoever. But, as you can see from that log virt-install_170113_0701_g0n: [Fri, 13 Jan 2017 07:01:37 virt-install 5357] DEBUG (virt-install:732) Domain state after install: 1 was there made notice of in bottom, and I take it that it means the domain was created and started. And it also gave advice as to what can be done about it (on a previous line): [Fri, 13 Jan 2017 07:01:36 virt-install 5357] WARNING (cli:487) Unable to connect to graphical console: virt-viewer not installed. Please install the 'virt-viewer' package. Which I went about installing, which wasn't easy at all, as you can read below. During all those 14 hours the VM was running, pretty quietly, it didn't leave much in the logs... During most of which time thereof I made many unsuccessful attempts at installing virt-viewer, and eventually I made it to install it, and ran: $ virt-viewer tails which shows in the syslog as: Jan 13 21:02:53 g0n kernel: [270966.343875] grsec: exec of /usr/bin/virt-viewer (virt-viewer tails ) by /usr/bin/virt-viewer[bash:30436] uid/euid:1000/1000 gid/egid:1000/1000, parent /bin/bash[bash:19756] uid/euid:1000/1000 gid/egid:1000/1000 which is what you can see the screencasts of at: http://www.croatiafidelis.hr/foss/cap/cap-170113_tails/ (the link already given above) To be honest, it's not at all so easy to track down exactly how I did it. But there are a few reasons why I want to do it, the most important being, that I need to replicate the entire procedure, patches and all, because I completed this installation in my clone machine, which I also use for test-installs like this, but the more permanent install I want to do in Air-Gapped [1] machine, which never goes online, and which installation I can then clone [2] onto this contacting-with-the-dangerous-and-dirty-internet machine (and other machines of mine sometimes). Air-Gapping is complex of course, yes, but it so clean and peaceful. Especially the updating the Air-Gapped from my local Gentoo mirror with the portage snapshots signed by the Releng Team. My Air-Gapped is pretty reliably non-compromised, or at least has been, and continues to be, very difficult to compromise. And there'll be some strange things to show from this clone, introduced wih this installation, which don't let me calm and peaceful, there will be! Another reason which looke very important to me when I was getting confused if no-dbus gtk2 virt-manager, along with virt-viewer, was at all possible, is, I even thought for those hard long hours that it looked impossible, that already the time was running out to fix it for everybody, from older packages that would work... Because there really ended up being no way that I could do it, pls. look it up: https://packages.gentoo.org/packages/app-emulation/virt-viewer with, say, what is currently in testing: https://gitweb.gentoo.org/repo/gentoo.git/tree/app-emulation/virt-viewer/virt-viewer-5.0.ebuild While I tried patching quite a few files in the virt-viewer-5.0 source, it could never anymore be done without making gtk+-2.0 into more of a gtk+-3.0 just without the dbus dependency, which I am not apt to accomplishing. Instead, I had to bump into my local portage repo this one: https://gitweb.gentoo.org/repo/gentoo.git/tree/app-emulation/virt-viewer/virt-viewer-3.1.ebuild (of course for both of those --and other packages that I needed to patch--,
Re: [gentoo-user] zoom?
On Wed, 25 Mar 2020 13:33:34 +0100, J. Roeleveld wrote: > > My understanding is that it reports running processes and other info > > about your machine back to Zoom. Don't know why. As soon as I'm done > > with a meeting, I stop it so it's not running all the time. > > > > That's why I would move it to a VM - libvirt/KVM/spice seems to have > > pretty phenomenal support for cameras, mics, and other "advanced" > > features these days. > Anyone know of reliable and decent alternatives? I've never used Zoom, but how does it compare with Jitsi? -- Neil Bothwick There is absolutely no substitute for a genuine lack of preparation. pgpgtpTCnx4fj.pgp Description: OpenPGP digital signature
Re: [gentoo-user] zoom?
On Wednesday, March 25, 2020 1:09:27 PM CET Alec Ten Harmsel wrote: > On Wed, Mar 25, 2020, at 08:04, Michael wrote: > > I have not used Zoom, but the interwebs are screaming about the fly-by > > malware silent installations that come with it. I don't know if this > > applies to Linux too. > > My understanding is that it reports running processes and other info about > your machine back to Zoom. Don't know why. As soon as I'm done with a > meeting, I stop it so it's not running all the time. > > That's why I would move it to a VM - libvirt/KVM/spice seems to have pretty > phenomenal support for cameras, mics, and other "advanced" features these > days. > > Alec Anyone know of reliable and decent alternatives?
Re: [gentoo-user] zoom?
On Wed, Mar 25, 2020, at 08:04, Michael wrote: > I have not used Zoom, but the interwebs are screaming about the fly-by > malware > silent installations that come with it. I don't know if this applies to > Linux > too. My understanding is that it reports running processes and other info about your machine back to Zoom. Don't know why. As soon as I'm done with a meeting, I stop it so it's not running all the time. That's why I would move it to a VM - libvirt/KVM/spice seems to have pretty phenomenal support for cameras, mics, and other "advanced" features these days. Alec
Re: [gentoo-user] kvm/libvirt and kernel configuration
Am 22.04.2013 21:04, schrieb Michael Mair-Keimberger: Regarding virito devices: I highly recommend using those drivers. For my gentoo guests i always use virtio drivers for network devices (with vhost=on) and harddisks. (on windows guests only virito-net drivers) The performance gain is incredible. However, especially for the virtio harddisk driver, make sure you change fstab entries, because harddisk names change from sda to vda (or just use them from the beginning. If you going to try out desktop vm's too i also recommend qxl with spice. It's really fast and it also supports copy/paste (however you need an service for copy/paste on linux app-emulation/spice-vdagent) and window resizing. Those features also work on windows. Regarding libvirt my experience is actually very low since i setup my vms with an custom init script. You can take a look on it here: https://github.com/mm1ke/qemu-init/tree/devel I can also provide a basic kernel .config for the latest stable kernel on x64 and x86 if you are interrested. I am interested ... ;-) Put it up somewhere (dropbox, pastebin, whatever) and share the link if you don't mind. Thanks, Stefan
Re: [gentoo-user] {OT} Allow work from home?
"J. Roeleveld" <jo...@antarean.org> writes: > On 17 January 2016 18:35:20 CET, Mick <michaelkintz...@gmail.com> wrote: > [...] >>I use the icaclient provided by Citrix to access my virtual desktop at >>work, >>but have never tried to set up something similar at home. What >>opensource >>software would I need for this? Is there a wiki somewhere to follow? > > I'd love to do this myself as well. > > Citrix sells the full package as 'XenDesktop'. To do it yourself you need a > VMserver (Xen or similar) and a remote desktop tool that hooks into the VM > display. (Spice or VNC) > > Then you need some way of authenticating users and providing access to the > client software. > [...] You would have a full VM for each user? That would be a huge waste of resources, plus having to take care of a lot of VMs, plus having to buy a lot of Windoze licenses and taking about a week to install the updates after installing a VM. Add to that that the xen host goes down at random time intervals (because the sending queue of the network card times out for reasons that cannot be determined) which can be as long as a day, a week or even up to three weeks, and you are likely to become a rather unhappy administrator. Try kvm instead, and you'll find that it's impossible to migrate the VMs from xen to to kvm when you want to use virtio drivers because you can't install them on an existing Windoze VM. Then there's the question how well vnc or spice connections work over a VPN that goes over the internet. It's not like the employees could get reliable internet connections with sufficient bandwidth, not to mention that the company would have to get one in the first place, which isn't much easier to get, if any. It might work in theory. How would it be feasible in practise?
Re: [gentoo-user] Re: kernel linux-4.12.5-gentoo & virtualbox-modules-5.0.40
On Tue, Aug 15, 2017 at 3:02 PM, R0b0t1 <r03...@gmail.com> wrote: > On Tue, Aug 15, 2017 at 12:00 PM, Hartmut Figge <h.fi...@gmx.de> wrote: >> Helmut Jarausch: >> >>>I'm running linux-4.12.7-gentoo with Virtualbox >>>BUT you need app-emulation/virtualbox and Co in version 5.1.26 >> >> Hm. My Gentoo is mostly stable. That would mean to add virtualbox to the >> unstable part. Hm. >> > > On Gentoo I have found it fairly normal to switch to unstable (or > unkeyworded) packages to fix issues. > > I don't want to change the subject too much, but I've fond QEMU a > decent replacement for VirtualBox. It takes some set up at first but > is fairly rewarding and easy to manage. I don't suggest using libvirt > on Gentoo, but some people do. The main difference with not using > libvirt, besides managing QEMU flags and VM startup yourself, is that > spice doesn't work (the non-libvirt spice viewer has longstanding > bugs, namely a particularly annoying one related to being unable to > exit out of fullscreen mode). Depending on your usecase setting up > remote access from within the OS of your VM might give you a better > experience - you might even try that if you continue using VirtualBox. > Another option is KVM. I do suggest using libvirt, and found that app-emulation/virt-manager gives you a lot of the benefits of something with a pretty GUI like Virtualbox, but it is 100% FOSS underneath and you can run it all from the command line too. It is just a front-end to libvirt. There are no issues with running these VMs as services also, and I believe that you can connect to their consoles at any time with virt-manager. I can't really compare it in detail to qemu as I've barely used the latter, and mainly for emulation. Honestly, I rarely even use KVM these days as I've almost entirely moved to containers. -- Rich
Re: [gentoo-user] kvm/libvirt and kernel configuration
On Monday 22 April 2013 15:17:20 Michael Mol wrote: On 04/22/2013 03:04 PM, Michael Mair-Keimberger wrote: Regarding devices which devices qemu-kvm supports, just take a look at following commands: Available net devices: qemu-system-x86_64 -net nic,model=? Available cpu's: qemu-system-x86_64 -cpu ? Available machines (if needed) qemu-system-x86_64 -machine ? General list of available devices: qemu-system-x86_64 -device ? Depending on your arch it might differ.. Regarding virito devices: I highly recommend using those drivers. For my gentoo guests i always use virtio drivers for network devices (with vhost=on) and harddisks. (on windows guests only virito-net drivers) The performance gain is incredible. However, especially for the virtio harddisk driver, make sure you change fstab entries, because harddisk names change from sda to vda (or just use them from the beginning. If you going to try out desktop vm's too i also recommend qxl with spice. It's really fast and it also supports copy/paste (however you need an service for copy/paste on linux app-emulation/spice- vdagent) and window resizing. Those features also work on windows. Good to know. Does it work over the network, or does it presume local connectivity? My primary use case is connecting to the box over wireless. My secondary use case is connecting over a WAN link. Local connectivity is out of the question for this VM server. It works over the network. I have all my vms on a server and i only access those vm's over network. As client i suggest net-misc/spice-gtk. Regarding libvirt my experience is actually very low since i setup my vms with an custom init script. You can take a look on it here: https://github.com/mm1ke/qemu-init/tree/devel I'm actually not having any real difficulty setting up the VMs. As I said, the matter is largely academic. It's really not difficult to set up a guest primarily with virtio drivers, of course. The problem I'm trying to solve is the apparent lack of documentation mapping host kvm/qemu capabilities with guest kernel configurations I can also provide a basic kernel .config for the latest stable kernel on x64 and x86 if you are interrested. Like Stefan, I'm also curious. I would probably go through and tweak a number of network-related features (add a netfilter feature here, remove a network stack component there), but it'd be interesting to look at. Below are both configs (kernel 3.7.10)(hope bpaste is ok). If you going to use them and don't use virtio-net make sure you enable appropriate net drivers (e1000,rtl8129,..), because i've disabled all of them. http://bpaste.net/show/93300/ http://bpaste.net/show/93301/
Re: [gentoo-user] kvm/libvirt and kernel configuration
On 04/22/2013 03:44 PM, Michael Mair-Keimberger wrote: On Monday 22 April 2013 15:17:20 Michael Mol wrote: On 04/22/2013 03:04 PM, Michael Mair-Keimberger wrote: Regarding devices which devices qemu-kvm supports, just take a look at following commands: Available net devices: qemu-system-x86_64 -net nic,model=? Available cpu's: qemu-system-x86_64 -cpu ? Available machines (if needed) qemu-system-x86_64 -machine ? General list of available devices: qemu-system-x86_64 -device ? Depending on your arch it might differ.. Regarding virito devices: I highly recommend using those drivers. For my gentoo guests i always use virtio drivers for network devices (with vhost=on) and harddisks. (on windows guests only virito-net drivers) The performance gain is incredible. However, especially for the virtio harddisk driver, make sure you change fstab entries, because harddisk names change from sda to vda (or just use them from the beginning. If you going to try out desktop vm's too i also recommend qxl with spice. It's really fast and it also supports copy/paste (however you need an service for copy/paste on linux app-emulation/spice-vdagent) and window resizing. Those features also work on windows. Good to know. Does it work over the network, or does it presume local connectivity? My primary use case is connecting to the box over wireless. My secondary use case is connecting over a WAN link. Local connectivity is out of the question for this VM server. It works over the network. I have all my vms on a server and i only access those vm's over network. As client i suggest net-misc/spice-gtk. Regarding libvirt my experience is actually very low since i setup my vms with an custom init script. You can take a look on it here: https://github.com/mm1ke/qemu-init/tree/devel I'm actually not having any real difficulty setting up the VMs. As I said, the matter is largely academic. It's really not difficult to set up a guest primarily with virtio drivers, of course. The problem I'm trying to solve is the apparent lack of documentation mapping host kvm/qemu capabilities with guest kernel configurations I can also provide a basic kernel .config for the latest stable kernel on x64 and x86 if you are interrested. Like Stefan, I'm also curious. I would probably go through and tweak a number of network-related features (add a netfilter feature here, remove a network stack component there), but it'd be interesting to look at. Below are both configs (kernel 3.7.10)(hope bpaste is ok). If you going to use them and don't use virtio-net make sure you enable appropriate net drivers (e1000,rtl8129,..), because i've disabled all of them. http://bpaste.net/show/93300/ http://bpaste.net/show/93301/ Attachments are ideal; the mailing list supports them, and it's more beneficial for the ml archives. (Even if gentoo infra's ml archives have been down for a year, gmane et al are also archiving.) signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] {OT} Allow work from home?
On Monday, January 18, 2016 02:02:27 AM lee wrote: > "J. Roeleveld" <jo...@antarean.org> writes: > > On 17 January 2016 18:35:20 CET, Mick <michaelkintz...@gmail.com> wrote: > > > > [...] > > > >>I use the icaclient provided by Citrix to access my virtual desktop at > >>work, > >>but have never tried to set up something similar at home. What > >>opensource > >>software would I need for this? Is there a wiki somewhere to follow? > >> > > I'd love to do this myself as well. > > > > Citrix sells the full package as 'XenDesktop'. To do it yourself you need > > a VMserver (Xen or similar) and a remote desktop tool that hooks into the > > VM display. (Spice or VNC) > > > > Then you need some way of authenticating users and providing access to the > > client software. [...] > > You would have a full VM for each user? Yes > That would be a huge waste of resources, Diskspace and CPU can easily be overcommitted. > plus having to take care of a lot of VMs, Automated. > plus having to buy a lot of Windoze licenses Volume licensing takes care of that. > and taking about a week to install the updates > after installing a VM. Never heard of VM templates? > Add to that that the xen host goes down at > random time intervals (because the sending queue of the network card > times out for reasons that cannot be determined) which can be as long as > a day, a week or even up to three weeks, and you are likely to become a > rather unhappy administrator. Sorry, but I consider that a bug in your hardware. If it's really that unstable, replace it. I've been running Xen enabled servers for nearly 15 years. Never had issues like that. If it were truly that unstable, it wouldn't be gaining popularity. > Try kvm instead, and you'll find that > it's impossible to migrate the VMs from xen to to kvm when you want to > use virtio drivers because you can't install them on an existing Windoze > VM. Not a problem with the virtualisation technology. It is an issue with driver management inside MS Windows. There are ways to migrate VMs succesfully, I just don't see the point in wasting time for that. The biggest reason why I don't use KVM is the lack of full snapshot functionality. Snapshotting disks is nice, but you end up with an unclean- shutdown situation and anything that's not yet committed to disk is gone. > Then there's the question how well vnc or spice connections work over a > VPN that goes over the internet. VNC works quite well, as long as you use a minimal desktop. (like blackbox). Don't expect KDE or Gnome to be usable. I haven't tried Spice yet, but I've read that it performs better. > It's not like the employees could get > reliable internet connections with sufficient bandwidth, not to mention > that the company would have to get one in the first place, which isn't > much easier to get, if any. That depends on where you are. The company could host the servers in a decent datacentre, which should take care of the bandwidth issues. For the employees, if they want to work from home, it's up to them to ensure they have a reliable connection. > It might work in theory. How would it be feasible in practise? Plenty of companies do it this way. If you don't want to pay for software like XenDesktop, you need to do all the work setting it up yourself. -- Joost
[gentoo-user] Re: GUI-less (non-dbus) virt-manager (to run Tails in Gentoo)
This email will be about some good results that I have obtained in this non-dbus virt-manager matter, and at least one snag left to solve... I have made a lot of progress in using non-dbus virt-manager recently. I hope some readers might be interested in these not very usual, except in Gentoo, feats. Let me remind you: On 170114-12:48+0100, Miroslav Rovis wrote: > Hi! > > This is my installation of the package virt-manager: > > # equery l virt-manager > * Searching for virt-manager ... > [IP-] [ ] app-emulation/virt-manager-1.4.0-r2:0 > # The above is still the case. And so is the below. > # emerge -pv virt-manager > ... > > /usr/bin/virt-clone > /usr/bin/virt-convert > /usr/bin/virt-install > /usr/bin/virt-xml > > While at the list of files, pls. notice that there is no executable named > 'virt-manager' in my system's virt-manager install: ... This is what I thought that I needed to do at the onset: > > So I guess, to get Tails installed, the way I will need to follow: > > https://tails.boum.org/doc/advanced_topics/virtualization/virt-manager/index.en.html But there is now the better debian than the systemDestructed Debian, which is Devuan, and there is now Heads (based on Devuan) instead of Tails (based on Debian): https://heads.dyne.org/about.html or http://fz474h2o46o2u7xj.onion/about.html And, as far as Tails, I can use it, although as of this time still only in pure Qemu (just a little is still missing for full Libvirt deployment under sound control of grsecurity RBAC policies... more below about that): https://www.croatiafidelis.hr/foss/cap/cap-161015-qemu-devuan/qemu-devuan-10.php (and the successive page) This was wrong, that's for developers > So, the mailing list: > > https://www.redhat.com/mailman/listinfo/virt-tools-list > there's users list instead: https://www.redhat.com/mailman/listinfo/libvirt-users But I first need to complete setting up the grsecurity RBAC policies for Libvirt: Libvirt virtualization policies https://forums.grsecurity.net/viewtopic.php?f=5=4675 which I might be at an end of (that took time! but it feels rewarding)... All of that I have successfully managed to do without dbus... Or d-bus, like in the comparison table of init systems: https://wiki.gentoo.org/wiki/Comparison_of_init_systems Which I hope is slowly spreading from Gentoo into other true-unix FOSS, the sans-dbus OpenRC... But I would need time to see, say, how far Devuan has reached in implementing OpenRC, as they planned... (I'm not a dev, I'm only yet struggling to become a good tester for projects that I believe in...) I have also hit a snag... see the last post at: Whonix on Gentoo issues https://forums.whonix.org/t/whonix-on-gentoo-issues/3188/17 where find (pasting: (virt-viewer:9916): GSpice-CRITICAL **: egl init failed: cannot create EGL context and more. That's basically, my virt-manager, virt-viewer and spice, and spice-gtk and xf86-video-qxl have some issues, and when virt-viewer starts, the spice client can't get the egl context, which I have come to understand is the... keyboard and the mouse... In slow time, if anybody has any advice about this matter, I'll be greatful! -- Miroslav Rovis Zagreb, Croatia https://www.CroatiaFidelis.hr signature.asc Description: Digital signature
Re: [gentoo-user] tuxonice : suspend/resume via button on keyboard?
Finally I got this message tux tuxonice # hibernate root=/dev/sda2 ro resume=file:/dev/sda2:0x143018 /usr/share/hibernate/scriptlets.d/suspend2: line 525: echo: write error: Device or resource busy tux tuxonice # tux tuxonice # hibernate--version Hibernate Script 1.99 tux tuxonice # On Sun, Aug 24, 2008 at 10:16 AM, Iain Buchanan [EMAIL PROTECTED] wrote: On Sat, 23 Aug 2008 16:47:48 +0800 liu shukui [EMAIL PROTECTED] wrote: And what about suspend-to-disk? As far as I know, it dosen't work! doesn't work at all or doesn't work for you? The tuxonice-users ml is very good for help - the author is very helpful. Also, add yourself to the cc list: http://bugs.gentoo.org/show_bug.cgi?id=222113 to give it some weight. You can put the ebuild in your local overlay (as I have) to get hibernate-script-1.99 HTH, -- Iain Buchanan [EMAIL PROTECTED] I believe a little incompatibility is the spice of life, particularly if he has income and she is pattable. -- Ogden Nash
[gentoo-user] Video editing advice on formats and size of file
Howdy, I been trying to get this to work right for a goood while now. I'm confused here. I have some videos that I download that are split up. Some have two or three parts and a few 4 or 5. What I can't get is this, I can't seem to take say two 250Mb videos and make it come anywhere near 500Mbs when spliced together. They usually end up being 1.5Gb and sometimes much more. I use Kdenlive to do this with. I have tried every setting that I can find. I have used exiftool to try to match the encoding and rates and all that with no improvement or very little improvement. Is there some secret spice that I am missing or something? Why can't I take two videos and splice them together and it be something close to the two file sizes added together? I'm not asking for a perfect fit but at least something close. If I can get 2 250Mb videos to splice together and be 600Mbs, that would be good enough. Thanks. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words! Miss the compile output? Hint: EMERGE_DEFAULT_OPTS=--quiet-build=n
Re: [gentoo-user] Video editing advice on formats and size of file
David Haller wrote: Hello, On Fri, 23 Dec 2011, Dale wrote: Is there some secret spice that I am missing or something? Why can't I take two videos and splice them together and it be something close to the two file sizes added together? If resolutions and codec match, simply use mkvmerge: mkvmerge -o out.mkv in1.avi in2.avi ... HTH, -dnh Going to put this in the savers file for later. I sort of found a tool that works and it has a GUI. :-) May test this tho. Other tool may stop working one day and we all know plan Bs are good to have. Since this is Linux, we can go all the way to plan Z. Lots of options. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words! Miss the compile output? Hint: EMERGE_DEFAULT_OPTS=--quiet-build=n
Re: [gentoo-user] Re: pambase/shadow warning
On Fri, 20 Apr 2012 08:56:48 +0100, Neil Bothwick wrote: I'll run the update again today, paying more attention, and see what happens. What happened is it broke again, with no obvious signs of the cause. conf-update reported only trivial changes to three files. % su su: Authentication failure It didn't even ask for a password. All the syslog contained was Apr 20 13:17:19 hactar su[27738]: pam_authenticate: Authentication failure Apr 20 13:17:19 hactar su[27738]: FAILED su for root by nelz Apr 20 13:17:19 hactar su[27738]: - /dev/pts/3 nelz:root Which is about as informative as Doh!. This was in Konsole, switching to a VC, entering my username (or root) gave five reports of Login incorrect followed by Maximum number of tries exceeded. Once again, no password request. Could this be the problem, that it is trying to authenticate me without, for whatever reason, asking for a password first? -- Neil Bothwick You know the end of the world is near when the Spice Girls start reproducing. signature.asc Description: PGP signature
Re: [gentoo-user] emerge sets syntax (@world vs. world)
Alan McKinnon wrote: The portage man page has unfortunately also used the word set for a different reason. Portage has always had a concept of world (not @world) and system (not @system) which were really just a bunch of stuff that happens to pop out of portage because it's hard-coded that way. This discussion is surprising to me, because I've been using @world in my updates for a little while, but I don't have 2.2: $ equery list portage * Searching for portage ... [IP-] [ ] sys-apps/portage-2.1.11.31:0 I performed a diff on the output of emerge -pvDuN world and @world, and they were the same. I even got an error about some required use flags when I ran emerge with world that referenced @world: The following USE changes are necessary to proceed: #required by app-emulation/virt-manager-0.9.4[spice], required by @selected, required by @world (argument) -- R
Re: [gentoo-user] kvm/libvirt and kernel configuration
Am 22.04.2013 14:31, schrieb Michael Mol: On 04/22/2013 05:40 AM, Michael Hampicke wrote: snip What I'm really looking for, though, is a list of all the devices the qemu/kvm host can emulate, and the most-specific guest driver. I.e. If I wanted to make a generic kernel configuration that contained the optimum drivers for all possible qemu/kvm configurations, what would be the minimum feature set? Sorry I misunderstood you. I know that somewhere deep within some documentation I saw such a list, but I cannot find it now (maybe it was libvirt or in the IBM best practices docs?). Here's list of devices that I know of, which kvm can emulate. net: e1000, ne2000, rtl8139, pcnet, virtio video: spice/qxl, vmnet (needs guest driver from vmware), cirrus, xen, vga io: virtio, ata_piix, sata ahci Do you also care about stuff like sound cards? signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] boot problems
On Fri, 16 May 2014 07:14:27 -0400, cov...@ccs.covici.com wrote: So far, I have liked lvm, what's the advantage of btrfs over lvm? I have only looked at btrfs, with a consideration for switching from ZFS, but it seems to offer the same advantages as ZFS. That is, it makes things even easier than LVM does. with LVM you can easily resize volumes and the filesystems on them, but it is still two or three steps, more if you add RAID into the equation. The modern filesystems do it all at once. If you need a bigger var, you just tell it so. And it is exactly the same process for shrinking a volume, something that can be tricky with LVM because of the need to handle volume and filesystem separately. -- Neil Bothwick You know the end of the world is near when the Spice Girls start reproducing. signature.asc Description: PGP signature
Re: [gentoo-user] Recommended pseudo-hardware for QEMU guest machine?
waltd...@waltdnes.org wrote: > > I'm using a gtk window and not spice or vnc because this gives me > > the best performance. And I'm using vmware as VGA card emulation > > because it gives me the highest resolution (2368x1770). > > > > Performance is not super snappy but it's good enough for regular use > > like browsing the net and so on. > > I intend to use it mostly for distcc. I still have an ancient OS/2 > machine with Galactic Civilizations on it. Since I still have the CD > images, I'll also try to get that going in QEMU one of these days. > My LCD is 1920x1080, so performance is more important than humoungous > display size. On my system only vmware VGA is able to provide a resolution as high as or higher than 1920x1080. Performance of vmware VGA is also better then the other (std, cirrus) emulations. But it could be that this depends on the guest OS. -- Regards wabe
Re: [gentoo-user] nx / nxclient - replacement
On 02/06/2017 03:41 AM, Poncho wrote: > On 06.02.2017 08:53, the...@sys-concept.com wrote: >> Are there any good replacement for "nx / nxclient" in Linux? >> NX is long time gone from portage. I hope, I can still install them >> from atic. >> This was another reason I wasn't upgrading for a long time as I need >> them to access remote boxes in GUI. >> > > I've switched to net-misc/remmina as a replacement for nxclient. Which flags are you using? net-misc/remmina-1.2.0_rc16-r1 USE="crypt nls (-ayatana) -gnome-keyring -rdp -spice -ssh -telepathy -webkit -zeroconf" I know I'll need: ssh rdp The remaining: -telepathy -webkit -zeroconf -ayatana I have no clue about them and looking up the info doesn't tell me much. -- Thelma
Re: [gentoo-user] QEMU: windows guest crashing
Am 2018-05-30 um 17:06 schrieb Marko Weber: > hello, > > Am 2018-05-30 12:09, schrieb Stefan G. Weichinger: >> Am 2018-05-30 um 10:46 schrieb Bill Kenworthy: >>> error messages? - I get this happening sometimes from the oom killer >>> when the server runs out of memory - semi-random (usually but not >>> always the same vm) >> >> And the VM itself idles at 1,8 GB RAM used right now. > > Do you use qemu-guest-agent in the windows vm? Hm, I don't know. > Have you tried recompiling qemu, libvirt-* against the actual kernel on > the host? > > maybe /var/log/libvirt/qemu/.log tells something interesting. I mentioned the errors in the first posting. > in another case it helped here to recompile complete gentoo server. > > Do you use stable atoms or unstable? stable libvirt-4.3.0 yesterday, installed that and re-compiled qemu as well I also rebuilt spice. - As far as I see the upstream patch mentioned here: https://bugzilla.redhat.com/show_bug.cgi?id=1575541 might not yet be included in 4.3.0
[gentoo-user] problem emerging virt-manager 4.0.0
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] kvm/libvirt and kernel configuration
On 04/22/2013 03:04 PM, Michael Mair-Keimberger wrote: Regarding devices which devices qemu-kvm supports, just take a look at following commands: Available net devices: qemu-system-x86_64 -net nic,model=? Available cpu's: qemu-system-x86_64 -cpu ? Available machines (if needed) qemu-system-x86_64 -machine ? General list of available devices: qemu-system-x86_64 -device ? Depending on your arch it might differ.. Regarding virito devices: I highly recommend using those drivers. For my gentoo guests i always use virtio drivers for network devices (with vhost=on) and harddisks. (on windows guests only virito-net drivers) The performance gain is incredible. However, especially for the virtio harddisk driver, make sure you change fstab entries, because harddisk names change from sda to vda (or just use them from the beginning. If you going to try out desktop vm's too i also recommend qxl with spice. It's really fast and it also supports copy/paste (however you need an service for copy/paste on linux app-emulation/spice-vdagent) and window resizing. Those features also work on windows. Good to know. Does it work over the network, or does it presume local connectivity? My primary use case is connecting to the box over wireless. My secondary use case is connecting over a WAN link. Local connectivity is out of the question for this VM server. Regarding libvirt my experience is actually very low since i setup my vms with an custom init script. You can take a look on it here: https://github.com/mm1ke/qemu-init/tree/devel I'm actually not having any real difficulty setting up the VMs. As I said, the matter is largely academic. It's really not difficult to set up a guest primarily with virtio drivers, of course. The problem I'm trying to solve is the apparent lack of documentation mapping host kvm/qemu capabilities with guest kernel configurations I can also provide a basic kernel .config for the latest stable kernel on x64 and x86 if you are interrested. Like Stefan, I'm also curious. I would probably go through and tweak a number of network-related features (add a netfilter feature here, remove a network stack component there), but it'd be interesting to look at. signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Best way for good video performance in virtual machines
Ralf ralf+gen...@ramses-pyramidenbau.de wrote: Hi out there, assume the following situation: I do have a minimalistic hypervisor running a minimalistic virtual machine (qemu with kvm, qxl and spice). Both systems, hypervisor and VM are able to run X servers and apllications. The graphics card of the hypervisor is connected to a monitor. This monitor only has to show one single standalone QT application which is running on the virtual machine. What will give me more video performance? 1. Running a minimalistic X server on the virtual machine showing the application AND running a minimalistic X server on the hypervisor running remote-viewer or 2. Running a minimalistic X server on the hypervisor and using X11-Forwarding via bridged ethernet Or maybe even someone knows a better solution? Thank you folks! Cheers Ralf On my system, qemu-kvm has the best performance with X11 on guest. I've also tested vnc and spice with qxl video driver on guest, but X11 was faster. I can imagine that this depends on the hardware and screen resolution. So maybe on your system an other setup is better. My host GPU is a Radeon Ultimate R7 250, resolution is 3840x2160@60Hz, driver is xf86-video-ati. X11 compositing is deactivated on host as well as on guest. As video card on guest I use vmware (-vga vmware). Screen resolution on guest is 2386x1770. That seems to be the highest possible screen size that is available with this settings. I also tested other guest video drivers (std and cirrus) but vmware was the fastest and also the one with the highest resolution. Before I bought an UHD monitor, I used sdl as qemu display (-display sdl) in borderless fullscreen mode (-no-frame -full-screen). I used the same screen resolution on host and guest (1920x1200) and qemu was running on one of my virtual XFCE desktops. This was very handy. But as I've written before, it seems not possible for me to run qemu with UHD screen size. So fullscreen mode isn't possible any longer and now qemu runs in a window on my desktop (-display gtk). But with none of my setups it was/is possible to run a fullscreen video on the guest vm. Performance is much to slow for that. I've spent some time to make it faster, but I failed. I would be happy for any hints about better video performance with qemu. -- Regards wabe
Re: [gentoo-user] {OT} Allow work from home?
"J. Roeleveld" <jo...@antarean.org> writes: > On Monday, January 18, 2016 02:02:27 AM lee wrote: >> "J. Roeleveld" <jo...@antarean.org> writes: >> > On 17 January 2016 18:35:20 CET, Mick <michaelkintz...@gmail.com> wrote: >> > >> > [...] >> > >> >>I use the icaclient provided by Citrix to access my virtual desktop at >> >>work, >> >>but have never tried to set up something similar at home. What >> >>opensource >> >>software would I need for this? Is there a wiki somewhere to follow? >> >> >> > I'd love to do this myself as well. >> > >> > Citrix sells the full package as 'XenDesktop'. To do it yourself you need >> > a VMserver (Xen or similar) and a remote desktop tool that hooks into the >> > VM display. (Spice or VNC) >> > >> > Then you need some way of authenticating users and providing access to the >> > client software. [...] >> >> You would have a full VM for each user? > > Yes > >> That would be a huge waste of resources, > > Diskspace and CPU can easily be overcommitted. Overcommitting disk space sounds like a very bad idea. Overcommitting memory is not possible with xen. >> plus having to take care of a lot of VMs, > > Automated. Like how? >> plus having to buy a lot of Windoze licenses > > Volume licensing takes care of that. expensive >> and taking about a week to install the updates >> after installing a VM. > > Never heard of VM templates? It still takes a week to put the updates onto the template. >> Add to that that the xen host goes down at >> random time intervals (because the sending queue of the network card >> times out for reasons that cannot be determined) which can be as long as >> a day, a week or even up to three weeks, and you are likely to become a >> rather unhappy administrator. > > Sorry, but I consider that a bug in your hardware. If it's really that > unstable, replace it. > I've been running Xen enabled servers for nearly 15 years. Never had issues > like that. If it were truly that unstable, it wouldn't be gaining popularity. The hardware has already been replaced, and the problem persists. Other machines of identical hardware that don't run xen don't show any issues. >> Try kvm instead, and you'll find that >> it's impossible to migrate the VMs from xen to to kvm when you want to >> use virtio drivers because you can't install them on an existing Windoze >> VM. > > Not a problem with the virtualisation technology. It is an issue with driver > management inside MS Windows. > There are ways to migrate VMs succesfully, I just don't see the point in > wasting time for that. It's time consuming when you have to reinstall the VMs to migrate them to kvm. And when you don't have the installers of all the software that's on some of the VMs and can't get them, you either have to run them without virtio drivers or you can't migrate them. > The biggest reason why I don't use KVM is the lack of full snapshot > functionality. Snapshotting disks is nice, but you end up with an unclean- > shutdown situation and anything that's not yet committed to disk is gone. I'm not sure what you mean. When you take a snapshot while the VM is not shut down, what difference does it make whether you use xen or kvm? >> Then there's the question how well vnc or spice connections work over a >> VPN that goes over the internet. > > VNC works quite well, as long as you use a minimal desktop. (like blackbox). > Don't expect KDE or Gnome to be usable. > I haven't tried Spice yet, but I've read that it performs better. It's not like you had a choice when you have Windoze VMs. >> It's not like the employees could get >> reliable internet connections with sufficient bandwidth, not to mention >> that the company would have to get one in the first place, which isn't >> much easier to get, if any. > > That depends on where you are. In this country, you have to be really lucky to find a place where you can get a decent internet connection. > The company could host the servers in a decent datacentre, which should take > care of the bandwidth issues. And give all their data out of hands? And how much does that cost? > For the employees, if they want to work from home, it's up to them to ensure > they have a reliable connection. It is as much problem of the company when they want the employees to work at home. And the employees don't have a choice, they can only get a connection they can get. >> It might work in theory. How would it be feasible in practise? > > Plenty of companies do it this way. If you d
Re: [gentoo-user] kvm/libvirt and kernel configuration
Regarding devices which devices qemu-kvm supports, just take a look at following commands: Available net devices: qemu-system-x86_64 -net nic,model=? Available cpu's: qemu-system-x86_64 -cpu ? Available machines (if needed) qemu-system-x86_64 -machine ? General list of available devices: qemu-system-x86_64 -device ? Depending on your arch it might differ.. Regarding virito devices: I highly recommend using those drivers. For my gentoo guests i always use virtio drivers for network devices (with vhost=on) and harddisks. (on windows guests only virito-net drivers) The performance gain is incredible. However, especially for the virtio harddisk driver, make sure you change fstab entries, because harddisk names change from sda to vda (or just use them from the beginning. If you going to try out desktop vm's too i also recommend qxl with spice. It's really fast and it also supports copy/paste (however you need an service for copy/paste on linux app-emulation/spice-vdagent) and window resizing. Those features also work on windows. Regarding libvirt my experience is actually very low since i setup my vms with an custom init script. You can take a look on it here: https://github.com/mm1ke/qemu-init/tree/devel I can also provide a basic kernel .config for the latest stable kernel on x64 and x86 if you are interrested. mike On Monday 22 April 2013 08:31:39 Michael Mol wrote: On 04/22/2013 05:40 AM, Michael Hampicke wrote: Am 22.04.2013 03:06, schrieb Michael Mol: So, I'm setting up number of kvm guests running Gentoo. KVM guests have a pretty limited set of device drivers they need to support. Is there a relatively up-to-date list of kernel configuration options? I.e. the list of NIC drivers, video drivers, I/O drivers... For net and io I always go with the virtio drivers [1]. For video: I don't care, my VMs are all headless, but when creating a desktop VM I suggest looking to vmvga or qxl. [1] http://wiki.libvirt.org/page/Virtio For video, I tend to use Cirrus. (I'll get the serial console stuff figured out eventually; I know how that works in the guest, but haven't prodded it in the host.) I didn't see a guest-side driver for vmvga, and I have no idea what qxl is. (I didn't hit search engines for it, I was merely searching around via menuconfig's / search.) Virtio drivers are awesome, of course. What I'm really looking for, though, is a list of all the devices the qemu/kvm host can emulate, and the most-specific guest driver. I.e. If I wanted to make a generic kernel configuration that contained the optimum drivers for all possible qemu/kvm configurations, what would be the minimum feature set? While I'm on the subject...menuconfig's search functionality indicated there was a vmguest-targeted CPU accounting in the kernel, but I couldn't get the HAVE_VIRTUAL_CPU_ACCOUNTING dependency flag set, and couldn't figure out what set it. Any ideas there?
Re: [gentoo-user] Best way for good video performance in virtual machines
Oh, I forgot about the gtk and sdl displays... I'll test them together with QXL. Thanks for your hint! But anyways, I'll need two X servers when using this setup - one on the VM and one on the hypervisor. Shouldn't X11 forwarding be less overhead? Thank you Ralf On 06/25/2015 05:44 AM, waben...@gmail.com wrote: Ralf ralf+gen...@ramses-pyramidenbau.de wrote: Hi out there, assume the following situation: I do have a minimalistic hypervisor running a minimalistic virtual machine (qemu with kvm, qxl and spice). Both systems, hypervisor and VM are able to run X servers and apllications. The graphics card of the hypervisor is connected to a monitor. This monitor only has to show one single standalone QT application which is running on the virtual machine. What will give me more video performance? 1. Running a minimalistic X server on the virtual machine showing the application AND running a minimalistic X server on the hypervisor running remote-viewer or 2. Running a minimalistic X server on the hypervisor and using X11-Forwarding via bridged ethernet Or maybe even someone knows a better solution? Thank you folks! Cheers Ralf On my system, qemu-kvm has the best performance with X11 on guest. I've also tested vnc and spice with qxl video driver on guest, but X11 was faster. I can imagine that this depends on the hardware and screen resolution. So maybe on your system an other setup is better. My host GPU is a Radeon Ultimate R7 250, resolution is 3840x2160@60Hz, driver is xf86-video-ati. X11 compositing is deactivated on host as well as on guest. As video card on guest I use vmware (-vga vmware). Screen resolution on guest is 2386x1770. That seems to be the highest possible screen size that is available with this settings. I also tested other guest video drivers (std and cirrus) but vmware was the fastest and also the one with the highest resolution. Before I bought an UHD monitor, I used sdl as qemu display (-display sdl) in borderless fullscreen mode (-no-frame -full-screen). I used the same screen resolution on host and guest (1920x1200) and qemu was running on one of my virtual XFCE desktops. This was very handy. But as I've written before, it seems not possible for me to run qemu with UHD screen size. So fullscreen mode isn't possible any longer and now qemu runs in a window on my desktop (-display gtk). But with none of my setups it was/is possible to run a fullscreen video on the guest vm. Performance is much to slow for that. I've spent some time to make it faster, but I failed. I would be happy for any hints about better video performance with qemu. -- Regards wabe
Re: [gentoo-user] Re: kernel linux-4.12.5-gentoo & virtualbox-modules-5.0.40
On Tue, Aug 15, 2017 at 2:10 PM, Rich Freeman <ri...@gentoo.org> wrote: > On Tue, Aug 15, 2017 at 3:02 PM, R0b0t1 <r03...@gmail.com> wrote: >> On Tue, Aug 15, 2017 at 12:00 PM, Hartmut Figge <h.fi...@gmx.de> wrote: >>> Helmut Jarausch: >>> >>>>I'm running linux-4.12.7-gentoo with Virtualbox >>>>BUT you need app-emulation/virtualbox and Co in version 5.1.26 >>> >>> Hm. My Gentoo is mostly stable. That would mean to add virtualbox to the >>> unstable part. Hm. >>> >> >> On Gentoo I have found it fairly normal to switch to unstable (or >> unkeyworded) packages to fix issues. >> >> I don't want to change the subject too much, but I've fond QEMU a >> decent replacement for VirtualBox. It takes some set up at first but >> is fairly rewarding and easy to manage. I don't suggest using libvirt >> on Gentoo, but some people do. The main difference with not using >> libvirt, besides managing QEMU flags and VM startup yourself, is that >> spice doesn't work (the non-libvirt spice viewer has longstanding >> bugs, namely a particularly annoying one related to being unable to >> exit out of fullscreen mode). Depending on your usecase setting up >> remote access from within the OS of your VM might give you a better >> experience - you might even try that if you continue using VirtualBox. >> > > Another option is KVM. I'd like to interject for a moment. What you're referring to as KVM, is, in fact, QEMU/KVM, or as I've recently taken to calling it, QEMU plus KVM. KVM is not a virtualization solution unto itself, but rather another free component of a fully functioning FOSS virtualization system made useful by a hypervisor, interface, and device emulation components comprising a full virtualization system as defined by nobody.[1] Admittedly I referred to only QEMU above. > I do suggest using libvirt, and found that > app-emulation/virt-manager gives you a lot of the benefits of > something with a pretty GUI like Virtualbox, but it is 100% FOSS > underneath and you can run it all from the command line too. It is > just a front-end to libvirt. There are no issues with running these > VMs as services also, and I believe that you can connect to their > consoles at any time with virt-manager. > My only issue is that when I used libvirt I had to edit the produced configurations by hand, and the settings wouldn't always take. Certain hardware configurations were also hard to set up. However, should everything work it is very nice, and can do things like start your VMs on boot and create tap devices on demand, etc. R0b0t1. [1] https://www.gnu.org/gnu/linux-and-gnu.html
Re: [gentoo-user] tuxonice : suspend/resume via button on keyboard?
it is the same as http://lists.tuxonice.net/lurker/message/20071031.021635.dde5b7a4.en.html#tuxonice-users On Sun, Aug 24, 2008 at 2:24 PM, liu shukui [EMAIL PROTECTED] wrote: Finally I got this message tux tuxonice # hibernate root=/dev/sda2 ro resume=file:/dev/sda2:0x143018 /usr/share/hibernate/scriptlets.d/suspend2: line 525: echo: write error: Device or resource busy tux tuxonice # tux tuxonice # hibernate--version Hibernate Script 1.99 tux tuxonice # On Sun, Aug 24, 2008 at 10:16 AM, Iain Buchanan [EMAIL PROTECTED] wrote: On Sat, 23 Aug 2008 16:47:48 +0800 liu shukui [EMAIL PROTECTED] wrote: And what about suspend-to-disk? As far as I know, it dosen't work! doesn't work at all or doesn't work for you? The tuxonice-users ml is very good for help - the author is very helpful. Also, add yourself to the cc list: http://bugs.gentoo.org/show_bug.cgi?id=222113 to give it some weight. You can put the ebuild in your local overlay (as I have) to get hibernate-script-1.99 HTH, -- Iain Buchanan [EMAIL PROTECTED] I believe a little incompatibility is the spice of life, particularly if he has income and she is pattable. -- Ogden Nash
[gentoo-user] Re: Wearab le Gentoo Computer?
Mark Shields laebshade at gmail.com writes: You want to be a gargoyle (http://tecfa.unige.ch/perso/staf/nova/blog/2003/ 09/23/gargoyle-and-self-gargoyle/)? Not really a gargoyle (even though I'm as paranoid as the next humanoid). My application is working with technicians that cover a wide geographic area of industrial equipment. Many times I drive to a remote site, and it's not necessary, they just did not articulate the issue/problem/question with accuracy. If I provide them a wearable rig then we can examine problems with equipment, and I can stay in the remote (air conditioned) lab. Sure, there may be resistance at first to these sort of gadgets, but, being a very cool and creative type-A, I've decide to spice them up with sports, music, and other streaming AV goodies, so the techs see the devices as enjoyable. Obviously for work well done, there will be PERKS via the devices. I'm open to a device for endorphin injections on a micro scale, if you know a good source. I'm basically sorry/lazy/stupid and getting old fast trying to keep up with troubleshooting industrial equipment. I need something to minimize truck rolls and thereby justify being on the payroll as a consultant. Naturally, after lowering expectations for a few years, I now have to deliver something very cool, to stay gamefully employeed. Got any better ideas for a poezr in an industrial environment? James -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Windows -Linux Video Chat App
On Sunday 07 May 2006 8:18 am, Boyd Stephen Smith Jr. wrote: On Saturday 06 May 2006 15:05, Ow Mun Heng [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] Re: Windows -Linux Video Chat App': On Sat, 2006-05-06 at 17:10 +0200, Simon Kellett wrote: Netmeeting on Windows should be able to talk to Gnomemeeting on Linux (the app does not *have* to be the same, just the protocols and codecs etc.) The keyword here being should While I'm sure we'd help you if we could, this is a very general gentoo list and not many of us will have even tried to do what you are doing. I think you'd be better served by asking on the netmeeting newsgroups or the gnome(meeting)/ekiga support areas (mailing list, newsgroup, IRC, w/e they have). Also check out kopete if you run KDE. it has a plugin for the old netmeeting protocol too. -- Melange is the financial crux of CHOAM activities. Without this spice, Bene Gesserit Reverend Mothers could not perform feats of observation and human control, Guild Navigators could not see safe pathways across space, and billions of Imperial citizens would die of addictive withdrawal. Any simpleton knows that such dependence upon a single commodity leads to abuse. We are all at risk. -- CHOAM Economic Analysis of Materiel Flow Patterns pgpk8qh75UtS2.pgp Description: PGP signature
Re: [gentoo-user] kvm/libvirt and kernel configuration
On 22/04/13 20:31, Michael Mol wrote: On 04/22/2013 05:40 AM, Michael Hampicke wrote: Am 22.04.2013 03:06, schrieb Michael Mol: So, I'm setting up number of kvm guests running Gentoo. KVM guests have a pretty limited set of device drivers they need to support. ... [1] http://wiki.libvirt.org/page/Virtio For video, I tend to use Cirrus. (I'll get the serial console stuff figured out eventually; I know how that works in the guest, but haven't prodded it in the host.) I didn't see a guest-side driver for vmvga, and I have no idea what qxl is. (I didn't hit search engines for it, I was merely searching around via menuconfig's / search.) ... qxl is the guest video driver for spice, a vnc/rdesktop like connection to the guest either via the libvirt console, or across the network vnc fashion. Its supposed to be great, but maybe I need to tune it some more as I cant see much of an advantage over the other two yet. The virtio stuff is good, but can be a chore to setup - especially in windows guests (have to download drivers then spend extra time/reboots to install them, and disks especially are a pain to get working). BillK
Re: [gentoo-user] kvm/libvirt and kernel configuration
On 04/22/2013 11:38 AM, Michael Hampicke wrote: Am 22.04.2013 14:31, schrieb Michael Mol: On 04/22/2013 05:40 AM, Michael Hampicke wrote: snip What I'm really looking for, though, is a list of all the devices the qemu/kvm host can emulate, and the most-specific guest driver. I.e. If I wanted to make a generic kernel configuration that contained the optimum drivers for all possible qemu/kvm configurations, what would be the minimum feature set? Sorry I misunderstood you. I know that somewhere deep within some documentation I saw such a list, but I cannot find it now (maybe it was libvirt or in the IBM best practices docs?). Here's list of devices that I know of, which kvm can emulate. net: e1000, ne2000, rtl8139, pcnet, virtio video: spice/qxl, vmnet (needs guest driver from vmware), cirrus, xen, vga io: virtio, ata_piix, sata ahci I was able to find these things while browsing through the 'details' list in virt-manager. Mostly what I'm curious about is which kernel configuration options they correspond to when setting up kernels in the guest. I'll post a link to the kernel configuration options I've found (so far) when I get home tonight. Do you also care about stuff like sound cards? A little. As I said, it's at least in part an academic exercise, so completeness becomes interesting. (Though some things can get plain silly, such as sb16, which I believe would be exposed via the ISA bus.) I do find it weird that there's nothing exposed to the guest via, e.g. the i2c bus; that would seem a natural mechanism through which to expose host knowledge and, possibly, influence guest behavior. Thanks for the responses. I'm always fond of knowledge-share threads. :) signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] QEMU unable to initialize audio
Libsdl and libsdl2 built with sound use flag on host? On Thu, Dec 24, 2015, 16:04 <waltd...@waltdnes.org> wrote: > Any ideas? The error message is... > > sdl: SDL failed to initialize audio subsystem > sdl: Reason: No available audio device > audio: Could not init `sdl' audio driver > > I get this both with a Gentoo guest... > > #!/bin/bash > qemu-system-i386 -enable-kvm \ >-cpu host -display gtk \ >-drive file=gentoo32.img,format=raw \ >-drive file=linuxswap.img,format=raw \ >-net nic,model=virtio \ >-rtc base=localtime,clock=host \ >-net user,hostname=gentoovm,hostfwd=tcp::2022-:22 \ >-m 3G -name "Gentoo VM" \ >-soundhw sb16 -parallel none \ >${@} > > ...and an OS/2 Warp 4 guest... > > #!/bin/bash > qemu-system-i386 -enable-kvm \ >-cpu coreduo -monitor vc \ >-drive file=os2.img,format=raw \ >-net nic,model=pcnet \ >-m size=64 -name "OS/2 VM" \ >-soundhw sb16 -vga std \ >${@} > > On the host, from "emerge -pv qemu"... > > app-emulation/qemu-2.4.1-r2::gentoo USE="aio alsa curl fdt gtk gtk2 jpeg > ncurses opengl pin-upstream-blobs png sdl sdl2 ssh threads usb vhost-net > vnc -accessibility -bluetooth -caps -debug -filecaps (-glusterfs) > -infiniband -iscsi -lzo -nfs -nls -numa -pulseaudio -python -rbd -sasl > -seccomp (-selinux) -smartcard -snappy -spice -static -static-softmmu > -static-user -systemtap -tci {-test} -tls -usbredir -uuid -vde -virtfs -vte > -xattr -xen -xfs" > PYTHON_TARGETS="python2_7" > QEMU_SOFTMMU_TARGETS="i386 x86_64" > QEMU_USER_TARGETS="i386 x86_64" > > -- > Walter Dnes <waltd...@waltdnes.org> > I don't run "desktop environments"; I run useful applications > >
[gentoo-user] QEMU unable to initialize audio
Any ideas? The error message is... sdl: SDL failed to initialize audio subsystem sdl: Reason: No available audio device audio: Could not init `sdl' audio driver I get this both with a Gentoo guest... #!/bin/bash qemu-system-i386 -enable-kvm \ -cpu host -display gtk \ -drive file=gentoo32.img,format=raw \ -drive file=linuxswap.img,format=raw \ -net nic,model=virtio \ -rtc base=localtime,clock=host \ -net user,hostname=gentoovm,hostfwd=tcp::2022-:22 \ -m 3G -name "Gentoo VM" \ -soundhw sb16 -parallel none \ ${@} ...and an OS/2 Warp 4 guest... #!/bin/bash qemu-system-i386 -enable-kvm \ -cpu coreduo -monitor vc \ -drive file=os2.img,format=raw \ -net nic,model=pcnet \ -m size=64 -name "OS/2 VM" \ -soundhw sb16 -vga std \ ${@} On the host, from "emerge -pv qemu"... app-emulation/qemu-2.4.1-r2::gentoo USE="aio alsa curl fdt gtk gtk2 jpeg ncurses opengl pin-upstream-blobs png sdl sdl2 ssh threads usb vhost-net vnc -accessibility -bluetooth -caps -debug -filecaps (-glusterfs) -infiniband -iscsi -lzo -nfs -nls -numa -pulseaudio -python -rbd -sasl -seccomp (-selinux) -smartcard -snappy -spice -static -static-softmmu -static-user -systemtap -tci {-test} -tls -usbredir -uuid -vde -virtfs -vte -xattr -xen -xfs" PYTHON_TARGETS="python2_7" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" -- Walter Dnes <waltd...@waltdnes.org> I don't run "desktop environments"; I run useful applications
Re: [gentoo-user] Recommended pseudo-hardware for QEMU guest machine?
waltd...@waltdnes.org wrote: > I'm now at the configuring-the-kernel stage of the Gentoo guest > install. I had originally expected to pull in the .config from the > host machine, make a few tweaks, and get going. However, it appears > that multiple video and sound and network cards are supported, none > of which match those on the host. Which ones do people recommend > selecting? > That's what I'm using to start qemu: qemu-system-x86_64 -machine accel=kvm -cpu host -m 4096 -enable-kvm -name vm-01 -net nic,model=virtio -net user,hostfwd=tcp::2022-:22 -localtime -hda /path/to/image.qcow2 -display gtk -vga vmware Since upgrade to >=qemu-2.4 I cannot use sound card emulation any more because it either doesn't work at all (e.g. sb16, gus) or it freezes the guest (e.g. ac97, hda). Before I did the upgrade yesterday I used -soundhw ac97 and it worked very well. Till now I have not found a solution for this problem. I'm using a gtk window and not spice or vnc because this gives me the best performance. And I'm using vmware as VGA card emulation because it gives me the highest resolution (2368x1770). Performance is not super snappy but it's good enough for regular use like browsing the net and so on. -- Regards wabe
Re: [gentoo-user] Recommended pseudo-hardware for QEMU guest machine?
On Sun, Dec 20, 2015 at 04:47:35AM +0100, waben...@gmail.com wrote > waltd...@waltdnes.org wrote: > > > I'm now at the configuring-the-kernel stage of the Gentoo guest > > install. I had originally expected to pull in the .config from the > > host machine, make a few tweaks, and get going. However, it appears > > that multiple video and sound and network cards are supported, none > > of which match those on the host. Which ones do people recommend > > selecting? > > > > That's what I'm using to start qemu: > > qemu-system-x86_64 -machine accel=kvm -cpu host -m 4096 -enable-kvm -name > vm-01 -net nic,model=virtio -net user,hostfwd=tcp::2022-:22 -localtime -hda > /path/to/image.qcow2 -display gtk -vga vmware > > Since upgrade to >=qemu-2.4 I cannot use sound card emulation any more > because it either doesn't work at all (e.g. sb16, gus) or it freezes > the guest (e.g. ac97, hda). > > Before I did the upgrade yesterday I used -soundhw ac97 and it worked > very well. Till now I have not found a solution for this problem. > > I'm using a gtk window and not spice or vnc because this gives me the > best performance. And I'm using vmware as VGA card emulation because > it gives me the highest resolution (2368x1770). > > Performance is not super snappy but it's good enough for regular use > like browsing the net and so on. I intend to use it mostly for distcc. I still have an ancient OS/2 machine with Galactic Civilizations on it. Since I still have the CD images, I'll also try to get that going in QEMU one of these days. My LCD is 1920x1080, so performance is more important than humoungous display size. -- Walter Dnes <waltd...@waltdnes.org> I don't run "desktop environments"; I run useful applications
Re: [gentoo-user] {OT} Allow work from home?
On Tue, Jan 19, 2016 at 01:46:45AM +0100, lee wrote: > "J. Roeleveld" <jo...@antarean.org> writes: > > > On Monday, January 18, 2016 02:02:27 AM lee wrote: > >> "J. Roeleveld" <jo...@antarean.org> writes: > >> > On 17 January 2016 18:35:20 CET, Mick <michaelkintz...@gmail.com> wrote: > >> > > >> > [...] > >> > > >> >>I use the icaclient provided by Citrix to access my virtual desktop at > >> >>work, > >> >>but have never tried to set up something similar at home. What > >> >>opensource > >> >>software would I need for this? Is there a wiki somewhere to follow? > >> >> > >> > I'd love to do this myself as well. > >> > > >> > Citrix sells the full package as 'XenDesktop'. To do it yourself you need > >> > a VMserver (Xen or similar) and a remote desktop tool that hooks into the > >> > VM display. (Spice or VNC) > >> > > >> > Then you need some way of authenticating users and providing access to > >> > the > >> > client software. [...] > >> > >> You would have a full VM for each user? > > > > Yes > > > >> That would be a huge waste of resources, > > > > Diskspace and CPU can easily be overcommitted. > > Overcommitting disk space sounds like a very bad idea. Overcommitting > memory is not possible with xen. > Depends on how the load is. Right now I have a 500GB HDD at work. I use VirtualBox and vagrant for testing various software. Every VM in VirtualBox gets a 50GB hard disk, and I generally have 7 or 8 at a time. Add in all the other stuff on my system, which includes a 200GB dataset, and the disk is overcommitted. Of course, none of the VirtualBox disks use anywhere near 50GB. All Joost is saying is that most resources can be overcommitted, since all the users will not be using all their resources at the same time. Alec
Re: [gentoo-user] nx / nxclient - replacement
On 06/02/2017 17:49, the...@sys-concept.com wrote: > On 02/06/2017 03:41 AM, Poncho wrote: >> On 06.02.2017 08:53, the...@sys-concept.com wrote: >>> Are there any good replacement for "nx / nxclient" in Linux? >>> NX is long time gone from portage. I hope, I can still install them >>> from atic. >>> This was another reason I wasn't upgrading for a long time as I need >>> them to access remote boxes in GUI. >>> >> >> I've switched to net-misc/remmina as a replacement for nxclient. > > Which flags are you using? > net-misc/remmina-1.2.0_rc16-r1 USE="crypt nls (-ayatana) -gnome-keyring -rdp > -spice -ssh -telepathy -webkit -zeroconf" > > I know I'll need: ssh rdp > The remaining: -telepathy -webkit -zeroconf -ayatana > I have no clue about them and looking up the info doesn't tell me much. telepathy is an instant messaging framework, the successor to Kopete from KDE webkit is ... web rendering stuff. Hard to tell what it means in context of rdp zeroconf is avahi, mdnsresponder, config-less networking. All implementations of the same idea ayatana is a notification framework. If you have it, remmina uses it for notifications -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] QEMU: windows guest crashing
Am 2018-06-07 um 09:33 schrieb Stefan G. Weichinger: > Am 2018-05-30 um 17:06 schrieb Marko Weber: >> hello, >> >> Am 2018-05-30 12:09, schrieb Stefan G. Weichinger: >>> Am 2018-05-30 um 10:46 schrieb Bill Kenworthy: >>>> error messages? - I get this happening sometimes from the oom killer >>>> when the server runs out of memory - semi-random (usually but not >>>> always the same vm) >>> >>> And the VM itself idles at 1,8 GB RAM used right now. >> >> Do you use qemu-guest-agent in the windows vm? > > Hm, I don't know. > >> Have you tried recompiling qemu, libvirt-* against the actual kernel on >> the host? >> >> maybe /var/log/libvirt/qemu/.log tells something interesting. > > I mentioned the errors in the first posting. > >> in another case it helped here to recompile complete gentoo server. >> >> Do you use stable atoms or unstable? > > stable > > libvirt-4.3.0 yesterday, installed that and re-compiled qemu as well > > I also rebuilt spice. > > - > > As far as I see the upstream patch mentioned here: > > https://bugzilla.redhat.com/show_bug.cgi?id=1575541 > > might not yet be included in 4.3.0 > same crash again as I accessed the VM via virt-manager I think this patch is missing: https://github.com/qemu/qemu/commit/a89fe6c329799e47aaa1663650f076b28808e186 Commented that on: https://bugs.gentoo.org/656886
Re: [gentoo-user] problem emerging virt-manager 4.0.0
>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] Video editing advice on formats and size of file
Dale wrote: Howdy, I been trying to get this to work right for a goood while now. I'm confused here. I have some videos that I download that are split up. Some have two or three parts and a few 4 or 5. What I can't get is this, I can't seem to take say two 250Mb videos and make it come anywhere near 500Mbs when spliced together. They usually end up being 1.5Gb and sometimes much more. I use Kdenlive to do this with. I have tried every setting that I can find. I have used exiftool to try to match the encoding and rates and all that with no improvement or very little improvement. Is there some secret spice that I am missing or something? Why can't I take two videos and splice them together and it be something close to the two file sizes added together? I'm not asking for a perfect fit but at least something close. If I can get 2 250Mb videos to splice together and be 600Mbs, that would be good enough. You're probably re-encoding, rather than simply splicing the existing streams. The resulting size will necessarily have some quality loss, and the resulting file size will depend greatly on the quality of your encoder, not just on your settings for codec choice and options. What you really want to do is repackage the audio and video streams from all your files into a single container file. Back when I was poking simple things like this, I used 'avidemux'. That was ages ago, and on Ubuntu, but it might work for you. You'd want to use 'copy' for your audio and video selection, to avoid any transcoding. On Ubuntu, I usually had difficulties(read: crashes) with avidemux when some tool or library it wanted wasn't installed--it wasn't smart enough to remove those options from its menus if those options weren't present. I haven't tried it on gentoo; it's plausible someone fixed that either upstream or as part of some USE flag awareness in the past couple years. I expect there are ways to do the exact same thing on the command line using ffmpeg, but I'm less familiar with that tool.
Re: [gentoo-user] {OT} Allow work from home?
On Monday, January 18, 2016 09:45:28 PM Alec Ten Harmsel wrote: > On Tue, Jan 19, 2016 at 01:46:45AM +0100, lee wrote: > > "J. Roeleveld" <jo...@antarean.org> writes: > > > On Monday, January 18, 2016 02:02:27 AM lee wrote: > > >> "J. Roeleveld" <jo...@antarean.org> writes: > > >> > On 17 January 2016 18:35:20 CET, Mick <michaelkintz...@gmail.com> > > >> > wrote: > > >> > > > >> > [...] > > >> > > > >> >>I use the icaclient provided by Citrix to access my virtual desktop > > >> >>at > > >> >>work, > > >> >>but have never tried to set up something similar at home. What > > >> >>opensource > > >> >>software would I need for this? Is there a wiki somewhere to follow? > > >> >> > > >> > I'd love to do this myself as well. > > >> > > > >> > Citrix sells the full package as 'XenDesktop'. To do it yourself you > > >> > need > > >> > a VMserver (Xen or similar) and a remote desktop tool that hooks into > > >> > the > > >> > VM display. (Spice or VNC) > > >> > > > >> > Then you need some way of authenticating users and providing access > > >> > to the > > >> > client software. [...] > > >> > > >> You would have a full VM for each user? > > > > > > Yes > > > > > >> That would be a huge waste of resources, > > > > > > Diskspace and CPU can easily be overcommitted. > > > > Overcommitting disk space sounds like a very bad idea. Overcommitting > > memory is not possible with xen. > > Depends on how the load is. Right now I have a 500GB HDD at work. I use > VirtualBox and vagrant for testing various software. Every VM in > VirtualBox gets a 50GB hard disk, and I generally have 7 or 8 at a time. > Add in all the other stuff on my system, which includes a 200GB dataset, > and the disk is overcommitted. Of course, none of the VirtualBox disks > use anywhere near 50GB. > > All Joost is saying is that most resources can be overcommitted, since > all the users will not be using all their resources at the same time. If disk-space is considered too expensive, you could even have every VM use the same base image. And have them store only the differences of the disk. eg: 1) Create a VM 2) Snapshot the disk (with the VM shutdown) 3) create a new VM based on the snapshot Repeat 2 and 3 for as many clones you want. Most installs don't change that much when dealing with standardized desktops. -- Joost
Re: [gentoo-user] {OT} Allow work from home?
Alec Ten Harmsel <a...@alectenharmsel.com> writes: > On Tue, Jan 19, 2016 at 01:46:45AM +0100, lee wrote: >> "J. Roeleveld" <jo...@antarean.org> writes: >> >> > On Monday, January 18, 2016 02:02:27 AM lee wrote: >> >> "J. Roeleveld" <jo...@antarean.org> writes: >> >> > On 17 January 2016 18:35:20 CET, Mick <michaelkintz...@gmail.com> wrote: >> >> > >> >> > [...] >> >> > >> >> >>I use the icaclient provided by Citrix to access my virtual desktop at >> >> >>work, >> >> >>but have never tried to set up something similar at home. What >> >> >>opensource >> >> >>software would I need for this? Is there a wiki somewhere to follow? >> >> >> >> >> > I'd love to do this myself as well. >> >> > >> >> > Citrix sells the full package as 'XenDesktop'. To do it yourself you >> >> > need >> >> > a VMserver (Xen or similar) and a remote desktop tool that hooks into >> >> > the >> >> > VM display. (Spice or VNC) >> >> > >> >> > Then you need some way of authenticating users and providing access to >> >> > the >> >> > client software. [...] >> >> >> >> You would have a full VM for each user? >> > >> > Yes >> > >> >> That would be a huge waste of resources, >> > >> > Diskspace and CPU can easily be overcommitted. >> >> Overcommitting disk space sounds like a very bad idea. Overcommitting >> memory is not possible with xen. >> > > Depends on how the load is. Right now I have a 500GB HDD at work. I use > VirtualBox and vagrant for testing various software. Every VM in > VirtualBox gets a 50GB hard disk, and I generally have 7 or 8 at a time. > Add in all the other stuff on my system, which includes a 200GB dataset, > and the disk is overcommitted. Of course, none of the VirtualBox disks > use anywhere near 50GB. True, that's for testing when you do know that the disk space will not be used and have no trouble when it is. When you have the VMs in production and users (employees) using them, you don't know when they will run out of disk space and trouble ensues. > All Joost is saying is that most resources can be overcommitted, since > all the users will not be using all their resources at the same time. How do you overcommit disk space and then shrink the VMs automatically when disk usage gets lower again?
[gentoo-user] [SOLVED] Optimum sound settings for QEMU VM?
On Mon, Mar 28, 2016 at 10:37:57PM -0400, waltd...@waltdnes.org wrote > I'm involved in beta testing Gstreamer 1.x support for HTML5 under > Pale Moon (a Firefox fork). So far so good; it works. I use a QEMU VM > for some building and testing. Things work great on a real physical > machine, but audio absolutely sucks in the QEMU VM. I get an annoying > warble-stutter and the playback seems a bit slower than it should be. > The same thing also happens with mplayer playing a .wav file, so it's > definitely not a Pale Moon browser problem. > > The VM gets 3 gigs of RAM (host has 8), 4 gigs of swap space, and 3 of > the host's 4 cores. Resources should not be a problem. Has anybody got > better performance? If so, what are your kernel and sound card settings? The problem appears to be the "sdl" flag. It slows down things by adding one more layer of middleware and overhead. I also got rid of the "gtk2" flag, for the same reason. By building QEMU with "-sdl" and "-gtk2", I get playback that is indistinguishable from playback on the host. Here is the build that works properly "emerge -pv qemu"... [ebuild R] app-emulation/qemu-2.5.0-r1::gentoo USE="aio alsa curl fdt gtk jpeg ncurses opengl pin-upstream-blobs png snappy ssh threads usb vhost-net vnc -accessibility -bluetooth -caps -debug -filecaps (-glusterfs) -gnutls -gtk2 -infiniband -iscsi -lzo -nfs -nls -numa -pulseaudio -python -rbd -sasl -sdl -sdl2 -seccomp (-selinux) -smartcard -spice -static -static-softmmu -static-user -systemtap -tci {-test} -usbredir -uuid -vde -virgl -virtfs -vte -xattr -xen -xfs" PYTHON_TARGETS="python2_7" QEMU_SOFTMMU_TARGETS="i386 x86_64 -aarch64 -alpha -arm -cris -lm32 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -moxie -or32 -ppc -ppc64 -ppcemb -s390x -sh4 -sh4eb -sparc -sparc64 -tricore -unicore32 -xtensa -xtensaeb" QEMU_USER_TARGETS="i386 x86_64 -aarch64 -alpha -arm -armeb -cris -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -mipsn32 -mipsn32el -or32 -ppc -ppc64 -ppc64abi32 -ppc64le -s390x -sh4 -sh4eb -sparc -sparc32plus -sparc64 -tilegx -unicore32" -- Walter Dnes <waltd...@waltdnes.org> I don't run "desktop environments"; I run useful applications
[gentoo-user] portage blocking portage update
I just did an "emerge --sync", and was told to update portage. But it seems that portage 3.0.8 built with python 3.7 is blocking portage 3.0.9 with python 3.8. I obviously can't remove portage to fix the block . Note "grep -i python /etc/portage/make.conf" shows no output at all. In package.use, PYTHON_TARGETS: and PYTHON_SINGLE_TARGET: are commented out. [i3][root][~] grep -i python /etc/portage/make.conf [i3][root][~] grep -i python /etc/portage/package.use/package.use # */* PYTHON_TARGETS: python3_6 python3_7 # */* PYTHON_SINGLE_TARGET: -* python3_6 app-emulation/qemu aio alsa fdt opengl usb vhost-net gtk sdl curl ssh -bluetooth -iscsi -pulseaudio -rbd -smartcard -usbredir -spice -accessibility -caps -debug -glusterfs -filecaps -ncurses -pin-upstream-blobs -python -sasl -sdl2 -seccomp -selinux -static -static -static-softmmu -static-user -tci -test -tls -vde -virtfs -xattr -xen -xfs dev-lang/python sqlite dev-libs/libxml2 python media-gfx/gimp exif python tiff Any ideas? The build attempt follows... [i3][root][~] emerge --oneshot sys-apps/portage Calculating dependencies... done! [ebuild U ] sys-apps/portage-3.0.9 [3.0.8] PYTHON_TARGETS="python3_8* -python3_7*" !!! Multiple package instances within a single package slot have been pulled !!! into the dependency graph, resulting in a slot conflict: sys-apps/portage:0 (sys-apps/portage-3.0.9:0/0::gentoo, ebuild scheduled for merge) USE="(ipc) native-extensions xattr -apidoc -build -doc -gentoo-dev -rsync-verify (-selinux) -test" PYTHON_TARGETS="python3_8 (-pypy3) -python3_6 -python3_7 -python3_9" pulled in by sys-apps/portage (Argument) (sys-apps/portage-3.0.8:0/0::gentoo, installed) USE="(ipc) native-extensions xattr -apidoc -build -doc -gentoo-dev -rsync-verify (-selinux) -test" PYTHON_TARGETS="python3_7 (-pypy3) -python3_6 -python3_8 -python3_9" pulled in by sys-apps/portage[python_targets_pypy3(-)?,python_targets_python3_6(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,-python_single_target_pypy3(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-),-python_single_target_python3_9(-)] required by (app-portage/gentoolkit-0.5.0-r2:0/0::gentoo, installed) USE="-test" PYTHON_TARGETS="python3_7 (-pypy3) -python3_6 -python3_8 -python3_9" -- Walter Dnes I don't run "desktop environments"; I run useful applications
[gentoo-user] Required binary "virtfs-proxy-helper" couldn't be found
Hey guys, I unmasked package qemu-6.1.0 because I needed that version for LXD. I have compiled qemu with the following USE flags enabled: app-emulation/qemu curl nfs ssh usbredir io-uring virgl virtfs usb xfs aio slirp pin-upstream-blobs vhost-net vhost-user-fs opengl spice vde fdt -vnc Here's what happens when I try to share a /var/cache/distfiles directory between the host and virtual machine: ┌─[doskanoness@spacev7-lapek] - [~] - [2021-10-09 07:30:40] └─[0] <> lxc init gentoo-vm gentoo ⚡[..] Creating gentoo ┌─[doskanoness@spacev7-lapek] - [~] - [2021-10-09 07:34:21] └─[0] <> lxc profile add gentoo binserver ⚡[..] Profile binserver added to gentoo ┌─[doskanoness@spacev7-lapek] - [~] - [2021-10-09 07:34:31] └─[1] <> lxc start gentoo ⚡[..] Error: Failed to start device "distfiles": Failed to setup virtfs-proxy-helper for device "distfiles": Required binary "virtfs-proxy-helper" couldn't be found Try `lxc info --show-log gentoo` for more info ┌─[doskanoness@spacev7-lapek] - [~] - [2021-10-09 07:34:40] └─[1] <> lxc start gentoo ⚡[..] Error: Failed to start device "distfiles": remove /var/lib/lxd/devices/gentoo/disk.distfiles.var-cache-distfiles-: device or resource busy Try `lxc info --show-log gentoo` for more info ┌─[doskanoness@spacev7-lapek] - [~] - [2021-10-09 07:36:24] └─[0] <> lxc profile show binserver ⚡[..] config: limits.cpu: "12" limits.memory: 8GB description: "" devices: distfiles: path: /var/cache/distfiles/ shift: "true" source: /var/cache/distfiles/ type: disk name: binserver used_by: - /1.0/instances/gentoo I think the real issue is here: ┌─[doskanoness@spacev7-lapek] - [~] - [2021-10-09 07:34:31] └─[1] <> lxc start gentoo ⚡[..] Error: Failed to start device "distfiles": Failed to setup virtfs-proxy-helper for device "distfiles": Required binary "virtfs-proxy-helper" couldn't be found Try `lxc info --show-log gentoo` for more info Any ideas how can I make virtfs-proxy-helper binary available? OpenPGP_0xB88FD4605EAEC3B4.asc Description: OpenPGP public key OpenPGP_signature Description: OpenPGP digital signature
Re: [gentoo-user] {OT} Allow work from home?
On Tuesday, January 19, 2016 01:46:45 AM lee wrote: > "J. Roeleveld" <jo...@antarean.org> writes: > > On Monday, January 18, 2016 02:02:27 AM lee wrote: > >> "J. Roeleveld" <jo...@antarean.org> writes: > >> > On 17 January 2016 18:35:20 CET, Mick <michaelkintz...@gmail.com> > >> > wrote: > >> > > >> > [...] > >> > > >> >>I use the icaclient provided by Citrix to access my virtual desktop at > >> >>work, > >> >>but have never tried to set up something similar at home. What > >> >>opensource > >> >>software would I need for this? Is there a wiki somewhere to follow? > >> >> > >> > I'd love to do this myself as well. > >> > > >> > Citrix sells the full package as 'XenDesktop'. To do it yourself you > >> > need > >> > a VMserver (Xen or similar) and a remote desktop tool that hooks into > >> > the > >> > VM display. (Spice or VNC) > >> > > >> > Then you need some way of authenticating users and providing access to > >> > the > >> > client software. [...] > >> > >> You would have a full VM for each user? > > > > Yes > > > >> That would be a huge waste of resources, > > > > Diskspace and CPU can easily be overcommitted. > > Overcommitting disk space sounds like a very bad idea. Overcommitting > memory is not possible with xen. Overcommitting diskspace isn't such a bad idea, considering most installs never utilize all the available diskspace. Overcommitting memory is, i think, on the roadmap for Xen. (Disclaimer: At least, I seem to remember reading that somewhere) > >> plus having to take care of a lot of VMs, > > > > Automated. > > Like how? How do you manage a large amount of physical machines? Just change physical to VMs and do it the same. With VMs you have more options for automation. > >> plus having to buy a lot of Windoze licenses > > > > Volume licensing takes care of that. > > expensive Depends on the requirements. It's cheaper then a few hundred seperate windows licenses. > >> and taking about a week to install the updates > >> after installing a VM. > > > > Never heard of VM templates? > > It still takes a week to put the updates onto the template. Last time I had to fully reinstall a windows machine it took me a day to do all the updates. Microsoft even has server software that will keep them locally and push them to the clients. > >> Add to that that the xen host goes down at > >> random time intervals (because the sending queue of the network card > >> times out for reasons that cannot be determined) which can be as long as > >> a day, a week or even up to three weeks, and you are likely to become a > >> rather unhappy administrator. > > > > Sorry, but I consider that a bug in your hardware. If it's really that > > unstable, replace it. > > I've been running Xen enabled servers for nearly 15 years. Never had > > issues > > like that. If it were truly that unstable, it wouldn't be gaining > > popularity. > The hardware has already been replaced, and the problem persists. Other > machines of identical hardware that don't run xen don't show any issues. I still say the hardware is buggy. With replacing, I meant replace it with different hardware, not a different version of the same buggy stuff. > >> Try kvm instead, and you'll find that > >> it's impossible to migrate the VMs from xen to to kvm when you want to > >> use virtio drivers because you can't install them on an existing Windoze > >> VM. > > > > Not a problem with the virtualisation technology. It is an issue with > > driver management inside MS Windows. > > There are ways to migrate VMs succesfully, I just don't see the point in > > wasting time for that. > > It's time consuming when you have to reinstall the VMs to migrate them > to kvm. And when you don't have the installers of all the software > that's on some of the VMs and can't get them, you either have to run > them without virtio drivers or you can't migrate them. There are Howtos on the internet describing how to migrate VMs from 1 technology to another. Shouldn't be too hard. And keeping the installers at hand is, in my opinion, a requirement of sane system management. I have installers for all the versions of software I deal with. > > The biggest reason why I don't use KVM is the lack of full snapshot > > functionality. Snapshotting disks is nice, but you end up with
Re: [gentoo-user] Reboot when GRUB starts
Colin schreef: On Mon, 13 Jun 2005, Colin wrote: /boot/grub/grub.conf === default 0 timeout 10 splashimage=(hd0,0)/grub/splash.xpm.gz title=Gentoo Linux 2.6.11-r9 root (hd0,0) kernel=/kernel-2.6.11-gentoo-r9 root=/dev/hde3 video=vesafb:mtrr,ywrap vga=0x31B Shouldn't that be: kernel /kernel-2.6.11-gentoo-r9 root=/dev/hde3 video=vesafb:mtrr,ywrap vga=0x31B Good catch! Yes, fix this first. Also, there is no '=' for the title. The handbook shows an equal sign. It's worked before on another system. No, it does not: Code Listing 3: grub.conf for non-genkernel users # Which listing to boot as default. 0 is the first, 1 the second etc. default 0 # How many seconds to wait before the default listing is booted. timeout 30 # Nice, fat splash-image to spice things up :) # Comment out if you don't have a graphics card installed splashimage=(hd0,0)/grub/splash.xpm.gz title=Gentoo Linux 2.6.11-r3 # Partition where the kernel image (or operating system) is located root (hd0,0) kernel /kernel-2.6.11-gentoo-r3 root=/dev/hda3 # The next four lines are only if you dualboot with a Windows system. # In this case, Windows is hosted on /dev/hda6. title=Windows XP rootnoverify (hd0,5) makeactive chainloader +1 Code Listing 4: grub.conf for genkernel users default 0 timeout 30 splashimage=(hd0,0)/grub/splash.xpm.gz title=Gentoo Linux 2.6.11-r3 root (hd0,0) kernel /kernel-2.6.11-gentoo-r3 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3 udev initrd /initrd-2.6.11-gentoo-r3 # Only in case you want to dual-boot title=Windows XP root (hd0,5) makeactive chainloader +1 Perhaps you're thinking of the LiLO config: Code Listing 11: Example /etc/lilo.conf boot=/dev/hda # Install LILO in the MBR prompt# Give the user the chance to select another section timeout=50# Wait 5 (five) seconds before booting the default section default=gentoo# When the timeout has passed, boot the gentoo section # For non-genkernel users image=/boot/kernel-2.6.11-gentoo-r3 label=gentoo# Name we give to this section read-only # Start with a read-only root. Do not alter! root=/dev/hda3 # Location of the root filesystem # For genkernel users image=/boot/kernel-2.6.11-gentoo-r3 label=gentoo read-only root=/dev/ram0 append=init=/linuxrc ramdisk=8192 real_root=/dev/hda3 udev initrd=/boot/initrd-2.6.11-gentoo-r3 # The next two lines are only if you dualboot with a Windows system. # In this case, Windows is hosted on /dev/hda6. other=/dev/hda6 label=windows GRUB does not take an equal sign in that position, but Istr that Lilo does. Holly -- gentoo-user@gentoo.org mailing list
[gentoo-user] System.map not found - unable to check symbols
Hello list, Following closely the instrunctions on the Gentoo Linux x86 Handbook, I installed gentoo recently (info below) and just did the first reboot before finalizing the installation. All worked except for this message during boot System.map not found - unable to check symbols. which doesn't seem to cause problems during/after booting (??). I did a manual kernel compilation and the handbook didn't say anything about copying System.map to /boot. On a second attempt to reboot I did copied System.map to /boot. My grub.conf follows below. In /boot I have System.map and System.map-2.6.15.1 files (System.map is a soft link). Thanks for any help. -- Valmor --- grub.conf # Boot automatically after 30 secs. timeout 30 # By default, boot the first entry. default 0 # Nice, fat splash-image to spice things up :) splashimage=(hd0,0)/grub/splash.xpm.gz # For booting GNU/Linux title Gentoo GNU/Linux [kernel-2.6.15.1.VFdA-1] 08May06 root (hd0,0) kernel /kernel-2.6.15.1-VFdA-1 root=/dev/hda3 Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15.1 i686) = System uname: 2.6.15.1 i686 Intel(R) Xeon(TM) CPU 2.60GHz Gentoo Base System version 1.6.14 dev-lang/python: 2.4.2 dev-python/pycrypto: [Not Present] dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox:1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS=x86 AUTOCLEAN=yes CBUILD=i686-pc-linux-gnu CFLAGS=-O3 -march=pentium4 -pipe CHOST=i686-pc-linux-gnu CONFIG_PROTECT=/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control CONFIG_PROTECT_MASK=/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d CXXFLAGS=-O3 -march=pentium4 -pipe DISTDIR=/usr/portage/distfiles FEATURES=autoconfig distlocks sandbox sfperms strict GENTOO_MIRRORS=ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/g entoo ftp://mirror.iawnet.sandia.gov/pub/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ ft p://gentoo.chem.wisc.edu/gentoo/ http://mirrors.acm.cs.rpi.edu/gentoo/ http://open-syst ems.ufl.edu/mirrors/gentoo http://mirror.mcs.anl.gov/pub/gentoo/ ftp://mirror.mcs.anl.g ov/pub/gentoo/ MAKEOPTS=-j3 PKGDIR=/usr/portage/packages PORTAGE_TMPDIR=/var/tmp PORTDIR=/usr/portage SYNC=rsync://rsync.gentoo.org/gentoo-portage USE=x86 X avi berkdb bitmap-fonts bzip2 cli crypt cups dri encode expat foomaticdb for tran gdbm gif gnome gpm gstreamer gtk gtk2 imlib isdnlog jpeg libg++ libwww motif mpeg ncurses nls nptl opengl pam pcre pdflib perl png pppd python qt quicktime readline refl ection sdl session spl ssl tcpd truetype truetype-fonts type1-fonts udev xml xmms xorg xv zlib userland_GNU kernel_linux elibc_glibc Unset: ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_E XTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: Managing multiple Gentoo systems
The 06/07/11, Grant wrote: After a frustrating experience with a Linksys WRT54GL, I've decided to stick with Gentoo routers. This increases the number of Gentoo systems I'm responsible for and they're nearing double-digits. What can be done to make the management of multiple Gentoo systems easier? I think identical hardware in each system would help a lot but I'm not sure that's practical. I need to put together a bunch of new workstations and I'm thinking some sort of server/client arrangement with the only Gentoo install being on the server could be appropriate. I maintain multiple Gentoo we mostly use as KVM hosts systems (and coming embedded routers). As KVM hosts, some of them are very sensible. Due to the contracts to our customers, I have to do with various update strategies on top of various hardware. Thanks to everyone for some very juicy tidbits. I'm rearranging my thinking on all of this. I think the key for me may be to combine systems with separate functions in the same physical location into a single system. Does the KVM thing work well? KVM itself works very well here, even with advanced features such as KSM pages sharing. The difficulties come with Microsoft products for both good integration and perfomance (I would recommend RAW format, iSCSI or plain physical partition instead of qcow2, for example). That beeing said, I finally have all working well for XP, NT2003 and 2008 servers. I use libvirt on top of KVM which is in the way to become very good AFA you don't rely on libvirt's API which tend to move a lot. Running a bunch of workstations as nothing more than wireless KVM setups on the same system? I should be able to cut my Gentoo systems down to just a few. Basically one at each physical location. I would be much sceptical for both workstations and wireless guests than for servers: 1) For workstations, things are currently changing with the very recent and not much usable with Gentoo, yet spice software. I expect a lot of improvments in the coming months for this use case. I would say it's not ready for production, yet. 2) About wireless virtualization it's highly depending on what you aim to do, especially if you intend to use the PCI passthrough feature to give your wireless card to a guest. For this to work, you MUST have your hardware (CPU, motherboard and PCI card) VT-d compatible which is currently NOT a piece of cake, today. It relies on industry and manufacturers moving not as fast as software. I would expect more widely VT-d cards in the coming _years_. Now, if you intend to use the wireless card from you hosts and share networks using bridge utilities it _MAY_ be OK: Linux bridging does not always work with all wireless cards (see http://tinyurl.com/ylcutwv for more information). In a more general approach, when I hear routers and wireless I'm more thinking _embedded_. KVM/qemu would only help you to build your target systems. For embedded (or tiny, at least) systems, I would not use LXC. The drawback with Gentoo is that the current official uclibc stage3 for embedded/tiny systems is obsolete and marked as experimental. In facts, it's very _hard_ if not impossible to use it these days. Making your own cross-compilation environment is not a piece of cake (too), even with dedicated tools such as crossdev. This topic would ask its own book. So, if you want to try Gentoo embedded save your time by working on unofficial stage3. -- Nicolas Sebrecht
Re: [gentoo-user] Video editing advice on formats and size of file
Michael Mol wrote: Dale wrote: Howdy, I been trying to get this to work right for a goood while now. I'm confused here. I have some videos that I download that are split up. Some have two or three parts and a few 4 or 5. What I can't get is this, I can't seem to take say two 250Mb videos and make it come anywhere near 500Mbs when spliced together. They usually end up being 1.5Gb and sometimes much more. I use Kdenlive to do this with. I have tried every setting that I can find. I have used exiftool to try to match the encoding and rates and all that with no improvement or very little improvement. Is there some secret spice that I am missing or something? Why can't I take two videos and splice them together and it be something close to the two file sizes added together? I'm not asking for a perfect fit but at least something close. If I can get 2 250Mb videos to splice together and be 600Mbs, that would be good enough. You're probably re-encoding, rather than simply splicing the existing streams. The resulting size will necessarily have some quality loss, and the resulting file size will depend greatly on the quality of your encoder, not just on your settings for codec choice and options. What you really want to do is repackage the audio and video streams from all your files into a single container file. Back when I was poking simple things like this, I used 'avidemux'. That was ages ago, and on Ubuntu, but it might work for you. You'd want to use 'copy' for your audio and video selection, to avoid any transcoding. On Ubuntu, I usually had difficulties(read: crashes) with avidemux when some tool or library it wanted wasn't installed--it wasn't smart enough to remove those options from its menus if those options weren't present. I haven't tried it on gentoo; it's plausible someone fixed that either upstream or as part of some USE flag awareness in the past couple years. I expect there are ways to do the exact same thing on the command line using ffmpeg, but I'm less familiar with that tool. Well, it took some experimenting but I finally figured it out. I like to have never found the save video option under the file menu. Why not hide it next time. lol I can't blame it on my glasses this time either. I got new ones a while back. Maybe it is stupidity. o_O I will say this tho, it is dang fast. It took like 10 to 15 seconds and it was done. Kdenlive took MUCH longer. File size is awesome too. The two files added are very close to just adding the file size of each video. I'm talking within a megabyte or two. Thanks for this tip. I got a new toy to play with. lol Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words! Miss the compile output? Hint: EMERGE_DEFAULT_OPTS=--quiet-build=n
Re: [gentoo-user] QEMU unable to initialize audio
I was saying the libsdl packages have a USE flag "sound" which builds the sound module for sdl. So if qemu makes any calls to the sound module not pure alsa calls, that might be causing your issue. Wabes USE flag output shows he's building sdl with the "sound" use flag enabled and not just alsa alone. On Thu, Dec 24, 2015, 22:26 <waben...@gmail.com> wrote: > waltd...@waltdnes.org wrote: > > > On Thu, Dec 24, 2015 at 10:48:28PM +, Ian Bloss wrote > > > Libsdl and libsdl2 built with sound use flag on host? > > > > I didn't bother enabling alsa except for packages that actually need > > it. I've enabled it for libsdl, but not for sdl2, because I didn't > > realize libsdl2 even existed. According to equery, the only package > > pulling in libsdl2 is qemu, and that's because I set the flag. If I > > remove the "alsa2" flag from qemu, will it work properly with "alsa" > > alone? > > On my host system I use alsa and no pulseaudio. However it doesn't > make any difference if I set the alsa USE-flag for qemu or not. > > I don't know if qemu runs flawless without sdl2 USE-flag. But you can > easily test this. > > Btw. Since I reverted from qemu-2.5.0 back to qemu-2.4.1-r2, qemu > hangs no longer when I specify ac97, hda or es1370 as sound hardware > emulation. But I have to start the xfce mixer application on the > guest OS after the desktop is loaded. If I don't do this, then one > core on my host is always at 100% load and qemu is slow and sometimes > doesn't respond for some seconds. But no error message appears on > guest or host. > Strange is, that the guest OS doesn't show a high load but only the > host OS. After I started the xfce-mixer app on guest OS, everything > is smooth and host load count normalizes. > > I now use qemu with "-soundhw es1370" and am have automated the start > of the mixer app. With this, sound is working fine. > > As I already said, when I use sb16 or gus then I have no sound at all. > Only ac97, hda and es1370 are working for me. Maybe this has something > to do with the guest OS. > > Here are the USE-flags that I use for qemu, libsdl and libsdl2. > > app-emulation/qemu-2.4.1-r2 aio caps curl fdt filecaps gtk gtk2 jpeg lzo > ncurses nfs nls opengl pin-upstream-blobs png python sasl sdl sdl2 seccomp > spice threads usb uuid vde vhost-net vnc xattr xfs -accessibility -alsa > -bluetooth -debug -glusterfs -infiniband -iscsi -numa -pulseaudio -rbd > -selinux -smartcard -snappy -ssh -static -static-softmmu -static-user > -systemtap -tci -test -tls -usbredir -virtfs -vte -xen > > media-libs/libsdl-1.2.15-r9 X alsa dga fbcon joystick opengl oss sound > video xv -aalib -custom-cflags -libcaca -nas -pulseaudio -static-libs > -tslib -xinerama > > media-libs/libsdl2-2.0.3-r200 X alsa dbus joystick opengl oss sound > threads udev video xscreensaver -altivec -custom-cflags -fusionsound -gles > -haptic -nas -pulseaudio -static-libs -tslib -wayland -xinerama > > -- > Regards > wabe > >
Re: [gentoo-user] QEMU unable to initialize audio
waltd...@waltdnes.org wrote: > On Thu, Dec 24, 2015 at 10:48:28PM +, Ian Bloss wrote > > Libsdl and libsdl2 built with sound use flag on host? > > I didn't bother enabling alsa except for packages that actually need > it. I've enabled it for libsdl, but not for sdl2, because I didn't > realize libsdl2 even existed. According to equery, the only package > pulling in libsdl2 is qemu, and that's because I set the flag. If I > remove the "alsa2" flag from qemu, will it work properly with "alsa" > alone? On my host system I use alsa and no pulseaudio. However it doesn't make any difference if I set the alsa USE-flag for qemu or not. I don't know if qemu runs flawless without sdl2 USE-flag. But you can easily test this. Btw. Since I reverted from qemu-2.5.0 back to qemu-2.4.1-r2, qemu hangs no longer when I specify ac97, hda or es1370 as sound hardware emulation. But I have to start the xfce mixer application on the guest OS after the desktop is loaded. If I don't do this, then one core on my host is always at 100% load and qemu is slow and sometimes doesn't respond for some seconds. But no error message appears on guest or host. Strange is, that the guest OS doesn't show a high load but only the host OS. After I started the xfce-mixer app on guest OS, everything is smooth and host load count normalizes. I now use qemu with "-soundhw es1370" and am have automated the start of the mixer app. With this, sound is working fine. As I already said, when I use sb16 or gus then I have no sound at all. Only ac97, hda and es1370 are working for me. Maybe this has something to do with the guest OS. Here are the USE-flags that I use for qemu, libsdl and libsdl2. app-emulation/qemu-2.4.1-r2 aio caps curl fdt filecaps gtk gtk2 jpeg lzo ncurses nfs nls opengl pin-upstream-blobs png python sasl sdl sdl2 seccomp spice threads usb uuid vde vhost-net vnc xattr xfs -accessibility -alsa -bluetooth -debug -glusterfs -infiniband -iscsi -numa -pulseaudio -rbd -selinux -smartcard -snappy -ssh -static -static-softmmu -static-user -systemtap -tci -test -tls -usbredir -virtfs -vte -xen media-libs/libsdl-1.2.15-r9 X alsa dga fbcon joystick opengl oss sound video xv -aalib -custom-cflags -libcaca -nas -pulseaudio -static-libs -tslib -xinerama media-libs/libsdl2-2.0.3-r200 X alsa dbus joystick opengl oss sound threads udev video xscreensaver -altivec -custom-cflags -fusionsound -gles -haptic -nas -pulseaudio -static-libs -tslib -wayland -xinerama -- Regards wabe
Re: [gentoo-user] Recommended pseudo-hardware for QEMU guest machine?
waltd...@waltdnes.org wrote: > On Sun, Dec 20, 2015 at 04:47:35AM +0100, waben...@gmail.com wrote > > waltd...@waltdnes.org wrote: > > > > > I'm now at the configuring-the-kernel stage of the Gentoo guest > > > install. I had originally expected to pull in the .config from > > > the host machine, make a few tweaks, and get going. However, it > > > appears that multiple video and sound and network cards are > > > supported, none of which match those on the host. Which ones do > > > people recommend selecting? > > > > > > > That's what I'm using to start qemu: > > > > qemu-system-x86_64 -machine accel=kvm -cpu host -m 4096 -enable-kvm > > -name vm-01 -net nic,model=virtio -net user,hostfwd=tcp::2022-:22 > > -localtime -hda /path/to/image.qcow2 -display gtk -vga vmware > > I can't get X to work on the guest. Text console is OK, but no X. > I ticked support for cirrus, bochs, qxl, and vmware emulation in the > guest kernel. I wonder if I missed something. I also emerged the > corresponding X drivers. vmware was a pain because I had to rebuild > mesa and other stuff to emerge the vmware video driver. > > File-attached are Xorg logs for failed attempts with vga= > cirrus/std/vmware. QEMU refused to start when I specified -vga qxl. > The vmware log looks like it started X properly, but it immediately > dumped me out, and gave an all-red QEMU window. I ssh'd in from the > host to set up the next card. I know that the all-red window was a > text console. To reboot, I blindly typed "su -", followed by root > password, followed by "halt -p", and the QEMU session halted. > > I use the following script to boot up Gentoo on the guest. I cycled > through all 4 cards... > > #!/bin/bash > qemu-system-i386 -enable-kvm \ >-cpu host -display gtk -vga cirrus \ >-drive file=gentoo32.img,format=raw \ >-drive file=linuxswap.img,format=raw \ >-net nic,model=virtio \ >-rtc base=localtime,clock=host \ >-net user,hostname=gentoovm,hostfwd=tcp::2022-:22 \ >-m 3G -monitor stdio -name "Gentoo VM" \ >-parallel none \ >${@ > I never used gentoo as guest OS, only xubuntu and OpenSuse. So I can't give you tips for your gentoo guest installation. Have you also tried it without the -monitor option? Here some infos about my host and guest OS. Host: gentoo, kernel 4.1.7-hardened-r1, qemu-2.5.0, x11-base/xorg-server-1.17.4, x11-drivers/xf86-video-ati-7.6.1 Guest: xubuntu 14.04.3 LTS, kernel 3.13.0-74-generic, vmware VGA emulation If screen resolution and performance isn't that important for you then you could also try to connect via vnc or spice. Attached is my guest xorg.log. -- Regards wabe Xorg.0.log.bz2 Description: application/bzip
Re: [gentoo-user] {OT} Allow work from home?
On 17 January 2016 18:35:20 CET, Mick <michaelkintz...@gmail.com> wrote: >On Sunday 17 Jan 2016 16:51:00 J. Roeleveld wrote: >> On Sunday, January 17, 2016 10:46:38 AM Rich Freeman wrote: >> > On Sun, Jan 17, 2016 at 10:27 AM, J. Roeleveld <jo...@antarean.org> >wrote: >> > > Actually, there are several large corporations that use RDP-like >> > > technologies. Although those are called "VDI" and usually use >XenDesktop >> > > on the server side and "icaclient" on the client. >> > > Runs through HTTPS and apart from keyloggers and screenloggers, >there is >> > > not much that can be done. >> > > Using 2-factor authentication (RSA-type keys or similar) they're >pretty >> > > secure. >> > >> > Yeah, I would agree with that. I've set up a few thin client >citrix >> > boxes ages ago. These days I'd say the web is the bigger trend, >and I >> > agree that 2-factor can greatly reduce the impact of keylogging. >One >> > of the nice things with one of the SaaS applications we're using at >> > work is that if we're having connection issues I can just wake up >my >> > console on my home PC next to my VPN'ed laptop and see if the >> > application is accessible with a complete different route (suffice >it >> > to say I sometimes dread using the office LAN for this reason - >I've >> > seen file transfers go faster over the VPN than the local WiFi). >> > >> > But, if you're still stuck with win32 applications Citrix is >certainly >> > a solution. I was thinking it might take over the corporate >desktop >> > until everything started moving more towards the web. >> >> XenDesktop is actually a lot nicer than the classical "Citrix". >> You end up with a full VM rather than a multi-user hack on top of a >single >> user OS. >> >> I prefer to work using VDI/icaclient than with the company supplied >laptops. >> Especially since my own laptop and desktop is nicer to type with and >the >> screen is better quality... >> >> -- >> Joost > >I use the icaclient provided by Citrix to access my virtual desktop at >work, >but have never tried to set up something similar at home. What >opensource >software would I need for this? Is there a wiki somewhere to follow? I'd love to do this myself as well. Citrix sells the full package as 'XenDesktop'. To do it yourself you need a VMserver (Xen or similar) and a remote desktop tool that hooks into the VM display. (Spice or VNC) Then you need some way of authenticating users and providing access to the client software. I have not been able to set all that up myself yet, but it is on my wish/todo list. Ideally, I'd like an affordable XenDesktop licencing scheme for a few simultaneous users. -- Joost -- Sent from my Android device with K-9 Mail. Please excuse my brevity.
Re: [gentoo-user] QEMU not running on new machine
On Wed, 2021-05-26 at 12:50 -0400, Walter Dnes wrote: > With my older machine locking up once too often at in-opportune > times, > I've switched over to a newer machine, which I've tried to set up > identically. QEMU is not laumching. It worked on the older system. > The error message is... > > [x8940][waltdnes][~] /home/misc/qemu/arca/boot > Could not access KVM kernel module: No such file or directory > qemu-system-x86_64: failed to initialize kvm: No such file or directory > > My user is a member of the kvm group, and I get the same error trying > to launch as root > > My system... > > * 12-core Intel Skylake with 16 gigs of ram, 64-bit gentoo > > * Yes, KVM support is installed in the kernel... > [x8940][waltdnes][~] zgrep KVM_INTEL /proc/config.gz > CONFIG_KVM_INTEL=y > > * make.conf contains > QEMU_SOFTMMU_TARGETS="i386 x86_64" > QEMU_USER_TARGETS="i386 x86_64" > > * including flags in package.use, I get > [x8940][waltdnes][/etc/portage/package.use] emerge -pv qemu > > These are the packages that would be merged, in order: > > Calculating dependencies... done! > [ebuild R ] app-emulation/qemu-5.2.0-r3::gentoo USE="aio alsa > bzip2 curl doc fdt gtk jpeg opengl oss png sdl slirp ssh usb vhost-net > vnc -accessibility -caps (-capstone) -debug -filecaps -glusterfs - > gnutls -infiniband -io-uring -iscsi -jack -jemalloc -lzo -multipath - > ncurses -nfs -nls -numa -pin-upstream-blobs -plugins -pulseaudio - > python -rbd -sasl -sdl-image -seccomp (-selinux) -smartcard -snappy - > spice -static -static-user -systemtap -test -udev -usbredir -vde - > vhost-user-fs -virgl -virtfs -vte -xattr -xen -xfs -zstd" > PYTHON_TARGETS="python3_8 -python3_7 -python3_9" > QEMU_SOFTMMU_TARGETS="i386 x86_64 -aarch64 -alpha -arm -avr -cris -hppa > -lm32 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel - > moxie -nios2 -or1k -ppc -ppc64 -riscv32 -riscv64 -rx -s390x -sh4 -sh4eb > -sparc -sparc64 -tricore -unicore32 -xtensa -xtensaeb" > QEMU_USER_TARGETS="i386 x86_64 -aarch64 -aarch64_be -alpha -arm -armeb > -cris -hppa -m68k -microblaze -microblazeel -mips -mips64 -mips64el - > mipsel -mipsn32 -mipsn32el -nios2 -or1k -ppc -ppc64 -ppc64abi32 - > ppc64le -riscv32 -riscv64 -s390x -sh4 -sh4eb -sparc -sparc32plus - > sparc64 -tilegx -xtensa -xtensaeb" 0 KiB > > * The startup script is... > > [x8940][waltdnes][~] cat /home/misc/qemu/arca/boot > #!/bin/bash > cd /home/misc/qemu/arca > sudo /usr/bin/qemu-system-x86_64 -enable-kvm -runas waltdnes \ > -cpu host -monitor vc -display gtk \ > -drive file=arcac.img,format=raw \ > -netdev user,id=mynetwork \ > -device e1000,netdev=mynetwork \ > -rtc base=localtime,clock=host \ > -m 1024 -name "ArcaOS VM" \ > -vga std -parallel none \ > ${@} > > I repeat. it worked on the older machine. > Hi, What comes to my mind is actually describe in here[1]. Possibly virtualization is disabled in BIOS/Firmware. [1] https://wiki.gentoo.org/wiki/QEMU#BIOS_and_UEFI_firmware
[gentoo-user] QEMU not running on new machine
With my older machine locking up once too often at in-opportune times, I've switched over to a newer machine, which I've tried to set up identically. QEMU is not laumching. It worked on the older system. The error message is... [x8940][waltdnes][~] /home/misc/qemu/arca/boot Could not access KVM kernel module: No such file or directory qemu-system-x86_64: failed to initialize kvm: No such file or directory My user is a member of the kvm group, and I get the same error trying to launch as root My system... * 12-core Intel Skylake with 16 gigs of ram, 64-bit gentoo * Yes, KVM support is installed in the kernel... [x8940][waltdnes][~] zgrep KVM_INTEL /proc/config.gz CONFIG_KVM_INTEL=y * make.conf contains QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" * including flags in package.use, I get [x8940][waltdnes][/etc/portage/package.use] emerge -pv qemu These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R] app-emulation/qemu-5.2.0-r3::gentoo USE="aio alsa bzip2 curl doc fdt gtk jpeg opengl oss png sdl slirp ssh usb vhost-net vnc -accessibility -caps (-capstone) -debug -filecaps -glusterfs -gnutls -infiniband -io-uring -iscsi -jack -jemalloc -lzo -multipath -ncurses -nfs -nls -numa -pin-upstream-blobs -plugins -pulseaudio -python -rbd -sasl -sdl-image -seccomp (-selinux) -smartcard -snappy -spice -static -static-user -systemtap -test -udev -usbredir -vde -vhost-user-fs -virgl -virtfs -vte -xattr -xen -xfs -zstd" PYTHON_TARGETS="python3_8 -python3_7 -python3_9" QEMU_SOFTMMU_TARGETS="i386 x86_64 -aarch64 -alpha -arm -avr -cris -hppa -lm32 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -moxie -nios2 -or1k -ppc -ppc64 -riscv32 -riscv64 -rx -s390x -sh4 -sh4eb -sparc -sparc64 -tricore -unicore32 -xtensa -xtensaeb" QEMU_USER_TARGETS="i386 x86_64 -aarch64 -aarch64_be -alpha -arm -armeb -cris -hppa -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -mipsn32 -mipsn32el -nios2 -or1k -ppc -ppc64 -ppc64abi32 -ppc64le -riscv32 -riscv64 -s390x -sh4 -sh4eb -sparc -sparc32plus -sparc64 -tilegx -xtensa -xtensaeb" 0 KiB * The startup script is... [x8940][waltdnes][~] cat /home/misc/qemu/arca/boot #!/bin/bash cd /home/misc/qemu/arca sudo /usr/bin/qemu-system-x86_64 -enable-kvm -runas waltdnes \ -cpu host -monitor vc -display gtk \ -drive file=arcac.img,format=raw \ -netdev user,id=mynetwork \ -device e1000,netdev=mynetwork \ -rtc base=localtime,clock=host \ -m 1024 -name "ArcaOS VM" \ -vga std -parallel none \ ${@} I repeat. it worked on the older machine. -- Walter Dnes I don't run "desktop environments"; I run useful applications
Re: [gentoo-user] {OT} Allow work from home?
"J. Roeleveld" <jo...@antarean.org> writes: > On Tuesday, January 19, 2016 01:46:45 AM lee wrote: >> "J. Roeleveld" <jo...@antarean.org> writes: >> > On Monday, January 18, 2016 02:02:27 AM lee wrote: >> >> "J. Roeleveld" <jo...@antarean.org> writes: >> >> > On 17 January 2016 18:35:20 CET, Mick <michaelkintz...@gmail.com> >> >> > wrote: >> >> > >> >> > [...] >> >> > >> >> >>I use the icaclient provided by Citrix to access my virtual desktop at >> >> >>work, >> >> >>but have never tried to set up something similar at home. What >> >> >>opensource >> >> >>software would I need for this? Is there a wiki somewhere to follow? >> >> >> >> >> > I'd love to do this myself as well. >> >> > >> >> > Citrix sells the full package as 'XenDesktop'. To do it yourself you >> >> > need >> >> > a VMserver (Xen or similar) and a remote desktop tool that hooks into >> >> > the >> >> > VM display. (Spice or VNC) >> >> > >> >> > Then you need some way of authenticating users and providing access to >> >> > the >> >> > client software. [...] >> >> >> >> You would have a full VM for each user? >> > >> > Yes >> > >> >> That would be a huge waste of resources, >> > >> > Diskspace and CPU can easily be overcommitted. >> >> Overcommitting disk space sounds like a very bad idea. Overcommitting >> memory is not possible with xen. > > Overcommitting diskspace isn't such a bad idea, considering most installs > never utilize all the available diskspace. When they do not use it anyway, there is no reason to give it to them in the first place. And when they do use it, how do the VMs handle the problem that they have plenty disk space available, from their point of view, while the host which they don't know about doesn't allow them to use it? Besides, overcommitting disk space means to intentionally create a setup which involves that the host can run out of disk space easily. That is not something I would want to create for a host which is required to function reliably. And how much do you need to worry about the security of the VMs when you build in a way for the users to bring the whole machine, or at least random VMs, down by using the disk space which has been assigned to them? The users are somewhat likely to do that even unintentionally, the more the more you overcommit. > Overcommitting memory is, i think, on the roadmap for Xen. (Disclaimer: At > least, I seem to remember reading that somewhere) That would be a nice feature. >> >> plus having to take care of a lot of VMs, >> > >> > Automated. >> >> Like how? > > How do you manage a large amount of physical machines? > Just change physical to VMs and do it the same. > With VMs you have more options for automation. Individually, in lack of a better way. Per user when it comes to setting up their MUAs and the like, in lack of any better way. It doesn't make a difference if it's a VM or not, provided that you have remote access to the machine. When you one VM for many users, you install the MUA only once, and when you need to do updates, you do them only once. When you have many VMs, like one for each user, you have to install and update many times, once on each VM. >> >> plus having to buy a lot of Windoze licenses >> > >> > Volume licensing takes care of that. >> >> expensive > > Depends on the requirements. It's cheaper then a few hundred seperate windows > licenses. It's still more expensive than one, or than a handful, isn't it? >> >> and taking about a week to install the updates >> >> after installing a VM. >> > >> > Never heard of VM templates? >> >> It still takes a week to put the updates onto the template. > > Last time I had to fully reinstall a windows machine it took me a day to do > all the updates. Microsoft even has server software that will keep them > locally and push them to the clients. That would be useful to have. Where could I download that? Last time I installed a VM, it took a week until the updates where finally installed, and you have to check on it every now and then to find out if it's even doing anything at all. The time before, it wasn't a VM but a very slow machine, and that also took a week. You can have the fastest machine on the world and Windoze always manages to bring it down to a slowness we w
Re: [gentoo-user] Re: Managing multiple Gentoo systems
After a frustrating experience with a Linksys WRT54GL, I've decided to stick with Gentoo routers. This increases the number of Gentoo systems I'm responsible for and they're nearing double-digits. What can be done to make the management of multiple Gentoo systems easier? I think identical hardware in each system would help a lot but I'm not sure that's practical. I need to put together a bunch of new workstations and I'm thinking some sort of server/client arrangement with the only Gentoo install being on the server could be appropriate. I maintain multiple Gentoo we mostly use as KVM hosts systems (and coming embedded routers). As KVM hosts, some of them are very sensible. Due to the contracts to our customers, I have to do with various update strategies on top of various hardware. Thanks to everyone for some very juicy tidbits. I'm rearranging my thinking on all of this. I think the key for me may be to combine systems with separate functions in the same physical location into a single system. Does the KVM thing work well? KVM itself works very well here, even with advanced features such as KSM pages sharing. The difficulties come with Microsoft products for both good integration and perfomance (I would recommend RAW format, iSCSI or plain physical partition instead of qcow2, for example). That beeing said, I finally have all working well for XP, NT2003 and 2008 servers. I use libvirt on top of KVM which is in the way to become very good AFA you don't rely on libvirt's API which tend to move a lot. Running a bunch of workstations as nothing more than wireless KVM setups on the same system? I should be able to cut my Gentoo systems down to just a few. Basically one at each physical location. I would be much sceptical for both workstations and wireless guests than for servers: 1) For workstations, things are currently changing with the very recent and not much usable with Gentoo, yet spice software. I expect a lot of improvments in the coming months for this use case. I would say it's not ready for production, yet. 2) About wireless virtualization it's highly depending on what you aim to do, especially if you intend to use the PCI passthrough feature to give your wireless card to a guest. For this to work, you MUST have your hardware (CPU, motherboard and PCI card) VT-d compatible which is currently NOT a piece of cake, today. It relies on industry and manufacturers moving not as fast as software. I would expect more widely VT-d cards in the coming _years_. Now, if you intend to use the wireless card from you hosts and share networks using bridge utilities it _MAY_ be OK: Linux bridging does not always work with all wireless cards (see http://tinyurl.com/ylcutwv for more information). In a more general approach, when I hear routers and wireless I'm more thinking _embedded_. KVM/qemu would only help you to build your target systems. For embedded (or tiny, at least) systems, I would not use LXC. The drawback with Gentoo is that the current official uclibc stage3 for embedded/tiny systems is obsolete and marked as experimental. In facts, it's very _hard_ if not impossible to use it these days. Making your own cross-compilation environment is not a piece of cake (too), even with dedicated tools such as crossdev. This topic would ask its own book. So, if you want to try Gentoo embedded save your time by working on unofficial stage3. -- Nicolas Sebrecht I think I'm guilty of assumption regarding your original reference to KVM. I assumed you mean keyboard-video-mouse: http://en.wikipedia.org/wiki/KVM_switch but now I think you meant Kernel-based Virtual Machine: http://www.linux-kvm.org/page/Main_Page And now that I look more closely at KVM switches, it looks like they provide a method of controlling multiple computers via a single keyboard, monitor, and mouse. I need sort of the inverse. I'd like to control a single Gentoo computer via multiple sets of keyboards, monitors, and mice simultaneously. It would basically be a way to have the functionality of multiple workstations but the administration hassle of only a single system. Wireless communication between the computer and each keyboard-monitor-mouse would be most convenient, but that may not be possible so wired would be fine. Does something like this exist? - Grant
Re: [gentoo-user] Re: What to do about openssl
(-threads%)" PYTHON_SINGLE_TARGET="python3_11\ -python3_10 -python3_12" 0 KiB^M [ebuild rR] dev-lang/php-8.2.10:8.2::gentoo USE="acl apache2 bcmath bzip2 cgi cli ctype curl exif fileinfo filter flatfile fpm ftp gd gdbm iconv imap intl ipv6 jit mhash mysql mysqli nls odbc opcache pcntl pdo phar posix postgres rea\dline session sharedmem simplexml sockets spell sqlite ssl sysvipc tokenizer truetype unicode xml xmlreader xmlwriter zip zlib -apparmor -argon2 -avif -berkdb -calendar -cdb -cjk -debug -embed -enchant -ffi -firebird -gmp -inifile -iodbc -\kerberos -ldap -ldap-sasl -libedit -lmdb -mssql -oci8-instant-client -phpdbg -qdbm (-selinux) -session-mm -snmp -soap -sodium -systemd -test -threads -tidy -tokyocabinet -valgrind -webp -xpm -xslt" 0 KiB^M [ebuild rR] app-emulation/spice-0.15.2::gentoo USE="gstreamer -lz4 -sasl -smartcard -static-libs -test" 0 KiB^M [ebuild rR] net-misc/openssh-9.4_p1::gentoo USE="X pam pie ssl -audit (-debug) -kerberos -ldns -libedit -livecd -security-key (-selinux) -static -test -verify-sig -xmss" 0 KiB^M [ebuild rR] app-admin/lastpass-cli-1.3.3::local_ebuilds [1.3.3::gentoo] USE="X pinentry -libressl -test" 0 KiB^M [ebuild rR] app-admin/sudo-1.9.14_p3::gentoo USE="nls pam secure-path sendmail ssl -gcrypt -ldap -offensive -sasl (-selinux) -skey -sssd -verify-sig" 0 KiB^M [ebuild rR] net-misc/spice-gtk-0.42-r3::gentoo USE="gtk3 introspection policykit usbredir vala -gtk-doc -lz4 -mjpeg -sasl -smartcard -valgrind -wayland -webdav" 0 KiB^M [ebuild rR] media-sound/pulseaudio-daemon-16.1-r7::gentoo USE="X alsa alsa-plugin asyncns bluetooth dbus gdbm glib gstreamer orc ssl systemd udev webrtc-aec -aptx (-elogind) -equalizer -fftw -jack -ldac -lirc -ofono-headset (-oss) (-\selinux) -sox (-system-wide) -tcpd -test -valgrind -zeroconf" 0 KiB^M ^M Total: 24 packages (1 upgrade, 23 reinstalls), Size of downloads: 15,198 KiB^M ^M !!! Multiple package instances within a single package slot have been pulled^M !!! into the dependency graph, resulting in a slot conflict:^M ^M dev-libs/openssl:0^M ^M (dev-libs/openssl-3.1.3:0/3::gentoo, ebuild scheduled for merge) USE="asm -fips -ktls -rfc3779 -sctp -static-libs -test -tls-compression -vanilla -verify-sig -weak-ssl-ciphers" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="(sse2)" pulled in b\y^M dev-libs/openssl (Argument)^M ^M (dev-libs/openssl-1.1.1v-1:0/1.1::gentoo, installed) USE="asm -rfc3779 -sctp (-sslv3) -static-libs -test -tls-compression -tls-heartbeat -vanilla -verify-sig -weak-ssl-ciphers" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="(sse2)" pulled in b\y^M dev-libs/openssl:0/1.1= required by (sys-fs/cryptsetup-2.6.1-1:0/12::gentoo, installed) USE="argon2 nls openssl udev userland_GNU -fips -gcrypt -kernel -nettle -pwquality -ssh -static -static-libs -test -urandom" ABI_X86="(64)"^M ^^^ ^M
Re: [gentoo-user] Re: What to do about openssl
.0:16::gentoo USE="icu nls pam > readline server ssl systemd xml zlib -debug -doc -kerberos -ldap -llvm > -lz4 -perl -python (-selinux) -static-libs -tcl -uuid -zstd" > PYTHON_SINGLE_TARGET="python3_11 -pyth\on3_10 -python3_12" 0 KiB^M > [ebuild rR] app-admin/syslog-ng-4.4.0::gentoo USE="systemd -amqp > -caps -dbi -geoip2 -http -json -kafka -mongodb -pacct -python -redis > -smtp -snmp -spoof-source -tcpd -test" > PYTHON_SINGLE_TARGET="python3_11 -python3_10 -python3_12" 0 \KiB^M > [ebuild rR] dev-db/postgresql-14.9:14::gentoo USE="icu nls pam > readline server ssl systemd xml zlib -debug -doc -kerberos -ldap -llvm > -lz4 -perl -python (-selinux) -static-libs -tcl -uuid (-threads%)" > PYTHON_SINGLE_TARGET="python3_11\ -python3_10 -python3_12" 0 KiB^M > [ebuild rR] dev-lang/php-8.2.10:8.2::gentoo USE="acl apache2 > bcmath bzip2 cgi cli ctype curl exif fileinfo filter flatfile fpm ftp > gd gdbm iconv imap intl ipv6 jit mhash mysql mysqli nls odbc opcache > pcntl pdo phar posix postgres rea\dline session sharedmem simplexml > sockets spell sqlite ssl sysvipc tokenizer truetype unicode xml > xmlreader xmlwriter zip zlib -apparmor -argon2 -avif -berkdb -calendar > -cdb -cjk -debug -embed -enchant -ffi -firebird -gmp -inifile -iodbc > -\kerberos -ldap -ldap-sasl -libedit -lmdb -mssql -oci8-instant-client > -phpdbg -qdbm (-selinux) -session-mm -snmp -soap -sodium -systemd > -test -threads -tidy -tokyocabinet -valgrind -webp -xpm -xslt" 0 KiB^M > [ebuild rR] app-emulation/spice-0.15.2::gentoo USE="gstreamer > -lz4 -sasl -smartcard -static-libs -test" 0 KiB^M > [ebuild rR] net-misc/openssh-9.4_p1::gentoo USE="X pam pie ssl > -audit (-debug) -kerberos -ldns -libedit -livecd -security-key > (-selinux) -static -test -verify-sig -xmss" 0 KiB^M > [ebuild rR] app-admin/lastpass-cli-1.3.3::local_ebuilds > [1.3.3::gentoo] USE="X pinentry -libressl -test" 0 KiB^M > [ebuild rR] app-admin/sudo-1.9.14_p3::gentoo USE="nls pam > secure-path sendmail ssl -gcrypt -ldap -offensive -sasl (-selinux) > -skey -sssd -verify-sig" 0 KiB^M > [ebuild rR] net-misc/spice-gtk-0.42-r3::gentoo USE="gtk3 > introspection policykit usbredir vala -gtk-doc -lz4 -mjpeg -sasl > -smartcard -valgrind -wayland -webdav" 0 KiB^M > [ebuild rR] media-sound/pulseaudio-daemon-16.1-r7::gentoo USE="X > alsa alsa-plugin asyncns bluetooth dbus gdbm glib gstreamer orc ssl > systemd udev webrtc-aec -aptx (-elogind) -equalizer -fftw -jack -ldac > -lirc -ofono-headset (-oss) (-\selinux) -sox (-system-wide) -tcpd > -test -valgrind -zeroconf" 0 KiB^M > ^M > Total: 24 packages (1 upgrade, 23 reinstalls), Size of downloads: > 15,198 KiB^M > ^M > !!! Multiple package instances within a single package slot have been > pulled^M > !!! into the dependency graph, resulting in a slot conflict:^M > ^M > dev-libs/openssl:0^M > ^M > (dev-libs/openssl-3.1.3:0/3::gentoo, ebuild scheduled for merge) > USE="asm -fips -ktls -rfc3779 -sctp -static-libs -test > -tls-compression -vanilla -verify-sig -weak-ssl-ciphers" > ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="(sse2)" pulled in b\y^M > dev-libs/openssl (Argument)^M > ^M >(dev-libs/openssl-1.1.1v-1:0/1.1::gentoo, installed) USE="asm >-rfc3779 -sctp (-sslv3) -static-libs -test -tls-compression >-tls-heartbeat -vanilla -verify-sig -weak-ssl-ciphers" >ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="(sse2)" pulled in >b\y^M >dev-libs/openssl:0/1.1= required by > (sys-fs/cryptsetup-2.6.1-1:0/12::gentoo, installed) > USE="argon2 nls openssl udev userland_GNU -fips -gcrypt > -kernel -nettle -pwquality -ssh -static -static-libs > -test > -urandom" ABI_X86="(64)"^M > ^^^ > ^M > > required by > > (dev-lang/php-7.4.33-r6-1:7.4/7.4::gentoo, > installed) > USE="acl apache2 bcmath > bzip2 cgi cli > ctype curl exif > fileinfo filter > flatfile fpm ftp > gd gdbm iconv > imap intl ipv6 jit > json mhash mysql > mys\qli nls odbc &
Re: [gentoo-user] Re: What to do about openssl
_10 -python3_12" 0 \KiB^M [ebuild rR] dev-db/postgresql-14.9:14::gentoo USE="icu nls pam readline server ssl systemd xml zlib -debug -doc -kerberos -ldap -llvm -lz4 -perl -python (-selinux) -static-libs -tcl -uuid (-threads%)" PYTHON_SINGLE_TARGET="python3_11\ -python3_10 -python3_12" 0 KiB^M [ebuild rR] dev-lang/php-8.2.10:8.2::gentoo USE="acl apache2 bcmath bzip2 cgi cli ctype curl exif fileinfo filter flatfile fpm ftp gd gdbm iconv imap intl ipv6 jit mhash mysql mysqli nls odbc opcache pcntl pdo phar posix postgres rea\dline session sharedmem simplexml sockets spell sqlite ssl sysvipc tokenizer truetype unicode xml xmlreader xmlwriter zip zlib -apparmor -argon2 -avif -berkdb -calendar -cdb -cjk -debug -embed -enchant -ffi -firebird -gmp -inifile -iodbc -\kerberos -ldap -ldap-sasl -libedit -lmdb -mssql -oci8-instant-client -phpdbg -qdbm (-selinux) -session-mm -snmp -soap -sodium -systemd -test -threads -tidy -tokyocabinet -valgrind -webp -xpm -xslt" 0 KiB^M [ebuild rR] app-emulation/spice-0.15.2::gentoo USE="gstreamer -lz4 -sasl -smartcard -static-libs -test" 0 KiB^M [ebuild rR] net-misc/openssh-9.4_p1::gentoo USE="X pam pie ssl -audit (-debug) -kerberos -ldns -libedit -livecd -security-key (-selinux) -static -test -verify-sig -xmss" 0 KiB^M [ebuild rR] app-admin/lastpass-cli-1.3.3::local_ebuilds [1.3.3::gentoo] USE="X pinentry -libressl -test" 0 KiB^M [ebuild rR] app-admin/sudo-1.9.14_p3::gentoo USE="nls pam secure-path sendmail ssl -gcrypt -ldap -offensive -sasl (-selinux) -skey -sssd -verify-sig" 0 KiB^M [ebuild rR] net-misc/spice-gtk-0.42-r3::gentoo USE="gtk3 introspection policykit usbredir vala -gtk-doc -lz4 -mjpeg -sasl -smartcard -valgrind -wayland -webdav" 0 KiB^M [ebuild rR] media-sound/pulseaudio-daemon-16.1-r7::gentoo USE="X alsa alsa-plugin asyncns bluetooth dbus gdbm glib gstreamer orc ssl systemd udev webrtc-aec -aptx (-elogind) -equalizer -fftw -jack -ldac -lirc -ofono-headset (-oss) (-\selinux) -sox (-system-wide) -tcpd -test -valgrind -zeroconf" 0 KiB^M ^M Total: 24 packages (1 upgrade, 23 reinstalls), Size of downloads: 15,198 KiB^M ^M !!! Multiple package instances within a single package slot have been pulled^M !!! into the dependency graph, resulting in a slot conflict:^M ^M dev-libs/openssl:0^M ^M (dev-libs/openssl-3.1.3:0/3::gentoo, ebuild scheduled for merge) USE="asm -fips -ktls -rfc3779 -sctp -static-libs -test -tls-compression -vanilla -verify-sig -weak-ssl-ciphers" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="(sse2)" pulled in b\y^M dev-libs/openssl (Argument)^M ^M (dev-libs/openssl-1.1.1v-1:0/1.1::gentoo, installed) USE="asm -rfc3779 -sctp (-sslv3) -static-libs -test -tls-compression -tls-heartbeat -vanilla -verify-sig -weak-ssl-ciphers" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="(sse2)" pulled in b\y^M dev-libs/openssl:0/1.1= required by (sys-fs/cryptsetup-2.6.1-1:0/12::gentoo, installed) USE="argon2 nls openssl udev userland_GNU -fips -gcrypt -kernel -nettle -pwquality -ssh -static -static-libs -test -urandom" ABI_X86="(64)"^M ^^^ ^M
Re: [gentoo-user] Re: What to do about openssl
t; (-x32)" 0 KiB^M > > [ebuild rR] app-crypt/swtpm-0.8.1-r2::gentoo USE="seccomp -fuse > > -test" 0 KiB^M > > [ebuild rR] dev-python/cryptography-41.0.4::gentoo USE="-debug > > -test" PYTHON_TARGETS="python3_11 -pypy3 -python3_10 -python3_12" 0 > > KiB^M > > [ebuild rR] dev-db/mariadb-10.11.5:10.11/18::gentoo USE="backup > > odbc pam perl server systemd xml -bindist -columnstore -cracklib > > -debug -extraengine -galera -innodb-lz4 -innodb-lzo -innodb-snappy > > -jdbc -jemalloc -kerberos -latin1 -mr\oonga -numa -oqgraph -profiling > > -rocksdb -s3 (-selinux) -sphinx -sst-mariabackup -sst-rsync -static > > -systemtap -tcmalloc -test -yassl" 0 KiB^M > > [ebuild rR] dev-db/postgresql-16.0:16::gentoo USE="icu nls pam > > readline server ssl systemd xml zlib -debug -doc -kerberos -ldap -llvm > > -lz4 -perl -python (-selinux) -static-libs -tcl -uuid -zstd" > > PYTHON_SINGLE_TARGET="python3_11 -pyth\on3_10 -python3_12" 0 KiB^M > > [ebuild rR] app-admin/syslog-ng-4.4.0::gentoo USE="systemd -amqp > > -caps -dbi -geoip2 -http -json -kafka -mongodb -pacct -python -redis > > -smtp -snmp -spoof-source -tcpd -test" > > PYTHON_SINGLE_TARGET="python3_11 -python3_10 -python3_12" 0 \KiB^M > > [ebuild rR] dev-db/postgresql-14.9:14::gentoo USE="icu nls pam > > readline server ssl systemd xml zlib -debug -doc -kerberos -ldap -llvm > > -lz4 -perl -python (-selinux) -static-libs -tcl -uuid (-threads%)" > > PYTHON_SINGLE_TARGET="python3_11\ -python3_10 -python3_12" 0 KiB^M > > [ebuild rR] dev-lang/php-8.2.10:8.2::gentoo USE="acl apache2 > > bcmath bzip2 cgi cli ctype curl exif fileinfo filter flatfile fpm ftp > > gd gdbm iconv imap intl ipv6 jit mhash mysql mysqli nls odbc opcache > > pcntl pdo phar posix postgres rea\dline session sharedmem simplexml > > sockets spell sqlite ssl sysvipc tokenizer truetype unicode xml > > xmlreader xmlwriter zip zlib -apparmor -argon2 -avif -berkdb -calendar > > -cdb -cjk -debug -embed -enchant -ffi -firebird -gmp -inifile -iodbc > > -\kerberos -ldap -ldap-sasl -libedit -lmdb -mssql -oci8-instant-client > > -phpdbg -qdbm (-selinux) -session-mm -snmp -soap -sodium -systemd > > -test -threads -tidy -tokyocabinet -valgrind -webp -xpm -xslt" 0 KiB^M > > [ebuild rR] app-emulation/spice-0.15.2::gentoo USE="gstreamer > > -lz4 -sasl -smartcard -static-libs -test" 0 KiB^M > > [ebuild rR] net-misc/openssh-9.4_p1::gentoo USE="X pam pie ssl > > -audit (-debug) -kerberos -ldns -libedit -livecd -security-key > > (-selinux) -static -test -verify-sig -xmss" 0 KiB^M > > [ebuild rR] app-admin/lastpass-cli-1.3.3::local_ebuilds > > [1.3.3::gentoo] USE="X pinentry -libressl -test" 0 KiB^M > > [ebuild rR] app-admin/sudo-1.9.14_p3::gentoo USE="nls pam > > secure-path sendmail ssl -gcrypt -ldap -offensive -sasl (-selinux) > > -skey -sssd -verify-sig" 0 KiB^M > > [ebuild rR] net-misc/spice-gtk-0.42-r3::gentoo USE="gtk3 > > introspection policykit usbredir vala -gtk-doc -lz4 -mjpeg -sasl > > -smartcard -valgrind -wayland -webdav" 0 KiB^M > > [ebuild rR] media-sound/pulseaudio-daemon-16.1-r7::gentoo USE="X > > alsa alsa-plugin asyncns bluetooth dbus gdbm glib gstreamer orc ssl > > systemd udev webrtc-aec -aptx (-elogind) -equalizer -fftw -jack -ldac > > -lirc -ofono-headset (-oss) (-\selinux) -sox (-system-wide) -tcpd > > -test -valgrind -zeroconf" 0 KiB^M > > ^M > > Total: 24 packages (1 upgrade, 23 reinstalls), Size of downloads: > > 15,198 KiB^M > > ^M > > !!! Multiple package instances within a single package slot have been > > pulled^M > > !!! into the dependency graph, resulting in a slot conflict:^M > > ^M > > dev-libs/openssl:0^M > > ^M > >(dev-libs/openssl-3.1.3:0/3::gentoo, ebuild scheduled for merge) > >USE="asm -fips -ktls -rfc3779 -sctp -static-libs -test > >-tls-compression -vanilla -verify-sig -weak-ssl-ciphers" > >ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="(sse2)" pulled in b\y^M > >dev-libs/openssl (Argument)^M > > ^M > >(dev-libs/openssl-1.1.1v-1:0/1.1::gentoo, installed) USE="asm > >-rfc3779 -sctp (-sslv3) -static-libs -test -tls-compression > >-tls-heartbeat -vanilla -verify-sig -weak-ssl-ciphers" > >ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="(sse2)" pulled in > >b\y^M > >dev-libs/openssl:0/1.1=
Re: [gentoo-user] Re: What to do about openssl
> (-x32)" 0 KiB^M > > [ebuild rR] app-crypt/swtpm-0.8.1-r2::gentoo USE="seccomp -fuse > > -test" 0 KiB^M > > [ebuild rR] dev-python/cryptography-41.0.4::gentoo USE="-debug > > -test" PYTHON_TARGETS="python3_11 -pypy3 -python3_10 -python3_12" 0 > > KiB^M > > [ebuild rR] dev-db/mariadb-10.11.5:10.11/18::gentoo USE="backup > > odbc pam perl server systemd xml -bindist -columnstore -cracklib > > -debug -extraengine -galera -innodb-lz4 -innodb-lzo -innodb-snappy > > -jdbc -jemalloc -kerberos -latin1 -mr\oonga -numa -oqgraph -profiling > > -rocksdb -s3 (-selinux) -sphinx -sst-mariabackup -sst-rsync -static > > -systemtap -tcmalloc -test -yassl" 0 KiB^M > > [ebuild rR] dev-db/postgresql-16.0:16::gentoo USE="icu nls pam > > readline server ssl systemd xml zlib -debug -doc -kerberos -ldap -llvm > > -lz4 -perl -python (-selinux) -static-libs -tcl -uuid -zstd" > > PYTHON_SINGLE_TARGET="python3_11 -pyth\on3_10 -python3_12" 0 KiB^M > > [ebuild rR] app-admin/syslog-ng-4.4.0::gentoo USE="systemd -amqp > > -caps -dbi -geoip2 -http -json -kafka -mongodb -pacct -python -redis > > -smtp -snmp -spoof-source -tcpd -test" > > PYTHON_SINGLE_TARGET="python3_11 -python3_10 -python3_12" 0 \KiB^M > > [ebuild rR] dev-db/postgresql-14.9:14::gentoo USE="icu nls pam > > readline server ssl systemd xml zlib -debug -doc -kerberos -ldap -llvm > > -lz4 -perl -python (-selinux) -static-libs -tcl -uuid (-threads%)" > > PYTHON_SINGLE_TARGET="python3_11\ -python3_10 -python3_12" 0 KiB^M > > [ebuild rR] dev-lang/php-8.2.10:8.2::gentoo USE="acl apache2 > > bcmath bzip2 cgi cli ctype curl exif fileinfo filter flatfile fpm ftp > > gd gdbm iconv imap intl ipv6 jit mhash mysql mysqli nls odbc opcache > > pcntl pdo phar posix postgres rea\dline session sharedmem simplexml > > sockets spell sqlite ssl sysvipc tokenizer truetype unicode xml > > xmlreader xmlwriter zip zlib -apparmor -argon2 -avif -berkdb -calendar > > -cdb -cjk -debug -embed -enchant -ffi -firebird -gmp -inifile -iodbc > > -\kerberos -ldap -ldap-sasl -libedit -lmdb -mssql -oci8-instant-client > > -phpdbg -qdbm (-selinux) -session-mm -snmp -soap -sodium -systemd > > -test -threads -tidy -tokyocabinet -valgrind -webp -xpm -xslt" 0 KiB^M > > [ebuild rR] app-emulation/spice-0.15.2::gentoo USE="gstreamer > > -lz4 -sasl -smartcard -static-libs -test" 0 KiB^M > > [ebuild rR] net-misc/openssh-9.4_p1::gentoo USE="X pam pie ssl > > -audit (-debug) -kerberos -ldns -libedit -livecd -security-key > > (-selinux) -static -test -verify-sig -xmss" 0 KiB^M > > [ebuild rR] app-admin/lastpass-cli-1.3.3::local_ebuilds > > [1.3.3::gentoo] USE="X pinentry -libressl -test" 0 KiB^M > > [ebuild rR] app-admin/sudo-1.9.14_p3::gentoo USE="nls pam > > secure-path sendmail ssl -gcrypt -ldap -offensive -sasl (-selinux) > > -skey -sssd -verify-sig" 0 KiB^M > > [ebuild rR] net-misc/spice-gtk-0.42-r3::gentoo USE="gtk3 > > introspection policykit usbredir vala -gtk-doc -lz4 -mjpeg -sasl > > -smartcard -valgrind -wayland -webdav" 0 KiB^M > > [ebuild rR] media-sound/pulseaudio-daemon-16.1-r7::gentoo USE="X > > alsa alsa-plugin asyncns bluetooth dbus gdbm glib gstreamer orc ssl > > systemd udev webrtc-aec -aptx (-elogind) -equalizer -fftw -jack -ldac > > -lirc -ofono-headset (-oss) (-\selinux) -sox (-system-wide) -tcpd > > -test -valgrind -zeroconf" 0 KiB^M > > ^M > > Total: 24 packages (1 upgrade, 23 reinstalls), Size of downloads: > > 15,198 KiB^M > > ^M > > !!! Multiple package instances within a single package slot have been > > pulled^M > > !!! into the dependency graph, resulting in a slot conflict:^M > > ^M > > dev-libs/openssl:0^M > > ^M > > (dev-libs/openssl-3.1.3:0/3::gentoo, ebuild scheduled for merge) > > USE="asm -fips -ktls -rfc3779 -sctp -static-libs -test > > -tls-compression -vanilla -verify-sig -weak-ssl-ciphers" > > ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="(sse2)" pulled in b\y^M > > dev-libs/openssl (Argument)^M > > ^M > >(dev-libs/openssl-1.1.1v-1:0/1.1::gentoo, installed) USE="asm > >-rfc3779 -sctp (-sslv3) -static-libs -test -tls-compression > >-tls-heartbeat -vanilla -verify-sig -weak-ssl-ciphers" > >ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="(sse2)" pulled in > >
[gentoo-user] Re: automated code validation
will be hard. The culture change will be harder. And that is why YOU are on the council. My prayers and old fingers are with you, brah! The hardware will be easy. Hardware is FUN. Everybody loves new tangible goodies, kids through old folks. That's why my first degrees where in hardware (fluids and electronics). I then realize that the microprocessor is what animates the hardware and allows an EE to become lazy and successful. So I studied CS, got an advanced degree and continue to study, build and work on software. It never ends, so we must bond together to get codes to be what we need them to be. I know this assembler--Haskel migration is hard on old dudes like me, it is very, very hard. All I ever do is read and learn new software tricks without ever mastering anything. Bottom line - this sort of thing is a lot harder to pull off than it might first appear. I don't want to discourage anybody, but don't think that you can toss together a few lines in bash to do an emerge -e world and you're done. Of course, if you do want to do a manual run like this and manually submit bugs that have been manually screened for validity, that is always welcome. For me, you build things and manually test them. Then you automate what has worked manually. Sure it often occurs simultaneously, but things must be manual and partitionable to facilitate test and debug. I think with ample thought, planing and a cool, inviting plan, we can get many kids to participate in GSoC. If we reach out there are many other folks at various distros that have a high level of need (frustration). The gentoo rank and file experts may just be too busy, too burnt or disinterested. I dunno. Certainly there is a lot of horsepower in our ranks. I've had several grad students recently send me unsolicited email in search of tough problems to solve. Surely we can add some algorithmic challenges, centric on some of the newer languages to spice this up a bit for those hungry brilliant minds too? If Gentoo does not do this, Who will? Who else can (lead) this sort of effort? For whatever reason, I think this task has fallen on Gentoo. With the work of LikeWahoa, we can build a usb gentoo image that has this (GLEP) proposal, and the necessary tools to entire devs from other distros to download and plug in the USB stick. WE get them addicted to Gentoo via a live usb stick. They can hide, but it becomes easy to update the usb stick *everybody* can use it to come up to speed quickly and catch gentoo fever. The fever allows folks to at least taste gentoo, read a bit and send in codes on this GLEP. I know many vikings working on some subterranean physics all looking seriously at gentoo. Gentoo on a usb stick allows for a liveGENTOO that can be easily updated and they can jump in and out of Gentoo, until the fever takes hold. Or some other kind of hook? Fishing was very difficult till the hook was refined. WE need a hook, imho. Easy Gentoo and a project to assist in testing code; you've got a killer idea there rich, and I'm glad to be on your team! James
[gentoo-user] Re: [SOLVED] 3D graphics acceleration on QEMU
I had a look at this again this morning and cracked it. More info below. On Monday 17 Jul 2017 00:00:53 Mick wrote: > On Sunday 16 Jul 2017 22:49:54 Neil Bothwick wrote: > > On Sun, 16 Jul 2017 16:20:15 +0100, Mick wrote: > > > Another annoying thing was the bottom of the screen was cropped off and > > > to see the main menu and toolbar I have to move the mouse past the > > > bottom edge of the window. The visual aperture is smaller than the > > > desktop screen size. I don't know if this in anyway related to the > > > above warning. > > > > I see that one regularly, the desktop is 1024x768 but the display is > > 1024x720. simply change the display to 1024x720 in Mint's prefs or use a > > different video card emulation, such as vmware, by adding "-vga vmware" > > to your options. > > Thanks Neil, I'll try this out when I boot it up next time. Meanwhile, I'm > not sure if the virtio drivers in the kernel are meant for guest kernels > only, or if I should have them enabled on the host's. > > This is the modules I have enabled on the host which is VT-x capable: > > # grep -e DMAR -e IOMMU -e VIRT /usr/src/linux/.config > CONFIG_VIRT_CPU_ACCOUNTING=y > CONFIG_VIRT_CPU_ACCOUNTING_GEN=y > CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y > # CONFIG_GART_IOMMU is not set > # CONFIG_CALGARY_IOMMU is not set > CONFIG_IOMMU_HELPER=y > CONFIG_VIRT_TO_BUS=y > CONFIG_VIRTIO_BLK=m > CONFIG_VIRTIO_NET=m > # CONFIG_VIRTIO_CONSOLE is not set > # CONFIG_HW_RANDOM_VIRTIO is not set > # CONFIG_DRM_VIRTIO_GPU is not set > # CONFIG_FB_VIRTUAL is not set > # CONFIG_SND_VIRTUOSO is not set > # CONFIG_VIRT_DRIVERS is not set > CONFIG_VIRTIO=m > # CONFIG_VIRTIO_PCI is not set > # CONFIG_VIRTIO_BALLOON is not set > # CONFIG_VIRTIO_INPUT is not set > # CONFIG_VIRTIO_MMIO is not set > CONFIG_IOMMU_API=y > CONFIG_IOMMU_SUPPORT=y > # Generic IOMMU Pagetable Support > CONFIG_IOMMU_IOVA=y > # CONFIG_AMD_IOMMU is not set > CONFIG_DMAR_TABLE=y > CONFIG_INTEL_IOMMU=y > CONFIG_INTEL_IOMMU_SVM=y > CONFIG_INTEL_IOMMU_DEFAULT_ON=y > CONFIG_INTEL_IOMMU_FLOPPY_WA=y > # CONFIG_DEBUG_VIRTUAL is not set > # CONFIG_IOMMU_STRESS is not set > CONFIG_VIRTUALIZATION=y > > The CPU has vmx, but not vmd: > > processor : 7 > vendor_id : GenuineIntel > cpu family: 6 > model : 30 > model name: Intel(R) Core(TM) i7 CPU Q 720 @ 1.60GHz > stepping : 5 > microcode : 0x7 > cpu MHz : 933.000 > cache size: 6144 KB > physical id : 0 > siblings : 8 > core id : 3 > cpu cores : 4 > apicid: 7 > initial apicid: 7 > fpu : yes > fpu_exception : yes > cpuid level : 11 > wp: yes > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov > pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp > lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc > aperfmperf eagerfpu pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 > xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm tpr_shadow vnmi flexpriority ept > vpid dtherm ida > bugs : > bogomips : 3191.45 > clflush size : 64 > cache_alignment : 64 > address sizes : 36 bits physical, 48 bits virtual > power management: The above are as they should be. When building qemu it is important to set USE="virgl". This is how mine was built: [ebuild R] app-emulation/qemu-2.9.0-r2::gentoo USE="aio alsa bluetooth bzip2 caps curl fdt filecaps gtk gtk2 jpeg ncurses nls opengl pin-upstream- blobs png pulseaudio sdl sdl2 seccomp usb vhost-net virgl virtfs vnc xattr - accessibility -debug (-glusterfs) -gnutls -infiniband -iscsi -lzo -nfs -numa - python -rbd -sasl (-selinux) -smartcard -snappy -spice -ssh -static -static- user -systemtap -tci {-test} -usbredir -vde -vte -xen -xfs" LINGUAS="-bg - de_DE -fr_FR -hu -it -tr -zh_CN" PYTHON_TARGETS="python2_7" QEMU_SOFTMMU_TARGETS="x86_64 -aarch64 -alpha -arm -cris -i386 -lm32 -m68k - microblaze -microblazeel -mips -mips64 -mips64el -mipsel -moxie -nios2 -or1k - ppc -ppc64 -ppcemb -s390x -sh4 -sh4eb -sparc -sparc64 -tricore -unicore32 - xtensa -xtensaeb" QEMU_USER_TARGETS="-aarch64 -alpha -arm -armeb -cris -hppa - i386 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -mipsn32 -mipsn32el -nios2 -or1k -ppc -ppc64 -ppc64abi32 -ppc64le -s390x -sh4 -sh4eb - sparc -sparc32plus -sparc64 -tilegx -x86_64*" 0 KiB Thereafter, the trick in getting hardware acceleration in the guest is to set '-vga virtio' when launching the guest VM with qemu: $ qemu-system-x86_64 -m 1024 -enable-kvm -display sdl,gl=on -vga
Re: [gentoo-user] {OT} Allow work from home?
ce all of the switches the machine was connected to before were from the same manufacturer. >> 3.) is currently being worked on. It needs to be figured out and, if >> there's something weird going on, to be solved in any case. 6.) seems >> unlikely, 1.) and 2.) can be decided when the the hardware is replaced >> with something entirely different, which is the most painful and most >> time-consuming option. That would leave 4.) and 5.), and 3.) if 3.) >> cannot be resolved. >> >> It's easy to say that "the hardware is buggy". I'm not convinced that >> it is. In any case, you can always run into a situation in which xen >> doesn't work as well as you might wish or have experienced so far. > > Hardware should do what it's designed to do. > If it can't handle the function it is build for, it's buggy. So far, it is unknown whether it can handle this function or not. >> >> It's time consuming when you have to reinstall the VMs to migrate them >> >> to kvm. And when you don't have the installers of all the software >> >> that's on some of the VMs and can't get them, you either have to run >> >> them without virtio drivers or you can't migrate them. >> > >> > There are Howtos on the internet describing how to migrate VMs from 1 >> > technology to another. Shouldn't be too hard. >> >> I looked for them. Did you find one that tells you how to install >> the virtio drivers on an existing Windoze 7 VM and that actually works? >> It's already very difficult to get rid of gplpv drivers. > > The following usually works: > Boot up in safe mode, delete the drivers, reboot, install virtio, reboot. IIRC I tried that, and it tends to say that I can't remove these drivers in safe mode. I also can't install them other than when booting into the repair options because when virtio is enabled, the device the drivers are needed for is unavailable and doesn't show up before the drivers are installed. That leaves me with repair mode as the only option to "install" the drivers, but they aren't installed and only used during the repair mode. You can do a repair with the drivers upplied, and it still won't boot after that. These drivers don't have an installer, and the only way to get them installed seems to be by providing them during the installation of the OS, which is pointless because it's already installed. >> > And keeping the installers at hand is, in my opinion, a requirement of >> > sane >> > system management. >> > I have installers for all the versions of software I deal with. >> >> Indeed --- but some predecessor decided not to keep an installer which >> would be required and is now unavailable. So the only options are to >> leave the VM running under xen or to run it under KVM without virtio >> drivers. The latter is bad idea because the application the installer >> would be needed for already has severe performance problems built in, >> and making it worse isn't a good idea. > > Request installers from the original source? They don't give them out anymore, they want to sell more recent versions instead, which are very likely not even capable to let you continue to work with the data from the previous version. I guess their software is so crappy that they are clutching at straws to sell it. > Or consider it legacy and migrate away soonish. That's the most reasonable consideration. > What is your recovery plan if the server it's on dies a horrible death? I have some copies of the VM, and the software creates backups which allow to use such a copy without loosing the data. >> >> > The biggest reason why I don't use KVM is the lack of full snapshot >> >> > functionality. Snapshotting disks is nice, but you end up with an >> >> > unclean- >> >> > shutdown situation and anything that's not yet committed to disk is >> >> > gone. >> >> >> >> I'm not sure what you mean. When you take a snapshot while the VM is not >> >> shut down, what difference does it make whether you use xen or kvm? >> > >> > A "snapshot" for KVM is ONLY the disks. >> > With Xen, VMWare and Virtualbox, I can also make a snapshot/copy of what's >> > in memory. It's that which makes the difference. >> >> Is that possible without freezing the VM while you make a snapshot of >> the memory? > > No > >> If not, how is it so much better than shutting the VM down? > > It's faster in most cases. That much faster? > Exception being, the VM having such a large amount of memory assigned that > the > disk-I/O to store the memory takes longer than a reboot.
Re: [gentoo-user] {OT} Allow work from home?
is not > >> shut down, what difference does it make whether you use xen or kvm? > > > > A "snapshot" for KVM is ONLY the disks. > > With Xen, VMWare and Virtualbox, I can also make a snapshot/copy of what's > > in memory. It's that which makes the difference. > > Is that possible without freezing the VM while you make a snapshot of > the memory? No > If not, how is it so much better than shutting the VM down? It's faster in most cases. Exception being, the VM having such a large amount of memory assigned that the disk-I/O to store the memory takes longer than a reboot. Or, in my usual use-case for needing snapshots, is in the middle of a lengthy manual process, I want to take a snapshot of the current situation and a reboot at that point in time will actually cause issues. The software being used is usually in memory and a disk-only snapshot (eg. system crashed simulation when restoring) will mean I can start over. > >> >> Then there's the question how well vnc or spice connections work over > >> >> a > >> >> VPN that goes over the internet. > >> > > >> > VNC works quite well, as long as you use a minimal desktop. (like > >> > blackbox). Don't expect KDE or Gnome to be usable. > >> > I haven't tried Spice yet, but I've read that it performs better. > >> > >> It's not like you had a choice when you have Windoze VMs. > > > > Windows has RDP, which is a lot better than VNC. Especially when dealing > > with low-bandwidth connections. > > Wasn't RPD deprecated earlier in this discussion because it seemed to be > not sufficiently secure? Login to the RDP session can be linked to 2FA or smart-cards which need to be plugged into the laptop. Don't ask me how, but I have seen it work. Couple that with a VPN (Which I consider an absolute must when allowing employees to work from elsewhere via the internet). It can be made more secure than a simple VNC or NX connection. > >> > That depends on where you are. > >> > >> In this country, you have to be really lucky to find a place where you > >> can get a decent internet connection. > > > > Then in your country, working from home might not be the best option. > > That probably goes for most countries. Probably, I tend to only deal with countries in Europe and the US. This does make me less clued up of the reality in other regions. > >> > The company could host the servers in a decent datacentre, which should > >> > take care of the bandwidth issues. > >> > >> And give all their data out of hands? And how much does that cost? > > > > I'm talking about putting your own hardware there, not letting the > > datacentre company access to the servers. > > How could they reside in a datacenter without the ppl there having > physical access to them? Locked cages which you provide and control access to? If you're worried about people sniffing encrypted network traffic, I would say, good luck building your own secure WAN. > >> > For the employees, if they want to work from home, it's up to them to > >> > ensure they have a reliable connection. > >> > >> It is as much problem of the company when they want the employees to > >> work at home. And the employees don't have a choice, they can only get > >> a connection they can get. > > > > If the company insists people work from home, they need to ensure the > > employees have the option for a usable connection. Most companies I deal > > with leave working from home as an option to the employees. > > Sometimes it's not an option, and there isn't anything a company could > do to improve what internet connection an employee can get, unless > they'd spend huge amounts of money to put cables or fiber glass into the > ground, provided that they'd get the permissions for that. Then the company doesn't have the right to force it onto their employees. > Sooner or later, it might become very difficult to find anyone who's > still willing to spend all the time and money it takes to commute, or > someone who can still afford it at all, and it might become difficult to > find an employer willing to spend the money it takes to provide the > employees with offices. True, but if you end up paying for the privilege to work, why work at all? If I would end up with a negative balance because my costs are more then my income, I would quit on the spot and actually be better off. > When you consider the enormous amount of resources that are wasted for > commuting in an economy and that some economies might start to gain an > advantage over others by letting ppl work from their ho
[gentoo-user] installation automation scripts
} netmask ${NETMASK} up route add default gw ${GATEWAY} cat /etc/resolv.conf EOF nameserver ${NAMESERVER} EOF fi # start sshd /etc/init.d/sshd start # get portage if no copy locally. This won't get the latest copy # unless there is none if [ ! -f /mnt/flash/gentoo/stages/portage ]; then # ask the user for a portage mirror site eval X`mirrorselect -i -o` # grab the first selection PORTAGE_SITE=`echo ${XGENTOO_MIRRORS}| cut -f1 -d ` PORTAGE_PATH=${PORTAGE_SITE}snapshots/ wget --proxy=off -O /tmp/index.html $PORTAGE_PATH PORTAGE=`cat /tmp/index.html | egrep -v md5sum|gpgsig| grep portage| \ tail -n 1| cut -d -f 8| cut -f 2 -d| cut -f 1 -d` wget --proxy=off ${PORTAGE_PATH}/${PORTAGE} -O /mnt/flash/gentoo/stages/portage fi # partition your disk. # *CAUTION* this can really screw up your system. # this creates four partitions. First field is the start, second field # is the size in MB, and third field is the Linux or swap. # it should be possible to add extended partitions but I haven't needed # them yet /sbin/sfdisk -uM ${DRIVE} $PARTITIONS # create swap space and file systems on the partitions created # previously for x in ${PART_ORDER[*]} do i=${PART_LIST[$x]} echo ---| $i PART=`echo $i | cut -d: -f1` MNTPT=`echo $i | cut -d: -f2` MKFS=`echo $i | cut -d: -f3` eval $MKFS ${DRIVE}${PART} #echo || $MKFS ${DRIVE}${PART} if [ ${MKFS} == ${MKSWP} ]; then swapon ${DRIVE}${PART} else # mount up partitions mkdir -p $MNTPT mount ${DRIVE}${PART} $MNTPT fi done # install the stage you want. It's probably a good idea to download and # store the appropriate stage image on the USB flash. Saves trying to # figure out which mirror to get from and its just convenient. cd /mnt/gentoo tar -xjpf /mnt/flash/gentoo/stages/stage?-${CPUTYPE}*.tar.bz2 -C /mnt/gentoo tar -xjf /mnt/flash/gentoo/stages/portage -C /mnt/gentoo/usr # for testing components going into different phases cat $MAKE_CONF /mnt/gentoo/etc/make.conf # and add the gentoo mirrors mirrorselect -a -s4 -o |grep 'GENTOO_MIRRORS=' /mnt/gentoo/etc/make.conf # set up DNS for the new system cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf # set up domain name echo ${HOST_NAME} /mnt/gentoo/etc/hostname echo ${DOMAIN_NAME} /mnt/gentoo/etc/dnsdomainname rc-update add domainname default # and set up the /proc environment. mount -t proc none /mnt/gentoo/proc # copy all of the phases to the new drive in preparation # for the rest of the installation process cp /mnt/flash/gentoo/phase*.sh /mnt/gentoo/ if [[ -f /kernel_config ]]; then cp /mnt/flash/gentoo/kernel_config /mnt/gentoo/ fi # set up the network interface if [ -z ${DHCPCD_CMD} ] ; then grep -v ^iface_eth0 /mnt/gentoo/etc/conf.d/net /tmp/net echo iface_eth0=\${IP_ADDR} broadcast ${BROADCAST} netmask ${NETMASK}\ /tmp/net echo gateway=\eth0/${GATEWAY}\ /tmp/net cp /tmp/net /mnt/gentoo/etc/conf.d/net else echo iface_eth0=\$DHCPCD_CMD\ /mnt/gentoo/etc/conf.d/net fi # directories to build mkdir /mnt/gentoo/usr/local/portage # launch phase 2 chroot /mnt/gentoo /bin/bash -c bash phase2.sh #!/bin/bash #this is the chroot side of the installation process #set up the new environment env-update source /etc/profile # update the portage tree emerge --sync #get the kernel emerge vanilla-sources # at this point, one could copy in a predefined configuration # file or one could just manually configure. cd /usr/src/linux #let's manually configure if [[ -f /kernel_config ]]; then cp /kernel_config /usr/src/linux/.config else make menuconfig fi # then build the kernel make make modules_install # move it cd /usr/src KERNEL_VERSION=`ls -d linux-*` cd /usr/src/${KERNEL_VERSION}/ cp arch/i386/boot/bzImage /boot/${KERNEL_VERSION} cp System.map /boot/System.map-${KERNEL_VERSION} cp .config /boot/config-${KERNEL_VERSION} emerge syslog-ng rc-update add syslog-ng default emerge vixie-cron rc-update add vixie-cron default emerge slocate emerge reiserfsprogs emerge grub emerge gentoolkit # setup grub.conf cat /boot/grub/grub.conf EOF # Which listing to boot as default. 0 is the first, 1 the second etc. default 0 # How many seconds to wait before the default listing is booted. timeout 30 # Nice, fat splash-image to spice things up :) # Comment out if you don't have a graphics card installed #splashimage=(hd0,0)/grub/splash.xpm.gz title=Gentoo ${KERNEL_VERSION} # Partition where the kernel image (or operating system) is located root (hd0,0) kernel /${KERNEL_VERSION} root=/dev/sda3 EOF # more start up processes rc-update add net.eth0 default rc-update add sshd default if [ -f /phase3 ] ; then bash /phase3 if #!/bin/bash TARGET=/dev/sda if [ ! -f /mnt/gentoo/etc/make.conf ]; then mount ${TARGET}3 /mnt/gentoo mount ${TARGET}1 /mnt/gentoo/boot fi cat /mnt/gentoo/catch_chroot.sh EOF #set up the new environment env-update source /etc/profile bash EOF chroot /mnt/gentoo /bin/bash -c bash
Re: [gentoo-user] installation automation scripts
Eric S. Johansson wrote: if I haven't forgotten something... famous last words... I forgot a few things. but this version puts you much closer to having a working system in 90 minutes or less. All you need to do is: boot off of life CD mkdir /mnt/flash mount /dev/sda1 /mnt/flash #(don't forget -t vfat if necessary) edit /mnt/flash/gentoo/config #(to meet your requirements) bash /mnt/flash/gentoo/phase1.sh #( to start everything off) when it comes time, menuconfig will come up and let you configure the kernel. current problems are getting modules to automatically load and automatically setting the password. I may just used to make the root password go away at login so you can get in without first putting single user mode but I'm not really comfortable with that for obvious reasons. on the module loading problem, I'm coming to the opinion that if you need a module at boot time, it should just be built into the kernel. YKMV. I think this will be the last posting of this code, eventually I will put up Web accessible page or two on these pieces and I will post a notice at that point. ---eric -- http://www.wired.com/wired/archive/13.03/view.html?pg=5 The result of the duopoly that currently defines competition is that prices and service suck. We're the world's leader in Internet technology - except that we're not. # config variables HOST_NAME=rufus DOMAIN_NAME=harvee.org DRIVE=/dev/hda # CPUTYPE=i686 CPUTYPE=pentium3 MKFS2=mke2fs MKFS3=mke2fs -j MKFSR=mkreiserfs -q MKSWP=mkswap PART_ROOT=3 DRIVE_ROOT=/dev/hda # format of the filesystem list is: # partition number:filesystem command # create the entries in the order in which they will be created and # mounted. PART_ORDER=(1 2 3) # order of the elements in each entry: # partition number: mount point: file system format command PART_LIST[1]=3:/mnt/gentoo:${MKFSR} PART_LIST[2]=1:/mnt/gentoo/boot:${MKFS3} PART_LIST[3]=2::${MKSWP} # proxy configurations to say to wear and tear gentoo servers # replicated below in constructing make.conf SYNC=rsync://192.168.25.11/gentoo-portage http_proxy=http://192.168.25.11:8080 RESUMECOMMAND= /usr/bin/wget -t 5 --passive-ftp \${URI} -O \${DISTDIR}/\${FILE} # if ethernet module is not detected automatically, list module here ETHERMODULE= # DHCP usually requires nothing but if module is manually loaded. # activate command here DHCPCD_CMD=dhcpcd #otherwise enter static IP information. Note, DHCP takes priority #over static information # static IP address IP_ADDR=192.168.25.11 BROADCAST=192.168.25.0 NETMASK=255.255.255.0 GATEWAY=192.168.25.254 NAMESERVER=192.168.25.1 # PCMCIA?? Y to turn on to turn off PCMCIA=y # bail if config only if [ -z $1 ] ; then # partitions # describe your partitions here in sfdisk format PARTITIONS=`mktemp `|| exit 1 cat $PARTITIONS EOF 0,200,L ,1000,S ,,L ; EOF # your default make.conf MAKE_CONF=`mktemp `|| exit 1 cat $MAKE_CONF EOF MAKEOPTS=-j3 AUTOCLEAN=yes PORTDIR_OVERLAY=/usr/local/portage USE=mmx sse alsa oss aim emacs fastcgi gphoto2 imap maildir mozilla pcmcia python usb gdbm pam png berkdb apache2 perl qt readline gif gtk gtk2 ldap mbox mcal ncurses ssl wxwindows zlib SYNC=rsync://xeno/gentoo-portage http_proxy=http://xeno:8080 RESUMECOMMAND= /usr/bin/wget -t 5 --passive-ftp \${URI} -O \${DISTDIR}/\${FILE } EOF # stage grub.conf and any other needed data GRUB_CONF=`mktemp `|| exit 1 cat $GRUB_CONF EOF PCMCIA=${PCMCIA} DRIVE_ROOT=${DRIVE_ROOT} PART_ROOT=${PART_ROOT} cat /boot/grub/grub.conf PHASE2 # Which listing to boot as default. 0 is the first, 1 the second etc. default 0 # How many seconds to wait before the default listing is booted. timeout 30 # Nice, fat splash-image to spice things up :) # Comment out if you don't have a graphics card installed #splashimage=(hd0,0)/grub/splash.xpm.gz title=Gentoo \${KERNEL_VERSION} # Partition where the kernel image (or operating system) is located root (hd0,0) kernel /\${KERNEL_VERSION} root=${DRIVE_ROOT}${PART_ROOT} PHASE2 EOF FSTAB=`mktemp `|| exit 1 cat $FSTAB EOF # /etc/fstab: static file system information. # $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.14 2003/10/13 20:03:38 azarah Exp $ # # noatime turns off atimes for increased performance (atimes normally aren't # needed; notail increases performance of ReiserFS (at the expense of storage # efficiency). It's safe to drop the noatime options if you want and to # switch between notail and tail freely. # fs mountpointtype opts dump/pass # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts. /dev/hda3 / reiserfsnoatime 0 0 /dev/hda1 /boot ext3noatime 1 1 /dev/hda2 noneswapsw 0 0 /dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0 #/dev/fd0 /mnt/floppy
[gentoo-user] blocked packages both required by the system sys-apps/openrc vs. sys-apps/net-tools?
-plugins/alsa-plugins-1.0.25-r1 USE=pulseaudio -debug -ffmpeg -jack -libsamplerate -speex [ebuild U ] media-sound/pulseaudio-2.1-r1 [1.1-r1] USE=gtk%* webrtc-aec%* xen%* (-systemd) [nomerge ] dev-db/mysql-5.1.66 [5.1.62-r1] [ebuild N ] dev-db/mysql-init-scripts-2.0_pre1-r2 [ebuild U ] mail-mta/postfix-2.9.4 [2.9.3] [ebuild U ] app-admin/apache-tools-2.2.23 [2.2.22] [ebuild U ] dev-libs/librep-0.92.2.1 [0.92.2] [ebuild U ] x11-libs/gtk+-3.4.4 [3.2.4-r1] USE=X%* (-wayland) [ebuild NS] dev-db/postgresql-base-9.2.1 [9.1.5] USE=nls pam readline ssl threads zlib -doc -kerberos -ldap -pg_legacytimestamp LINGUAS=-af -cs -de -en -es -fa -fr -hr -hu -it -ko -nb -pl -pt_BR -ro -ru -sk -sl -sv -tr -zh_CN -zh_TW [nomerge ] app-emulation/wine-1.4.1 [ebuild N ] app-emulation/emul-linux-x86-xlibs-20121028 USE=opengl -development [ebuild U ] app-emulation/emul-linux-x86-opengl-20121028 [20120520] [ebuild U ] app-editors/emacs-24.2 [24.1-r1] [nomerge ] virtual/dev-manager-0 [ebuild N ] virtual/udev-171 USE=acl static-libs -gudev -hwdb -introspection -keymap (-selinux) [nomerge ] dev-games/openscenegraph-3.0.1 [ebuild N ] virtual/glu-9.0 [ebuild N ] media-libs/glu-9.0.0 USE=static-libs (-multilib) [ebuild U ] x11-misc/xkeyboard-config-2.7 [2.6] [ebuild U ] x11-proto/xcb-proto-1.8 [1.7.1] [nomerge ] media-gfx/inkscape-0.48.3.1 [nomerge ] dev-cpp/gtkmm-2.24.2 [nomerge ] dev-cpp/pangomm-2.28.4 [ebuild U ]x11-libs/pango-1.30.1 [1.29.4] [ebuild U ] x11-libs/cairo-1.10.2-r3 [1.10.2-r2] [ebuild U ] media-libs/mesa-9.0 [8.0.4-r1] USE=-r600-llvm-compiler% -xorg% VIDEO_CARDS=-radeonsi% [ebuild U ] x11-libs/libvdpau-0.5 [0.4.1-r1] USE=dri%* [ebuild U ]x11-proto/dri2proto-2.8 [2.6] [ebuild U ] dev-util/desktop-file-utils-0.21 [0.20-r1] [nomerge ] sys-apps/usbutils-006 [004] [nomerge ] sys-apps/hwids-20121119 [blocks b ] sys-apps/usbutils-005-r1 (sys-apps/usbutils-005-r1 is blocking sys-apps/hwids-20121119) [ebuild U ]sys-apps/usbutils-006 [004] [nomerge ] media-gfx/inkscape-0.48.3.1 [nomerge ] media-libs/libwmf-0.2.8.4-r4 [ebuild U ] x11-libs/gdk-pixbuf-2.26.4 [2.24.1-r1] [ebuild U ] net-libs/gnutls-2.12.20 [2.12.18] [nomerge ] x11-drivers/xf86-video-sis-0.10.7 [0.10.4-r1] [ebuild U ] x11-libs/libdrm-2.4.40 [2.4.33] VIDEO_CARDS=(-exynos) [ebuild U ] sys-apps/dbus-1.6.8 [1.6.2] [ebuild U ] x11-proto/randrproto-1.4.0 [1.3.2] [ebuild U ] dev-libs/glib-2.32.4-r1 [2.32.4] [ebuild U ] app-text/iso-codes-3.37 [3.30] [ebuild U ] dev-util/dialog-1.1.20120706 [1.1.20120215] [ebuild U ] sys-apps/grep-2.14 [2.12] [ebuild U ] sys-apps/dstat-0.7.2-r1 [0.6.9-r1] USE=-wifi% [ebuild U ] sci-calculators/units-2.00 [1.88] [ebuild U ] dev-libs/libxslt-1.1.27 [1.1.26-r4] [ebuild NS] sys-kernel/gentoo-sources-3.5.7 [3.3.8, 3.4.9] USE=-build -deblob -symlink [ebuild U ] net-dns/bind-tools-9.9.2 [9.9.1_p2] [ebuild U ] media-libs/libmp3splt-0.7.3 [0.5.9] USE=pcre%* -doc% [ebuild U ] dev-perl/Net-SSLeay-1.480.0-r1 [1.360.0] [ebuild U ] dev-lisp/asdf-1.89 [1.86-r1] [ebuild U ] dev-lang/swig-2.0.8 [2.0.4-r1] [ebuild U ] sci-mathematics/gmm-4.2 [4.1] [ebuild U ] sys-apps/net-tools-1.60_p20120127084908 [1.60_p20110409135728] USE=-old-output% [nomerge ] sys-fs/cryptsetup-1.4.3 [1.4.1] USE=static-libs%* -static* [nomerge ] sys-fs/udev-171-r6 [nomerge ] sys-apps/hwids-20121119 [blocks b ]sys-apps/pciutils-3.1.9-r2 (sys-apps/pciutils-3.1.9-r2 is blocking sys-apps/hwids-20121119) [ebuild U ] sys-apps/pciutils-3.1.10 [3.1.9-r1] [ebuild N ] sys-apps/hwids-20121119 [nomerge ] media-sound/pulseaudio-2.1-r1 [1.1-r1] USE=gtk%* webrtc-aec%* xen%* (-systemd) [ebuild N~] app-emulation/xen-4.1.2 USE=-custom-cflags -debug -flask -pae -xsm [ebuild U ] x11-base/xorg-drivers-1.13 [1.12] VIDEO_CARDS=-chips% (-omap) -rendition% -sisusb% -tseng% [ebuild U ] dev-libs/libevent-2.0.20 [2.0.19] [nomerge ] x11-drivers/xf86-video-qxl-0.1.0 [0.0.17] [ebuild U ] app-emulation/spice-protocol-0.12.2 [0.10.1] [nomerge ] media-sound/pulseaudio-2.1-r1 [1.1-r1] USE=gtk%* webrtc-aec%* xen%* (-systemd) [ebuild N ] media-libs/webrtc-audio-processing-0.1 USE=static-libs [nomerge ] app-emulation/qemu-1.1.2-r2 [1.1.1-r1] USE=jpeg%* png%* threads%* uuid%* vde* vnc%* -mixemu% -systemtap% QEMU_SOFTMMU_TARGETS=-lm32% [ebuild N ] sys-firmware/sgabios-0.1_pre8 [ebuild N ] net-misc/vde-2.2.2 [nomerge ] app-emulation/wine-1.4.1 [ebuild N ] app-emulation/emul-linux-x86-baselibs-20121028 USE=-development [ebuild U ] sys-devel/gnuconfig-20120818 [20120116] [ebuild U ] dev-libs/expat-2.1.0-r2
Re: [gentoo-user] update fails, but I don't see why
ls (-aqua) -cscope -debug -gtk -gtk2 -lua -luajit -motif -neXt -netbeans -perl -python -racket -ruby (-selinux) -session -sound -tcl" PYTHON_SINGLE_TARGET="python3_8* -python3_6 -python3_7*" 0 KiB [ebuild R ] dev-util/android-tools-9.0.0_p3-r1::gentoo USE="-python" PYTHON_TARGETS="python3_7 python3_8%* -python3_6 -python3_9%" 11 KiB [ebuild U ] media-gfx/imagemagick-7.0.10.41-r1:0/7.0.10-37::gentoo [7.0.10.34-r1:0/7.0.10::gentoo] USE="X bzip2 cxx jpeg openmp png postscript tiff zlib -corefonts -djvu -fftw -fontconfig -fpx -graphviz -hdri -heif -jbig -jpeg2k -lcms -lqr -lzma -opencl -openexr -pango -perl -q32 -q8 -raw -static-libs -svg -test -truetype -webp -wmf -xml" 9419 KiB [ebuild U ] sys-devel/gdb-10.1::gentoo [9.2::gentoo] USE="client nls python server -lzma -multitarget -source-highlight -test -vanilla -xml -xxhash" PYTHON_SINGLE_TARGET="python3_8* -python3_6 -python3_7* -python3_9%" 21004 KiB [ebuild U ] virtual/rust-1.47.0::gentoo [1.46.0::gentoo] ABI_X86="(64) -32 (-x32)" 0 KiB [ebuild R ] dev-util/itstool-2.0.6-r1::gentoo PYTHON_SINGLE_TARGET="python3_8* -python3_6 -python3_7*" 0 KiB [ebuild R ] x11-base/xcb-proto-1.14-r1::gentoo ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_7 python3_8* -python3_6 -python3_9" 0 KiB [ebuild U ] net-libs/nodejs-14.15.1:0/14::gentoo [14.11.0:0/0::gentoo] USE="icu npm snapshot ssl system-ssl -debug -doc -inspector -pax_kernel -system-icu% -systemtap -test" CPU_FLAGS_X86="sse2" 32654 KiB [ebuild U ] app-emulation/qemu-5.1.0-r2::gentoo [5.1.0-r1::gentoo] USE="aio bzip2 caps curl fdt filecaps jpeg ncurses nls oss pin-upstream-blobs png seccomp slirp vhost-net vnc xattr xkb -accessibility -alsa (-capstone) -debug -doc -glusterfs -gnutls -gtk -infiniband -io-uring -iscsi -jack -jemalloc -lzo -multipath -nfs -numa -opengl -plugins -pulseaudio -python -rbd -sasl -sdl -sdl-image (-selinux) -smartcard -snappy -spice -ssh -static -static-user -systemtap -test -usb -usbredir -vde -vhost-user-fs -virgl -virtfs -vte -xen -xfs -zstd" PYTHON_TARGETS="python3_7 python3_8* -python3_6 -python3_9" QEMU_SOFTMMU_TARGETS="x86_64 -aarch64 -alpha -arm -avr -cris -hppa -i386 -lm32 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -moxie -nios2 -or1k -ppc -ppc64 -riscv32 -riscv64 -rx -s390x -sh4 -sh4eb -sparc -sparc64 -tricore -unicore32 -xtensa -xtensaeb" QEMU_USER_TARGETS="-aarch64 -aarch64_be -alpha -arm -armeb -cris -hppa -i386 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -mipsn32 -mipsn32el -nios2 -or1k -ppc -ppc64 -ppc64abi32 -ppc64le -riscv32 -riscv64 -s390x -sh4 -sh4eb -sparc -sparc32plus -sparc64 -tilegx -x86_64 -xtensa -xtensaeb" 0 KiB [ebuild R ] app-emulation/virtualbox-6.0.24::gentoo USE="alsa opengl opus pam qt5 sdk udev -debug -doc -dtrace -headless -java -libressl -lvm -pax_kernel -pulseaudio -python -vboxwebsrv -vnc" PYTHON_SINGLE_TARGET="python3_8* -python3_6 -python3_7*" 0 KiB [ebuild R ] net-analyzer/rrdtool-1.7.2:0/8.0.0::gentoo USE="graph perl tcpd -dbi -doc -lua -python -rados -rrdcgi -ruby -static-libs -tcl -test" PYTHON_SINGLE_TARGET="python3_8* -python3_6 -python3_7*" 0 KiB [ebuild R ] sci-libs/gdal-3.0.4-r1:0/3.0::gentoo USE="aux-xml -armadillo -curl -debug -doc -fits -geos -gif -gml -hdf5 -java -jpeg -jpeg2k -lzma (-mdb) -mysql -netcdf -odbc -ogdi -opencl (-oracle) -pdf -perl -png -postgres -python -spatialite -sqlite -threads -webp -xls -zstd" PYTHON_TARGETS="python3_7 python3_8* -python3_6 -python3_9" 0 KiB [ebuild R ] app-text/asciidoc-9.0.2::gentoo USE="-doc -test" PYTHON_SINGLE_TARGET="python3_8* (-pypy3) -python3_6 -python3_7* -python3_9" 0 KiB [ebuild U ] dev-util/cbindgen-0.15.0::gentoo [0.14.6::gentoo] USE="-debug" 3124 KiB [ebuild R ] dev-python/setuptools-46.4.0-r3::gentoo USE="-test" PYTHON_TARGETS="python2_7 python3_6 python3_7 python3_8* (-pypy3) -python3_9" 0 KiB [ebuild R ] dev-python/setuptools_scm-4.1.2-r1::gentoo USE="-test" PYTHON_TARGETS="python3_6 python3_7 python3_8* (-pypy3) -python3_9" 0 KiB [ebuild R ] dev-util/meson-0.55.3::gentoo USE="(-test)" PYTHON_TARGETS="python3_7 python3_8* -python3_6 -python3_9" 0 KiB [ebuild U ] dev-python/six-1.15.0-r1::gentoo [1.15.0::gentoo] USE="-doc -test" PYTHON_TARGETS="python3_6 python3_7 python3_8* (-pypy3) -python3_9 (-python2_7%*)" 0 KiB [ebuild U ] dev-python/pygments-2.7.2::gentoo [2.7.0::gentoo] USE="-doc -test" PYTHON_TARGETS="python3_7 python3_8* (-pypy3) -python3_6 -python3_9" 2296 KiB [ebuild U ] dev-python/idna-2.10-r1::gentoo [2.10::gentoo] PYTHON_TARGETS="python3_6 python3_7 python3_8* (-pypy3) -python3_
[gentoo-user] update fails, but I don't see why
dline -debug -examples -icu -lzma -static-libs -test" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_8* -python3_6 -python3_7* -python3_9" 0 KiB [ebuild R ] dev-util/glib-utils-2.64.5::gentoo PYTHON_SINGLE_TARGET="python3_8* -python3_6 -python3_7* -python3_9%" 0 KiB [ebuild NS ] sys-devel/llvm-11.0.0:11::gentoo [8.0.1:8::gentoo, 9.0.1:9::gentoo, 10.0.1:10::gentoo] USE="libffi ncurses -debug -doc -exegesis -gold -libedit -test -xar -xml -z3" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="AMDGPU BPF NVPTX (X86) -AArch64 -ARC -ARM -AVR -Hexagon -Lanai -MSP430 -Mips -PowerPC -RISCV -Sparc -SystemZ -VE% -WebAssembly -XCore" 176 KiB [ebuild U ] dev-python/certifi-10001-r1::gentoo [10001::gentoo] USE="-test" PYTHON_TARGETS="python3_6 python3_7 python3_8* (-pypy3) -python3_9 (-python2_7%*)" 0 KiB [ebuild R ] dev-util/gdbus-codegen-2.64.5::gentoo PYTHON_SINGLE_TARGET="python3_8* -python3_6 -python3_7*" 0 KiB [ebuild R ] sys-devel/llvm-10.0.1:10::gentoo USE="libffi ncurses -debug -doc -exegesis -gold -libedit -test -xar -xml -z3" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="AMDGPU BPF NVPTX (X86) -AArch64 -ARC -ARM -AVR -Hexagon -Lanai -MSP430 -Mips -PowerPC -RISCV -Sparc -SystemZ -WebAssembly -XCore" 176 KiB [ebuild N ] app-arch/brotli-1.0.9-r1:0/1::gentoo USE="-python -test" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_8 -python3_6 -python3_7 -python3_9" 476 KiB [ebuild R ] dev-python/bsddb3-6.2.7::gentoo PYTHON_TARGETS="python3_8* -python3_6 -python3_7* -python3_9" 0 KiB [ebuild U ] dev-lang/rust-1.47.0-r2:stable/1.47::gentoo [1.46.0:stable/1.46::gentoo] USE="-clippy -debug (-doc) -libressl (-miri) (-nightly) (-parallel-compiler) -rls -rustfmt (-system-bootstrap) (-system-llvm) -test% -wasm" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="sse2" LLVM_TARGETS="(X86) -AArch64 -AMDGPU -ARM -AVR% -BPF -Hexagon -Lanai -MSP430 -Mips -NVPTX -PowerPC -RISCV -Sparc -SystemZ -WebAssembly -XCore" 225922 KiB [ebuild U ] sys-libs/libomp-11.0.0::gentoo [10.0.1::gentoo] USE="(-cuda) -hwloc -offload -ompt -test" ABI_X86="(64) -32 (-x32)" 0 KiB [ebuild R ] dev-util/android-tools-9.0.0_p3-r1::gentoo USE="-python" PYTHON_TARGETS="python3_8%* -python3_6 -python3_7* -python3_9%" 11 KiB [ebuild U ] sys-block/parted-3.3-r2::gentoo [3.2-r1::gentoo] USE="debug nls readline -device-mapper (-selinux) (-static-libs%)" 1717 KiB [ebuild U ] sys-devel/gdb-10.1::gentoo [9.2::gentoo] USE="client nls python server -lzma -multitarget -source-highlight -test -vanilla -xml -xxhash" PYTHON_SINGLE_TARGET="python3_8* -python3_6 -python3_7* -python3_9%" 21004 KiB [ebuild R ] app-editors/vim-8.2.0360::gentoo USE="X acl nls -cscope -debug -gpm -lua -luajit -minimal -perl -python -racket -ruby (-selinux) -sound -tcl -terminal -vim-pager" PYTHON_SINGLE_TARGET="python3_8* -python3_6 -python3_7*" 0 KiB [ebuild U ] virtual/rust-1.47.0::gentoo [1.46.0::gentoo] ABI_X86="(64) -32 (-x32)" 0 KiB [ebuild R ] dev-util/itstool-2.0.6-r1::gentoo PYTHON_SINGLE_TARGET="python3_8* -python3_6 -python3_7*" 0 KiB [ebuild R ] x11-base/xcb-proto-1.14-r1::gentoo ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_8* -python3_6 -python3_7* -python3_9" 0 KiB [ebuild U ] net-libs/nodejs-14.15.1:0/14::gentoo [14.11.0:0/0::gentoo] USE="icu npm snapshot ssl system-ssl -debug -doc -inspector -pax_kernel -system-icu% -systemtap -test" CPU_FLAGS_X86="sse2" 32654 KiB [ebuild U ] app-emulation/qemu-5.1.0-r2::gentoo [5.1.0-r1::gentoo] USE="aio bzip2 caps curl fdt filecaps jpeg ncurses nls oss pin-upstream-blobs png seccomp slirp vhost-net vnc xattr xkb -accessibility -alsa (-capstone) -debug -doc -glusterfs -gnutls -gtk -infiniband -io-uring -iscsi -jack -jemalloc -lzo -multipath -nfs -numa -opengl -plugins -pulseaudio -python -rbd -sasl -sdl -sdl-image (-selinux) -smartcard -snappy -spice -ssh -static -static-user -systemtap -test -usb -usbredir -vde -vhost-user-fs -virgl -virtfs -vte -xen -xfs -zstd" PYTHON_TARGETS="python3_8* -python3_6 -python3_7* -python3_9" QEMU_SOFTMMU_TARGETS="x86_64 -aarch64 -alpha -arm -avr -cris -hppa -i386 -lm32 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -moxie -nios2 -or1k -ppc -ppc64 -riscv32 -riscv64 -rx -s390x -sh4 -sh4eb -sparc -sparc64 -tricore -unicore32 -xtensa -xtensaeb" QEMU_USER_TARGETS="-aarch64 -aarch64_be -alpha -arm -armeb -cris -hppa -i386 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -mipsn32 -mipsn32el -nios2 -or1k -ppc -ppc64 -ppc64abi32 -ppc64le -riscv32 -riscv64 -s390x -sh4 -sh4eb -sparc -sparc32plus -sparc64 -tilegx -x86_64 -xtensa -xtensaeb&qu
Re: [gentoo-user] update fails, but I don't see why
R ] sys-devel/llvm-10.0.1:10::gentoo USE="libffi ncurses -debug -doc -exegesis -gold -libedit -test -xar -xml -z3" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="AMDGPU BPF NVPTX (X86) -AArch64 -ARC -ARM -AVR -Hexagon -Lanai -MSP430 -Mips -PowerPC -RISCV -Sparc -SystemZ -WebAssembly -XCore" 176 KiB [ebuild N ] app-arch/brotli-1.0.9-r1:0/1::gentoo USE="-python -test" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_7 python3_8 -python3_6 -python3_9" 476 KiB [ebuild R ] dev-python/bsddb3-6.2.7::gentoo PYTHON_TARGETS="python3_7 python3_8* -python3_6 -python3_9" 0 KiB [ebuild U ] dev-lang/rust-1.47.0-r2:stable/1.47::gentoo [1.46.0:stable/1.46::gentoo] USE="-clippy -debug (-doc) -libressl (-miri) (-nightly) (-parallel-compiler) -rls -rustfmt (-system-bootstrap) (-system-llvm) -test% -wasm" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="sse2" LLVM_TARGETS="(X86) -AArch64 -AMDGPU -ARM -AVR% -BPF -Hexagon -Lanai -MSP430 -Mips -NVPTX -PowerPC -RISCV -Sparc -SystemZ -WebAssembly -XCore" 225922 KiB [ebuild U ] sys-libs/libomp-11.0.0::gentoo [10.0.1::gentoo] USE="(-cuda) -hwloc -offload -ompt -test" ABI_X86="(64) -32 (-x32)" 0 KiB [ebuild R ] dev-util/android-tools-9.0.0_p3-r1::gentoo USE="-python" PYTHON_TARGETS="python3_7 python3_8%* -python3_6 -python3_9%" 11 KiB [ebuild U ] sys-devel/gdb-10.1::gentoo [9.2::gentoo] USE="client nls python server -lzma -multitarget -source-highlight -test -vanilla -xml -xxhash" PYTHON_SINGLE_TARGET="python3_8* -python3_6 -python3_7* -python3_9%" 21004 KiB [ebuild R ] app-editors/vim-8.2.0360::gentoo USE="X acl nls -cscope -debug -gpm -lua -luajit -minimal -perl -python -racket -ruby (-selinux) -sound -tcl -terminal -vim-pager" PYTHON_SINGLE_TARGET="python3_8* -python3_6 -python3_7*" 0 KiB [ebuild U ] virtual/rust-1.47.0::gentoo [1.46.0::gentoo] ABI_X86="(64) -32 (-x32)" 0 KiB [ebuild R ] dev-util/itstool-2.0.6-r1::gentoo PYTHON_SINGLE_TARGET="python3_8* -python3_6 -python3_7*" 0 KiB [ebuild R ] x11-base/xcb-proto-1.14-r1::gentoo ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_7 python3_8* -python3_6 -python3_9" 0 KiB [ebuild U ] x11-libs/libXaw-1.0.13-r2::gentoo [1.0.13-r1::gentoo] USE="-deprecated -doc -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB [ebuild U ] net-libs/nodejs-14.15.1:0/14::gentoo [14.11.0:0/0::gentoo] USE="icu npm snapshot ssl system-ssl -debug -doc -inspector -pax_kernel -system-icu% -systemtap -test" CPU_FLAGS_X86="sse2" 32654 KiB [ebuild U ] app-emulation/qemu-5.1.0-r2::gentoo [5.1.0-r1::gentoo] USE="aio bzip2 caps curl fdt filecaps jpeg ncurses nls oss pin-upstream-blobs png seccomp slirp vhost-net vnc xattr xkb -accessibility -alsa (-capstone) -debug -doc -glusterfs -gnutls -gtk -infiniband -io-uring -iscsi -jack -jemalloc -lzo -multipath -nfs -numa -opengl -plugins -pulseaudio -python -rbd -sasl -sdl -sdl-image (-selinux) -smartcard -snappy -spice -ssh -static -static-user -systemtap -test -usb -usbredir -vde -vhost-user-fs -virgl -virtfs -vte -xen -xfs -zstd" PYTHON_TARGETS="python3_7 python3_8* -python3_6 -python3_9" QEMU_SOFTMMU_TARGETS="x86_64 -aarch64 -alpha -arm -avr -cris -hppa -i386 -lm32 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -moxie -nios2 -or1k -ppc -ppc64 -riscv32 -riscv64 -rx -s390x -sh4 -sh4eb -sparc -sparc64 -tricore -unicore32 -xtensa -xtensaeb" QEMU_USER_TARGETS="-aarch64 -aarch64_be -alpha -arm -armeb -cris -hppa -i386 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -mipsn32 -mipsn32el -nios2 -or1k -ppc -ppc64 -ppc64abi32 -ppc64le -riscv32 -riscv64 -s390x -sh4 -sh4eb -sparc -sparc32plus -sparc64 -tilegx -x86_64 -xtensa -xtensaeb" 0 KiB [ebuild R ] app-emulation/virtualbox-6.0.24::gentoo USE="alsa opengl opus pam qt5 sdk udev -debug -doc -dtrace -headless -java -libressl -lvm -pax_kernel -pulseaudio -python -vboxwebsrv -vnc" PYTHON_SINGLE_TARGET="python3_8* -python3_6 -python3_7*" 0 KiB [ebuild U ] media-gfx/imagemagick-7.0.10.41-r1:0/7.0.10-37::gentoo [7.0.10.34-r1:0/7.0.10::gentoo] USE="X bzip2 cxx jpeg openmp png postscript tiff zlib -corefonts -djvu -fftw -fontconfig -fpx -graphviz -hdri -heif -jbig -jpeg2k -lcms -lqr -lzma -opencl -openexr -pango -perl -q32 -q8 -raw -static-libs -svg -test -truetype -webp -wmf -xml" 9419 KiB [ebuild R ] net-analyzer/rrdtool-1.7.2:0/8.0.0::gentoo USE="graph perl tcpd -dbi -doc -lua -python -rados -rrdcgi -ruby -static-libs -tcl -test" PYTHON_SINGLE_TARGET="python3_8* -python3_6 -python3_7*" 0 KiB [ebuild R ] sci-libs/gdal-3.0.4-r1:0/3.0::gentoo USE="aux-xml -armadillo -curl -debug -doc -fits -geos -gif -gml -hdf5 -java -jpeg -jpeg2k -l
[gentoo-user] Completed installing ... into /tmp/portage/app-emulation/virt-manager-4.0.0
First time I've ever seen a package install into PORTAGE_TMPDIR... Q: What am I missing? The rest of last nights "emerge --update" went into places like /usr/bin... where you'd expect. After the upgrade I noticed that virt-manager wasn't there. Tried emerging it alone to see what had happened. # emerge ... app-emulation/virt-manager; # which virt-manager; which: no virt-manager in (/opt/bin:/opt/sbin:/bin:/usr/bin:/sbin:/usr/sbin) $ less /var/log/portage/app-emulation\:virt-manager-4.0.0\:20230218-151519.log changing mode of /tmp/portage/app-emulation/virt-manager-4.0.0/image/usr/bin/virt-xml to 755 changing mode of /tmp/portage/app-emulation/virt-manager-4.0.0/image/usr/bin/virt-install to 755 changing mode of /tmp/portage/app-emulation/virt-manager-4.0.0/image/usr/bin/virt-clone to 755 changing mode of /tmp/portage/app-emulation/virt-manager-4.0.0/image/usr/bin/virt-manager to 755 >>> Completed installing app-emulation/virt-manager-4.0.0 into >>> /tmp/portage/app-emulation/virt-manager-4.0.0/image * Final size of build directory: 22080 KiB (21.5 MiB) * Final size of installed tree: 7420 KiB ( 7.2 MiB) Full emerge: /usr/bin/emerge --deep --backtrack=128 --with-bdeps y --complete-graph y --autounmask-write --verbose-conflicts --jobs --load-average 60 --verbose-conflicts See also: https://pastebin.com/76x7AdB9 Full emerge log https://pastebin.com/EmyLJsyM emerge --info -- Steven Lembark Workhorse Computing lemb...@wrkhors.com +1 888 359 3508 * Package:app-emulation/virt-manager-4.0.0:0 * Repository: gentoo * Maintainer: virtualizat...@gentoo.org * USE:abi_x86_64 amd64 elibc_glibc kernel_linux python_single_target_python3_10 userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Using python3.10 to build >>> Unpacking source... >>> Unpacking virt-manager-4.0.0.tar.gz to /tmp/portage/app-emulation/virt-manager-4.0.0/work >>> Source unpacked in /tmp/portage/app-emulation/virt-manager-4.0.0/work >>> Preparing source in /tmp/portage/app-emulation/virt-manager-4.0.0/work/virt-manager-4.0.0 ... * Applying virt-manager-4.0.0-setuptools-61-fix.patch ... [ ok ] * Non-PEP517 builds are deprecated for ebuilds using plain distutils. * Please migrate to DISTUTILS_USE_PEP517=setuptools. * Please see Python Guide for more details: * https://projects.gentoo.org/python/guide/distutils.html >>> Source prepared. >>> Configuring source in /tmp/portage/app-emulation/virt-manager-4.0.0/work/virt-manager-4.0.0 ... python3.10 setup.py configure --default-graphics=spice running configure Generated /tmp/portage/app-emulation/virt-manager-4.0.0/work/virt-manager-4.0.0/virtinst/build.cfg >>> Source configured. >>> Compiling source in /tmp/portage/app-emulation/virt-manager-4.0.0/work/virt-manager-4.0.0 ... python3.10 setup.py build -j 64 running build Generating /tmp/portage/app-emulation/virt-manager-4.0.0/work/virt-manager-4.0.0/build/virt-install Generating /tmp/portage/app-emulation/virt-manager-4.0.0/work/virt-manager-4.0.0/build/virt-clone Generating /tmp/portage/app-emulation/virt-manager-4.0.0/work/virt-manager-4.0.0/build/virt-xml Generating /tmp/portage/app-emulation/virt-manager-4.0.0/work/virt-manager-4.0.0/build/virt-manager Generating man/virt-xml.1 Generating man/virt-manager.1 Generating man/virt-install.1 Generating man/virt-clone.1 Generating build/bash-completion/virt-install Generating build/bash-completion/virt-clone Generating build/bash-completion/virt-xml running build_i18n msgfmt po/zh_TW.po -o build/mo/zh_TW/LC_MESSAGES/virt-manager.mo msgfmt po/zh_CN.po -o build/mo/zh_CN/LC_MESSAGES/virt-manager.mo msgfmt po/uk.po -o build/mo/uk/LC_MESSAGES/virt-manager.mo msgfmt po/tr.po -o build/mo/tr/LC_MESSAGES/virt-manager.mo msgfmt po/te.po -o build/mo/te/LC_MESSAGES/virt-manager.mo msgfmt po/ta.po -o build/mo/ta/LC_MESSAGES/virt-manager.mo msgfmt po/sv.po -o build/mo/sv/LC_MESSAGES/virt-manager.mo msgfmt po/s...@latin.po -o build/mo/sr@latin/LC_MESSAGES/virt-manager.mo msgfmt po/sr.po -o build/mo/sr/LC_MESSAGES/virt-manager.mo msgfmt po/sk.po -o build/mo/sk/LC_MESSAGES/virt-manager.mo msgfmt po/si.po -o build/mo/si/LC_MESSAGES/virt-manager.mo msgfmt po/ru.po -o build/mo/ru/LC_MESSAGES/virt-manager.mo msgfmt po/ro.po -o build/mo/ro/LC_MESSAGES/virt-manager.mo msgfmt po/pt_BR.po -o build/mo/pt_BR/LC_MESSAGES/virt-manager.mo msgfmt po/pt.po -o build/mo/pt/LC_MESSAGES/virt-manager.mo msgfmt po/pl.po -o build/mo/pl/LC_MESSAGES/virt-manager.mo msgfmt po/pa.po -o build/mo/pa/LC_MESSAGES/virt-manager.mo msgfmt po/or.po -o build/mo/or/LC_MESSAGES/virt-manager.mo msgfmt po/nl.po -o build/mo/nl/LC_MESSAGES/virt-manager.mo msgfmt po/nb.po -o build/mo/nb/LC_MESSAGES/virt-manager.mo msgfmt po/ms.po -o build/mo/ms/LC_MESSAGES/virt-manager.mo msgfmt po/mr.po -o build/mo/mr/LC_MESSAGES/virt-manager.mo msgfmt po/ml.po -o build/mo/ml/LC_MESSAGES