[gentoo-user] Firefox bookmarks
Can anyone tell me where Firefox stores its bookmarks ? I want to copy the bookmarks from my Gentoo system to another system ; I've tried copying .cache/mozilla.mozilla , but it has no effect on the bookmarks shown by Firefox in the other machine. -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca
Re: [gentoo-user] Firefox bookmarks
Look at the contents of ~/.mozilla/firefox and ~/.mozilla/firefox/profiles.ini in particular. The solution should be obvious. Also, see: https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data#w_working-with-profiles, the first Google result. ಠ_ಠ
Re: [gentoo-user] Firefox bookmarks
150110 waben...@gmail.com wrote: 150110 Philip Webb wrote : Can anyone tell me where Firefox stores its bookmarks ? If you want do transfer Firefox bookmarks from one system to another, you can simply press Ctrl+Shift+O in Firefox. A window will open up where you can select Import Backup -- Export Bookmarks to HTML ... to save the bookmarks to a file, which cb easily imported in the same manner on your other system. Thanks hugely !! Export on this Gentoo system works as described, but import on the other system (Mageia) fails asks for a bug report. However, it is easy to use the created file to add bookmarks by hand (click on each desired link they open in Firefox there, whence they cb easily bookmarked on that Firefox). I want to set up Mageia on my HDD as an emergency resource in case my Gentoo system on SSD fails one day (I want to be able to use the Internet etc, while I get a new SSD, my ancient stand-by machines are no longer capable). The process is reminding me all the time why I use Gentoo (big smile). -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca
Re: [gentoo-user] installing Gentoo in a xen VM
On Fri, Jan 9, 2015 at 4:02 PM, lee l...@yagibdah.de wrote: Rich Freeman ri...@gentoo.org writes: On Mon, Dec 29, 2014 at 8:55 AM, lee l...@yagibdah.de wrote: Just why can't you? ZFS apparently can do such things --- yet what's the difference in performance of ZFS compared to hardware raid? Software raid with MD makes for quite a slowdown. Well, there is certainly no reason that you couldn't serialize a logical volume as far as design goes. It just isn't implemented (as far as I'm aware), though you certainly can just dd the contents of a logical volume. You can use dd to make a copy. Then what do you do with this copy? I suppose you can't just use dd to write the copy into another volume group and have it show up as desired. You might destroy the volume group instead ... You can dd from a logical volume into a file, and from a file into a logical volume. You won't destroy the volume group unless you do something dumb like trying to copy it directly onto a physical volume. Logical volumes are just block devices as far as the kernel is concerned. ZFS performs far better in such situations because you're usually just snapshotting and not copying data at all (though ZFS DOES support serialization which of course requires copying data, though it can be done very efficiently if you're snapshotting since the filesystem can detect changes without having to read everything). How's the performance of software raid vs. hardware raid vs. ZFS raid (which is also software raid)? Well, depends on your hardware. mdadm does pretty well though I'm sure a very good quality hardware RAID will outperform it. I would think that ZFS would outperform both for some workloads, and underperform it for others - it works very differently. ZFS doesn't have the write hole and all that, but I would think that large (many stripes) internal writes to files would work worse since ZFS has to juggle metadata and other filesystems will overwrite it in place. Incidentally, other than lacking maturity btrfs has the same capabilities. IIRC, there are things that btrfs can't do and ZFS can, like sending a FS over the network. There are things that each filesystem can do that the other cannot. That doesn't include sending a filesystem over the network. btrfs send can serialize snapshots or the differences between two snapshots. How about ZFS as root file system? I'd rather create a pool over all the disks and create file systems within the pool than use something like ext4 to get the system to boot. I doubt zfs is supported by grub and such, so you'd have to do the usual in-betweens as you're eluding to. However, I suspect it would generally work. I haven't really used zfs personally other than tinkering around a bit in a VM. And how do I convert a system installed on an ext4 FS (on a hardware raid-1) to ZFS? I can plug in another two disks, create a ZFS pool from them, make file systems (like for /tmp, /var, /usr ...) and copy everything over. But how do I make it bootable? I'm pretty sure you'd need an initramfs and a boot partition that is readable by the bootloader. You can skip that with btrfs, but not with zfs. GRUB is FSF so I doubt they'll be doing anything about zfs anytime soon. Otherwise, you'll have to copy everything over - btrfs can do in-place ext4 conversion, but not zfs. -- Rich
Re: [gentoo-user] Firefox bookmarks
Am Samstag, 10.01.2015 um 00:10 schrieb Philip Webb purs...@ca.inter.net: Can anyone tell me where Firefox stores its bookmarks ? I want to copy the bookmarks from my Gentoo system to another system ; I've tried copying .cache/mozilla.mozilla , but it has no effect on the bookmarks shown by Firefox in the other machine. I don't know how and where Firefox stores its bookmarks. But if you want do transfer Firefox bookmarks from one system to another, you can simply press Ctrl+Shift+O in Firefox. A window will open up where you can select Import Backup -- Export Bookmarks to HTML... to save the bookmarks to a file. This file can easily be imported in the same manner on your other system. Regards wabe
Re: [gentoo-user] pdf viewer
On Fri, 09 Jan 2015 20:49:56 +0100 lee wrote: Andrew Savchenko birc...@gentoo.org writes: When I need something simple (e.g. to read pdf books) I use mupdf. How did you get mupdf to display a pdf? Just run it: $ mupdf file.pdf In my case mupdf is configured as follows: Installed versions: 1.5-r1(02:19:48 AM 12/28/2014)(X curl openssl -static -static-libs -vanilla) I'd have removed it if it wasn't required by llpp ... Funny thing. llpp segfaults to me to matter on what host I try it. How do I get seamonkey to suggest llpp as application to view PDFs? Sometimes it suggests emacsclient, sometimes browse ... I don't use seamonkey, so I can't get an exact advice, but in general there are two ways to do this: 1) Configure your handlers in seamonkey. 2) Configure your default mime handler using xdg-mime. Best regards, Andrew Savchenko pgp2viOPgFzel.pgp Description: PGP signature
Re: [gentoo-user] unmasking qt5 and plasma 5
Am 09/01/15 um 03:37 schrieb Dale: Jc García wrote: 2015-01-08 11:02 GMT-06:00 behrouz khosravi bz.khosr...@gmail.com: Hi. I was wondering that is it predictable that when qt5 and plasma 5 will be unmasked? Keep an eye on the bug-tracker for the unmasking of qt5[1] or hang around the #gentoo-qt irc channel[2] , there you can get first hand information, It's work that needs to be done, and usually developers work on their free time and bugs might keep arising, so prediction doesn't work. [1] https://bugs.gentoo.org/show_bug.cgi?id=454132 [2] irc://irc.gentoo.org/gentoo-qt On this topic, has anyone used qt5 and plasma 5 yet? Is it at least workable? I ask because I may give it a try unless people think it is to early yet. I have encountered several Gentooers in #gentoo-qt and #gentoo-kde that use it already. It seems to work, thought not perfectly. Some Ubuntu-using friends of mine use Qt5 on a daily basis without problems, I wondered: what's different in Gentoo? cheers -- Michael
Re: [gentoo-user] unmasking qt5 and plasma 5
behrouz khosravi wrote: Could be compiler differences, USE flags etc. I may give it a shot. Just see what it looks like if nothing else. I just didn't want to step into water that was way over my head. ;-) That is exactly my concern! I tried to unmask it but it seemed to be a little hard! I peeked at it and it is both masked and keyworded. That is one reason for my question. When something is masked, it is either not ready for normal use OR has a security problem. There are sometimes other reasons but those are the two common reasons for that type of setting that I see. Dale :-) :-)
[gentoo-user] VM running windows as a guest
Hi I am new to virtualization and would like to receive few notes on things before starting. I clearly see that a lot of you guys are quite pro's with that. I would like to run gentoo and windows on my workstation at the same time so that i could get rid of rebooting my system when switching. Ideal solution would be to have X-windows in vt7 and windows 7 in vt8. Is that possible? Based on what i have learned i think my best solution is to run gentoo as host using KVM and qemu for the windows guest. I have the windows installed on my hard-drive. Can I use that image for the guest if I run it in HVM mode? To run serious applications in windows I probably need paravirtualization. Can I modify the old windows image or is it better to begin with a fresh install to get virtio drivers to the windows? Here just few thoughts that i have in mind... -- Matti
Re: [gentoo-user] Usign ansible (was: another old box to update)
Am 08.01.2015 um 19:29 schrieb Alan McKinnon: The directory layout in the best practice page is indeed way more than you need, it lists most of the directories in common use across a wide array of deployments. In reality you create just the directories you need. Global stuff goes in the top level (like inventory). Variables for groups and individual hosts go into suitably named files inside group_vars and host_vars. Roles have a definite structure, in practice you'll use tasks/ and templates/ a lot, everything else only when you need them. This is a good design I feel. If a file describes variables, you don't have to tag it as such or explicitly include it anywhere. Instead, files inside a *vars/ directory contain variables, the system knows when to use them based on the name of the file. It's really stunningly obvious once you train your brain to stop thinking in terms of complexity :-) Thanks a lot ... I spent some time with it already and learn to like it ;) I am nearly done with setting up an inventory file for all the customer boxes I am responsible for. Just using the ad-hoc-commands is very useful already! For example I could store the output of the setup module for local reference ... this gives me loads of basic information. I know it is not a backup program but I think I could also use it to rsync all the /etc directories to my ansible host? Or trigger a git push on the remote machines to let them push their configs up to some central git-repo I provide here (having /etc and the @world-file is quite a good start here and then ... ). It is also great to be able to check for let's say shellshock-vulnerability by adding a playbook and running it to all/some of the servers out there ... I am really starting to come up with lots of ideas! My current use case will be more of an inventory to track all the boxes ... deploying stuff out to them seems not so easy in my slightly heterogeneous zoo. But this can lead to a more standardized setup, sure. One question: As far as I see the hostname in the inventory does not have to be unique? I have some firewalls out there without a proper FQDN, so there are several pfsense lines in various groups (I have now groups in there with the name of the [customer] and some of them have child groups like [customer-sambas] ...). I would like to be able to also access all the ipfires or sambas in another group ... so I would have to list them again in that group [ipfires] ? Thanks for the great hint to ansible, looking great so far! Stefan
Re: [gentoo-user] unmasking qt5 and plasma 5
Could be compiler differences, USE flags etc. I may give it a shot. Just see what it looks like if nothing else. I just didn't want to step into water that was way over my head. ;-) That is exactly my concern! I tried to unmask it but it seemed to be a little hard!
Re: [gentoo-user] unmasking qt5 and plasma 5
On 01/08/2015 09:37 PM, Dale wrote: Jc García wrote: 2015-01-08 11:02 GMT-06:00 behrouz khosravi bz.khosr...@gmail.com: Hi. I was wondering that is it predictable that when qt5 and plasma 5 will be unmasked? Keep an eye on the bug-tracker for the unmasking of qt5[1] or hang around the #gentoo-qt irc channel[2] , there you can get first hand information, It's work that needs to be done, and usually developers work on their free time and bugs might keep arising, so prediction doesn't work. [1] https://bugs.gentoo.org/show_bug.cgi?id=454132 [2] irc://irc.gentoo.org/gentoo-qt On this topic, has anyone used qt5 and plasma 5 yet? Is it at least workable? I ask because I may give it a try unless people think it is to early yet. Thanks. Dale :-) :-) I've been using it on my machine for a few months now actually. In the beginning there were tons of ups and downs as it got stabilized, but it's been pretty smooth lately. There are definitely some kinks that still need to be worked out, and there are only a couple k-applications that have been updated to work with the new frameworks (unless you're willing to go with the live ebuilds). I'd wait till plasma 5.2 is released, or at least in beta. I've heard that a lot of bugs will be ironed out then. Though if you're curious, it's completely usable right now, nothing is currently on fire on my computer! signature.asc Description: OpenPGP digital signature
[gentoo-user] DVB-C Technotrend C1501 CI CAM initialization?
Hi there, I just encountered a weird problem with a new TechnoTrend C-1501 DVB-C card with CI module (SAA7146 based). The CAM seems to work fine ONLY if I remove and re-insert the whole CI module after booting. When I don't do that, I cannot receive any program (could not try non-encrypted channels since my provider encrypts all digital channels). After re-inserting the card, everything works as it should. Since the computer is not permanently powered on, and the back of the computer is hard to access, this is a very unsatisfying condition; Is there a way to re-initialize the module after rebooting or any other way to simulate re-insertion of it by software? Tech details: Linux version 3.17.7-gentoo (root@artemis) (gcc version 4.7.3 (Gentoo 4.7.3-r1 p1.4, pie-0.5.5) ) #1 SMP PREEMPT Tue Dec 30 16:58:13 CET 2014 (Gentoo-kernel, no further patches applied) artemis linux # qlist -Iv dvb media-libs/libdvb-0.5.5.1-r3 virtual/linuxtv-dvb-headers-5.8 artemis linux # dmesg [relevant parts] [5.322053] saa7146: found saa7146 @ mem c9072c00 (revision 1, irq 21) (0x13c2,0x101a) [5.322055] saa7146 (0): dma buffer size 192512 [5.322057] DVB: registering new adapter (TT-Budget C-1501 PCI) [5.341385] adapter has MAC addr = 00:d0:5c:cd:8e:15 [5.373142] Registered IR keymap rc-tt-1500 [5.373225] input: Budget-CI dvb ir receiver saa7146 (0) as /devices/pci:00/:00:14.4/:04:06.0/rc/rc0/input13 [5.373269] rc0: Budget-CI dvb ir receiver saa7146 (0) as /devices/pci:00/:00:14.4/:04:06.0/rc/rc0 [5.373342] budget_ci: CI interface initialised [5.410959] budget_ci dvb :04:06.0: DVB: registering adapter 0 frontend 0 (Philips TDA10023 DVB-C)... [9.374382] dvb_ca adapter 0: DVB CAM detected and initialised successfully [ 373.441786] dvb_ca adapter 0: DVB CAM detected and initialised successfully The first line is right after booting, the second after re-inserting the CI- module. Thanks Alexander Puchmayr
Re: [gentoo-user] Usign ansible
On 09/01/2015 11:25, Stefan G. Weichinger wrote: Am 08.01.2015 um 19:29 schrieb Alan McKinnon: The directory layout in the best practice page is indeed way more than you need, it lists most of the directories in common use across a wide array of deployments. In reality you create just the directories you need. Global stuff goes in the top level (like inventory). Variables for groups and individual hosts go into suitably named files inside group_vars and host_vars. Roles have a definite structure, in practice you'll use tasks/ and templates/ a lot, everything else only when you need them. This is a good design I feel. If a file describes variables, you don't have to tag it as such or explicitly include it anywhere. Instead, files inside a *vars/ directory contain variables, the system knows when to use them based on the name of the file. It's really stunningly obvious once you train your brain to stop thinking in terms of complexity :-) Thanks a lot ... I spent some time with it already and learn to like it ;) I am nearly done with setting up an inventory file for all the customer boxes I am responsible for. Just using the ad-hoc-commands is very useful already! For example I could store the output of the setup module for local reference ... this gives me loads of basic information. I know it is not a backup program but I think I could also use it to rsync all the /etc directories to my ansible host? Or trigger a git push on the remote machines to let them push their configs up to some central git-repo I provide here (having /etc and the @world-file is quite a good start here and then ... ). I think that is a perfectly valid approach, I just think of it slightly differently: I don't use it as a backup program, rather I think of it as a way to safely run the same command on multiple hosts. Whether you need to use git, trigger backups or add an arbitrary user doesn't matter, they are valid commands and ansible gives you a framework to run them safely on multiple hosts in parallel[1] And when you find yourself running the same ad-hoc command quite often, you can always fold it into a playbook proper It is also great to be able to check for let's say shellshock-vulnerability by adding a playbook and running it to all/some of the servers out there ... I am really starting to come up with lots of ideas! My current use case will be more of an inventory to track all the boxes ... deploying stuff out to them seems not so easy in my slightly heterogeneous zoo. But this can lead to a more standardized setup, sure. Indeed. it encourages a cattle not pets (google it) way of thinking. So your hosts may all be different, and you may end up with 10% more packages than you really need, but you do get a model you can keep in your head and be much more productive. And bill more hours :-) One question: As far as I see the hostname in the inventory does not have to be unique? I have some firewalls out there without a proper FQDN, so there are several pfsense lines in various groups (I have now groups in there with the name of the [customer] and some of them have child groups like [customer-sambas] ...). An inventory is just an .ini file, so duplicate entries don't really matter. IIRC later dupes just overwrite earlier ones. Internally, the inventory is treated as a bunch of key-value pairs and it's the key that ansible uses to name hosts it works with. The values tell it how to contact the host. What I do is list all my hosts at the top level of the inventory in some sensible order, and just list the names in groups below that (see the example below). If you don't explicitly provide an FQDN for a host, then ansible uses the name you gave it and tries to ssh to that name. The name can be something that resolves in DNS, something in /etc/hosts, or an IP address, just like using ssh (as it really is ssh doing the hard work under the hood) I would like to be able to also access all the ipfires or sambas in another group ... so I would have to list them again in that group [ipfires] ? Yes. If the playbook says to run the play against a group, then you list each host in the group. You can also make groups of groups so it's quite easy to come up with a scheme that suits your setup. Here's a piece of my inventory to illustrate: # List all workstations here, including the ansible_* variables # Assign each host to the relevant groups below aadil-wks ansible_ssh_host=192.168.1.84 brandon-wks ansible_ssh_host=192.168.1.100 carmen-wks ansible_ssh_host=192.168.1.146 # List all servers here, including the ansible_* variables # Assign each host to the relevant groups below ppm-db-0ansible_ssh_host=192.168.0.16 ppm-mail-0 ansible_ssh_host=192.168.0.14 ppm-preprod-0 ansible_ssh_host=192.168.0.12 ppm-www-0 ansible_ssh_host=192.168.0.20 [accounts-workstations] aadil-wks carmen-wks [support-workstations] brandon-wks [web-servers]
Re: [gentoo-user] problem emerging rhythmbox
Alan McKinnon alan.mckin...@gmail.com wrote: On 09/01/2015 14:58, cov...@ccs.covici.com wrote: Alan McKinnon alan.mckin...@gmail.com wrote: On 09/01/2015 14:41, cov...@ccs.covici.com wrote: Hi. I am getting an error when I am trying to emerge rhythmbox on a world update I am trying to do !!! Problem resolving dependencies for media-sound/rhythmbox from @selected ... done! !!! The ebuild selected to satisfy media-sound/rhythmbox has unmet requirements. - media-sound/rhythmbox-3.1::gentoo USE=cdr dbus libnotify libsecret nsplugin python udev -daap -html -ipod -lirc -mtp -test -upnp-av -visualizer -webkit -zeitgeist ABI_X86=64 PYTHON_TARGETS=python3_3 python3_4 The following REQUIRED_USE flag constraints are unsatisfied: python? ( exactly-one-of ( python_targets_python3_3 python_targets_python3_4 ) ) The above constraints are a subset of the following complete expression: ipod? ( udev ) mtp? ( udev ) dbus? ( python ) webkit? ( python ) python? ( exactly-one-of ( python_targets_python3_3 python_targets_python3_4 ) ) (dependency required by @selected [set]) (dependency required by @world [argument]) The problem is that I have in my /etc/portage/package.use the following line media-sound/rhythmbox python python_targets_python3_3 which I thought would satisfy the above requirement -- so what am I doing wrong here? Thanks in advance for any suggestions. Do you perhaps have python3.4 set in make.conf? Or try this: grep -r PYTHON /etc/portage It often uncovers setting hiding away where you forgot to look. I have in make.conf PYTHON_TARGETS=python2_7 python3_3 python3_4 but I thought the package.use overrides that? I may need those in other cases, not sure. There was a news announcement or similar recently about PYTHON_TARGETS=python3_4, it has been reverted back to 3.3 I think your best approach will be to take it out of make,conf and add it individually to each package that needs it. IIRC, the best approach is to not have PYTHON_TARGETS in make,conf at all OK, thanks, that fixed that problem, but shorewall 4 and 6 want different versions of the core, so maybe I should wait till they get straightened out, also postgresql has a slot conflict as well, so I may wait a couple of days and sync again to see if those are straightened out before trying again. Its a mess right now. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com
Re: [gentoo-user] unmasking qt5 and plasma 5
There is definitely a ton to unmask, and if you want kde4 alongside there are some USE flags to mess around with. I don't really remember which anymore, but portage should give some hints. I don't use SDDM, it looked nice, but I like LightDM too much I am not planning to use kde4, so I think that wont bother me. I have heard that SDDM is recommended for Plasma 5, however I am using slim right now and it is more that enough for me!
Re: [gentoo-user] unmasking qt5 and plasma 5
On 01/09/2015 02:20 PM, behrouz khosravi wrote: There is definitely a ton to unmask, and if you want kde4 alongside there are some USE flags to mess around with. I don't really remember which anymore, but portage should give some hints. I don't use SDDM, it looked nice, but I like LightDM too much I am not planning to use kde4, so I think that wont bother me. I have heard that SDDM is recommended for Plasma 5, however I am using slim right now and it is more that enough for me! SDDM is merely upstreams replacement for KDM, as I understand it. There also may be security vulnerabilities in SDDM, I know several versions have been masked because of that. signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] unmasking qt5 and plasma 5
I couldn't stop myself anymore! Right now I am trying to get Plasma 5 on my machine. This is not easy though. I just hope I wont break anything critical! I am trying to install SDDM for the fisrt step.
Re: [gentoo-user] unmasking qt5 and plasma 5
On 01/09/2015 01:15 PM, behrouz khosravi wrote: I couldn't stop myself anymore! Right now I am trying to get Plasma 5 on my machine. This is not easy though. I just hope I wont break anything critical! I am trying to install SDDM for the fisrt step. There is definitely a ton to unmask, and if you want kde4 alongside there are some USE flags to mess around with. I don't really remember which anymore, but portage should give some hints. I don't use SDDM, it looked nice, but I like LightDM too much signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] problem emerging rhythmbox
On 09/01/2015 14:58, cov...@ccs.covici.com wrote: Alan McKinnon alan.mckin...@gmail.com wrote: On 09/01/2015 14:41, cov...@ccs.covici.com wrote: Hi. I am getting an error when I am trying to emerge rhythmbox on a world update I am trying to do !!! Problem resolving dependencies for media-sound/rhythmbox from @selected ... done! !!! The ebuild selected to satisfy media-sound/rhythmbox has unmet requirements. - media-sound/rhythmbox-3.1::gentoo USE=cdr dbus libnotify libsecret nsplugin python udev -daap -html -ipod -lirc -mtp -test -upnp-av -visualizer -webkit -zeitgeist ABI_X86=64 PYTHON_TARGETS=python3_3 python3_4 The following REQUIRED_USE flag constraints are unsatisfied: python? ( exactly-one-of ( python_targets_python3_3 python_targets_python3_4 ) ) The above constraints are a subset of the following complete expression: ipod? ( udev ) mtp? ( udev ) dbus? ( python ) webkit? ( python ) python? ( exactly-one-of ( python_targets_python3_3 python_targets_python3_4 ) ) (dependency required by @selected [set]) (dependency required by @world [argument]) The problem is that I have in my /etc/portage/package.use the following line media-sound/rhythmbox python python_targets_python3_3 which I thought would satisfy the above requirement -- so what am I doing wrong here? Thanks in advance for any suggestions. Do you perhaps have python3.4 set in make.conf? Or try this: grep -r PYTHON /etc/portage It often uncovers setting hiding away where you forgot to look. I have in make.conf PYTHON_TARGETS=python2_7 python3_3 python3_4 but I thought the package.use overrides that? I may need those in other cases, not sure. There was a news announcement or similar recently about PYTHON_TARGETS=python3_4, it has been reverted back to 3.3 I think your best approach will be to take it out of make,conf and add it individually to each package that needs it. IIRC, the best approach is to not have PYTHON_TARGETS in make,conf at all -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] unmasking qt5 and plasma 5
I've been using it on my machine for a few months now actually. In the beginning there were tons of ups and downs as it got stabilized, but it's been pretty smooth lately. There are definitely some kinks that still need to be worked out, and there are only a couple k-applications that have been updated to work with the new frameworks (unless you're willing to go with the live ebuilds). I'd wait till plasma 5.2 is released, or at least in beta. I've heard that a lot of bugs will be ironed out then. Though if you're curious, it's completely usable right now, nothing is currently on fire on my computer! I couldn't stop myself anymore! Right now I am trying to get Plasma 5 on my machine. This is not easy though. I just hope I wont break anything critical!
Re: [gentoo-user] unmasking qt5 and plasma 5
Am 09.01.2015 um 10:47 schrieb Dale: behrouz khosravi wrote: Could be compiler differences, USE flags etc. I may give it a shot. Just see what it looks like if nothing else. I just didn't want to step into water that was way over my head. ;-) That is exactly my concern! I tried to unmask it but it seemed to be a little hard! I peeked at it and it is both masked and keyworded. That is one reason for my question. When something is masked, it is either not ready for normal use OR has a security problem. There are sometimes other reasons but those are the two common reasons for that type of setting that I see. Dale :-) :-) and most common: unmasking it might lead to an disagreeable situation for some people because a lot of work is needed to proceed.
Re: [gentoo-user] unmasking qt5 and plasma 5
SDDM is merely upstreams replacement for KDM, as I understand it. There also may be security vulnerabilities in SDDM, I know several versions have been masked because of that. Good to know. Thanks I will keep my slim, and see if slim is able to do job.
Re: [gentoo-user] problem emerging rhythmbox
On Fri, 09 Jan 2015 07:41:59 -0500 cov...@ccs.covici.com wrote: Hi. I am getting an error when I am trying to emerge rhythmbox on a world update I am trying to do !!! Problem resolving dependencies for media-sound/rhythmbox from @selected ... done! !!! The ebuild selected to satisfy media-sound/rhythmbox has unmet requirements. - media-sound/rhythmbox-3.1::gentoo USE=cdr dbus libnotify libsecret nsplugin python udev -daap -html -ipod -lirc -mtp -test -upnp-av -visualizer -webkit -zeitgeist ABI_X86=64 PYTHON_TARGETS=python3_3 python3_4 The following REQUIRED_USE flag constraints are unsatisfied: python? ( exactly-one-of ( python_targets_python3_3 python_targets_python3_4 ) ) The above constraints are a subset of the following complete expression: ipod? ( udev ) mtp? ( udev ) dbus? ( python ) webkit? ( python ) python? ( exactly-one-of ( python_targets_python3_3 python_targets_python3_4 ) ) (dependency required by @selected [set]) (dependency required by @world [argument]) The problem is that I have in my /etc/portage/package.use the following line media-sound/rhythmbox python python_targets_python3_3 which I thought would satisfy the above requirement -- so what am I doing wrong here? Like any USE flag, setting python_targets_python3_3 isn't going to unset python_targets_python3_4, so adding -python_targets_python3_4 to rhythmbox might resolve the constraint (don't know how this would interact with the system though). -- Go game editor :: http://khumba.net/projects/goatee :: AGPL, Haskell pgpwQ7CuHOp0s.pgp Description: OpenPGP digital signature
Re: [gentoo-user] installing Gentoo in a xen VM
thegeezer thegee...@thegeezer.net writes: Guess what, I still haven't found out how to actually back up and restore a VM residing in an LVM volume. I find it annoying that LVM doesn't have any way of actually copying a LV. It could be so easy if you could just do something like 'lvcopy lv_source other_host:/backups/lv_source_backup' and 'lvrestore other_host:/backups/lv_source_backup vg_target/lv_source' --- or store the copy of the LV in a local file somewhere. agreed. you have two choices, you can either use dd and clone the LV like a normal partition. alternatively you can use split mirrors and i do this to clone up physical devices: 1. make a mirror of the lv you want to copy to /dev/usb1 2. # lvconvert --splitmirrors 2 --name copy vg/lv /dev/usb1 in 2 it says split the mirror into two parts give the new version the name 'copy' leave this on the pv /dev/usb1 you then need to remove it if you want from your voume group And then you have a copy? Just why can't you? ZFS apparently can do such things --- yet what's the difference in performance of ZFS compared to hardware raid? Software raid with MD makes for quite a slowdown. sorry but that's just not true, if you choose the correct raid level and stripe it can easily compete, No, it can not. You can use the same raid level and stripe size with the same disks, once with software raid (md), once with hardware raid. When there's disk activity going on, you will notice an annoying sluggishness with the software raid which hardware raid just doesn't have. and be more portable (you don't have to find the identical raid card if the raid card goes bang); That depends on what cards you use. HP smart arrays are supposed to be compatible throughout different models. many raid card i would argue are even underpowered for their required iops When you require more iops than your hardware delivers, you need to upgrade the hardware. Do you have some number to show that md raid performs better, without the sluggishness, than a decent hardware raid controller with otherwise identical hardware? -- Again we must be afraid of speaking of daemons for fear that daemons might swallow us. Finally, this fear has become reasonable.
Re: [gentoo-user] installing Gentoo in a xen VM
Rich Freeman ri...@gentoo.org writes: On Mon, Dec 29, 2014 at 8:55 AM, lee l...@yagibdah.de wrote: Just why can't you? ZFS apparently can do such things --- yet what's the difference in performance of ZFS compared to hardware raid? Software raid with MD makes for quite a slowdown. Well, there is certainly no reason that you couldn't serialize a logical volume as far as design goes. It just isn't implemented (as far as I'm aware), though you certainly can just dd the contents of a logical volume. You can use dd to make a copy. Then what do you do with this copy? I suppose you can't just use dd to write the copy into another volume group and have it show up as desired. You might destroy the volume group instead ... ZFS performs far better in such situations because you're usually just snapshotting and not copying data at all (though ZFS DOES support serialization which of course requires copying data, though it can be done very efficiently if you're snapshotting since the filesystem can detect changes without having to read everything). How's the performance of software raid vs. hardware raid vs. ZFS raid (which is also software raid)? Incidentally, other than lacking maturity btrfs has the same capabilities. IIRC, there are things that btrfs can't do and ZFS can, like sending a FS over the network. The reason ZFS (and btrfs) are able to perform better is that they dictate the filesystem, volume management, and RAID layers. md has to support arbitrary data being stored on top of it - it is just a big block device which is just a gigantic array. ZFS actually knows what is in all those blocks, and it doesn't need to copy data that it knows hasn't changed, protect blocks when it knows they don't contain data, and so on. You could probably improve on mdadm by implementing additional TRIM-like capabilities for it so that filesystems could inform it better about the state of blocks, which of course would have to be supported by the filesystem. However, I doubt it will ever work as well as something like ZFS where all this stuff is baked into every level of the design. Well, I'm planning to make some tests with ZFS. Particularly, I want to see how it performs when NFS clients write to an exported ZFS file system. How about ZFS as root file system? I'd rather create a pool over all the disks and create file systems within the pool than use something like ext4 to get the system to boot. And how do I convert a system installed on an ext4 FS (on a hardware raid-1) to ZFS? I can plug in another two disks, create a ZFS pool from them, make file systems (like for /tmp, /var, /usr ...) and copy everything over. But how do I make it bootable? -- Again we must be afraid of speaking of daemons for fear that daemons might swallow us. Finally, this fear has become reasonable.
Re: [gentoo-user] installing Gentoo in a xen VM
J. Roeleveld jo...@antarean.org writes: On Monday, December 29, 2014 03:38:40 AM lee wrote: J. Roeleveld jo...@antarean.org writes: What do you mean with unusable? The bridge swallows the physical port, and the port becomes unreachable. IIRC, you can get around this by assigning an IP address to the bridge rather than to the physical port ... In any case, I'm finding bridges very confusing. This is by design and is documented that way all over the web. Nonetheless, I find them very confusing. pass virtual NICs to the VMs which are part of the bridges. Doesn't that create more CPU load than passing the port? Do you have an IOMMU on the host? I don't notice any significant increase in CPU-usage caused by the network layer. Yes, and the kernel turns it off. Apparently it's expected to be more advantageous for some reason to use software emulation instead. Huh? That is usually because of a bug in the firmware on your server. Dunno, the kernel turned it off, so I read up about it and what I found indicated that using a software emulation of NUMA is supposed to to better --- make it sense or not. BTW, there's a kernel option to make the kernel adjust processes for better performance on NUMA systems. Does that work fine, or should I rather use numad? And at some point, you may saturate the bandwidth of the port. And how is this different from assigning the network interface directly? With more physical ports, you have more bandwidth available. See following: My switch supports bonding, which means I have a total of 4Gbit/s between the server and switch for all networks. (using VLANs) I don't know if mine does. If bandwidth is important to you, investing in a quality switch might be more useful. Unfortunately, they can be rather expensive. Unless you are forced to use some really weird configuration utility for the network, configuring a bridge and assiging the bridge in the xen-domain config file is simpler then assigning physical network interfaces. Hm, how is that simpler? And how do you keep the traffic separated when everything goes over the same bridge? What about pppoe connections? Multiple bridges? And how is that simpler? Isn't that somewhat unsafe since the bridge reaches into the host? Why would I set up a bridge, assign an interface to it, use special firewall rules and whatever else might be required instead of simply giving the physical port to the VM which does the pppoe connection and the firewalling and routing? More bridges are more confusing. You're kinda suggesting that it's simpler to live on an island which has 50 bridges connecting it to some mainland where you have to go every day for work than it is to work on the island. That seems to me like taking a long detour every day. -- Again we must be afraid of speaking of daemons for fear that daemons might swallow us. Finally, this fear has become reasonable.
Re: [gentoo-user] installing Gentoo in a xen VM
J. Roeleveld jo...@antarean.org writes: with firewalling and routing in between. You can't keep the traffic separate when it all goes over the same bridge, can you? Not if it goes over the same bridge. But as they are virtual, you can make as many as you need. I made as few as I needed. What sense would it make to, necessarily, use a physical port for a pppoe connection and then go to the lengths of creating a bridge for it to somehow bring it over to the VM? I found it way easier to just pass the physical port to the VM. am i missing where the fight is ? setting up the bridges Really simple, there are plenty of guides around. Including how to configure it using netifrc (which is installed by default on Gentoo) Creating a bridge isn't too difficult; getting it work is. no documentation about in which order a VM will see the devices Same goes for physical devices. That doesn't make it any better. Use udev-rules to name the interfaces logically based on the MAC-address: *** # cat 70-persistent-net.rules SUBSYSTEM==net, ACTION==add, DRIVERS==?*, ATTR{address}==00:16:3e:16:01:01, ATTR{dev_id}==0x0, ATTR{type}==1, KERNEL==eth*, NAME=lan SUBSYSTEM==net, ACTION==add, DRIVERS==?*, ATTR{address}==00:16:3e:16:01:02, ATTR{dev_id}==0x0, ATTR{type}==1, KERNEL==eth*, NAME=dmz *** Who understands udev? a handful of bridges and VMs Only 1 bridge per network segment is needed. Yes, and that makes for a handful. a firewall/router VM with it's passed-through port for pppoe and three bridges Not difficult, had that for years till I moved the router to a seperate machine. (Needed something small to fit the room where it lives) It's extremely confusing, difficult and complicated. the xen documentation being an awful mess A lot of it is outdated. A big cleanup would be useful there. Yes, it tells you lots of things that you find not to work and confuses you even more until you don't know what to do anymore because nothing works. an awful lot of complexity required There is a logic to it. If there is, it continues to escape me. Just why can't you? ZFS apparently can do such things --- yet what's the difference in performance of ZFS compared to hardware raid? Software raid with MD makes for quite a slowdown. What do you consider hardware raid in this comparison? A decent hardware raid controller, like an HP smart array P800 or an IBM ServeRaid 8k --- of course, they are outdated, yet they work well. Most so-called hardware raid cards depend heavily on the host CPU to do all the calculations and the code used is extremely inefficient. The Linux build-in software raid layer ALWAYS outperforms those cards. You mean the fake controllers? I wouldn't use those. The true hardware raid cards have their own calculation chips to do the heavy lifting. Those actually stand a chance to outperform the linux software raid layer. It depends on the spec of the host CPU and what you use the system for. With all CPUs, relatively slow and relatively fast ones, I do notice an awful sluggishness with software raid which hardware raid simply doesn't have. This sluggishness might not be considered or even noticed by a benchmark you might run, yet it is there. ZFS and BTRFS runs fully on the host CPU, but has some additional logic built- in which allows it to generally outperform hardware raid. I can't tell for sure yet; so far, it seems that they do better than md raid. Btrfs needs some more development ... ZFS with SSD cache is probably hard to beat. I could do with a hardware controller which can be used to off-load all the heavy lifting for the RAIDZ-calculations away from the CPU. And if the stuff for the deduplication could also be done that way? Yes, I've already been wondering why they don't make hardware ZFS controllers. There doesn't seem to be much point in making classical hardware raid controllers while ZFS has so many advantages over them. the only issue with bridges is that if eth0 is in the bridge, if you try to use eth0 directly with for example an IP address things go a bit weird, so you have to use br0 instead so don't do that. Yes, it's very confusing. It's just using a different name. Once it's configured, the network layer of the OS handles it for you. I understand things by removing abstractions. When you remove all abstractions from a bridge, there isn't anything left. A network card, you can take into your hands and look at it; you can plug and unplug the wire(s); these cards usually have fancy lights to show you whether there's a connection or not, and the lights even blink when there's network traffic. A bridge doesn't exist, has nothing and shows you nothing. It's not understandable because it isn't anything, no matter how it's called or handled. -- Again we must be afraid of speaking of daemons for fear that daemons might swallow us. Finally, this fear has become reasonable.
Re: [gentoo-user] pdf viewer
Andrew Savchenko birc...@gentoo.org writes: When I need something simple (e.g. to read pdf books) I use mupdf. How did you get mupdf to display a pdf? I'd have removed it if it wasn't required by llpp ... How do I get seamonkey to suggest llpp as application to view PDFs? Sometimes it suggests emacsclient, sometimes browse ... -- Again we must be afraid of speaking of daemons for fear that daemons might swallow us. Finally, this fear has become reasonable.
Re: [gentoo-user] unmasking qt5 and plasma 5
Michael Vetter wrote: Am 09/01/15 um 03:37 schrieb Dale: Jc García wrote: 2015-01-08 11:02 GMT-06:00 behrouz khosravi bz.khosr...@gmail.com: Hi. I was wondering that is it predictable that when qt5 and plasma 5 will be unmasked? Keep an eye on the bug-tracker for the unmasking of qt5[1] or hang around the #gentoo-qt irc channel[2] , there you can get first hand information, It's work that needs to be done, and usually developers work on their free time and bugs might keep arising, so prediction doesn't work. [1] https://bugs.gentoo.org/show_bug.cgi?id=454132 [2] irc://irc.gentoo.org/gentoo-qt On this topic, has anyone used qt5 and plasma 5 yet? Is it at least workable? I ask because I may give it a try unless people think it is to early yet. I have encountered several Gentooers in #gentoo-qt and #gentoo-kde that use it already. It seems to work, thought not perfectly. Some Ubuntu-using friends of mine use Qt5 on a daily basis without problems, I wondered: what's different in Gentoo? cheers Could be compiler differences, USE flags etc. I may give it a shot. Just see what it looks like if nothing else. I just didn't want to step into water that was way over my head. ;-) Dale :-) :-)
Re: [gentoo-user] problem emerging rhythmbox
On 09/01/2015 14:41, cov...@ccs.covici.com wrote: Hi. I am getting an error when I am trying to emerge rhythmbox on a world update I am trying to do !!! Problem resolving dependencies for media-sound/rhythmbox from @selected ... done! !!! The ebuild selected to satisfy media-sound/rhythmbox has unmet requirements. - media-sound/rhythmbox-3.1::gentoo USE=cdr dbus libnotify libsecret nsplugin python udev -daap -html -ipod -lirc -mtp -test -upnp-av -visualizer -webkit -zeitgeist ABI_X86=64 PYTHON_TARGETS=python3_3 python3_4 The following REQUIRED_USE flag constraints are unsatisfied: python? ( exactly-one-of ( python_targets_python3_3 python_targets_python3_4 ) ) The above constraints are a subset of the following complete expression: ipod? ( udev ) mtp? ( udev ) dbus? ( python ) webkit? ( python ) python? ( exactly-one-of ( python_targets_python3_3 python_targets_python3_4 ) ) (dependency required by @selected [set]) (dependency required by @world [argument]) The problem is that I have in my /etc/portage/package.use the following line media-sound/rhythmbox python python_targets_python3_3 which I thought would satisfy the above requirement -- so what am I doing wrong here? Thanks in advance for any suggestions. Do you perhaps have python3.4 set in make.conf? Or try this: grep -r PYTHON /etc/portage It often uncovers setting hiding away where you forgot to look. -- Alan McKinnon alan.mckin...@gmail.com
[gentoo-user] problem emerging rhythmbox
Hi. I am getting an error when I am trying to emerge rhythmbox on a world update I am trying to do !!! Problem resolving dependencies for media-sound/rhythmbox from @selected ... done! !!! The ebuild selected to satisfy media-sound/rhythmbox has unmet requirements. - media-sound/rhythmbox-3.1::gentoo USE=cdr dbus libnotify libsecret nsplugin python udev -daap -html -ipod -lirc -mtp -test -upnp-av -visualizer -webkit -zeitgeist ABI_X86=64 PYTHON_TARGETS=python3_3 python3_4 The following REQUIRED_USE flag constraints are unsatisfied: python? ( exactly-one-of ( python_targets_python3_3 python_targets_python3_4 ) ) The above constraints are a subset of the following complete expression: ipod? ( udev ) mtp? ( udev ) dbus? ( python ) webkit? ( python ) python? ( exactly-one-of ( python_targets_python3_3 python_targets_python3_4 ) ) (dependency required by @selected [set]) (dependency required by @world [argument]) The problem is that I have in my /etc/portage/package.use the following line media-sound/rhythmbox python python_targets_python3_3 which I thought would satisfy the above requirement -- so what am I doing wrong here? 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 cov...@ccs.covici.com
Re: [gentoo-user] problem emerging rhythmbox
Alan McKinnon alan.mckin...@gmail.com wrote: On 09/01/2015 14:41, cov...@ccs.covici.com wrote: Hi. I am getting an error when I am trying to emerge rhythmbox on a world update I am trying to do !!! Problem resolving dependencies for media-sound/rhythmbox from @selected ... done! !!! The ebuild selected to satisfy media-sound/rhythmbox has unmet requirements. - media-sound/rhythmbox-3.1::gentoo USE=cdr dbus libnotify libsecret nsplugin python udev -daap -html -ipod -lirc -mtp -test -upnp-av -visualizer -webkit -zeitgeist ABI_X86=64 PYTHON_TARGETS=python3_3 python3_4 The following REQUIRED_USE flag constraints are unsatisfied: python? ( exactly-one-of ( python_targets_python3_3 python_targets_python3_4 ) ) The above constraints are a subset of the following complete expression: ipod? ( udev ) mtp? ( udev ) dbus? ( python ) webkit? ( python ) python? ( exactly-one-of ( python_targets_python3_3 python_targets_python3_4 ) ) (dependency required by @selected [set]) (dependency required by @world [argument]) The problem is that I have in my /etc/portage/package.use the following line media-sound/rhythmbox python python_targets_python3_3 which I thought would satisfy the above requirement -- so what am I doing wrong here? Thanks in advance for any suggestions. Do you perhaps have python3.4 set in make.conf? Or try this: grep -r PYTHON /etc/portage It often uncovers setting hiding away where you forgot to look. I have in make.conf PYTHON_TARGETS=python2_7 python3_3 python3_4 but I thought the package.use overrides that? I may need those in other cases, not sure. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com