Skip to content
December 3, 2012 / Kamil Páral

GNOME 3.6: GNOME Online Accounts and Google two-factor authentication

goa-panel In GNOME 3.4 (Fedora 17), GNOME Online Accounts (GOA) worked great with Google two-factor authentication (you really should enable that, if you value your data). In GNOME 3.6 (Fedora 18) it works no more, and it might be fixed in GNOME 3.8. When developers break some existing functionality for the sake of “progress”, but don’t bother fixing it or providing an alternative way before an official release, I always feel a bit… disenchanted.

Fortunately you can work around the broken code.

  1. Open Seahorse, filter your passwords for “GOA”, you should see one or two items of “Gnome Online Accounts password” type. Delete them.
  2. Re-login to Gnome session.
  3. Open Online Accounts and log in to your Google account. It will fail.
  4. Create an application-specific password for your Google account in the web browser.
  5. Open Seahorse, filter your password for “GOA”, you should see a single item. Open it and display the password. It will be very long, find the following section: 'password': <'your_password'>.
  6. Replace your_password with your application-specific password you’ve generated.
  7. Close Seahorse and re-login to your Gnome session.
  8. Online accounts should work now. It worked for me.

It would be really nice if we didn’t have to fix this stuff by hand. Every time I upgrade I have to do lots of these kinds of magic fixes. In Fedora 18, this was one of the minor issues. The big issues still await me.

Flattr this

December 3, 2012 / Kamil Páral

The heroes of Fedora 18 Alpha/Beta testing

Now that Fedora 18 Beta has been released, I would like to thank all who contributed to Fedora 18 Alpha/Beta testing (Install, Desktop and Base) .  Below is a list of contributors together with the number of results they reported into our release validation wiki matrices.

User name Reports submitted Referenced bugs
robatino 380 873387 847693 847691 847696 847694 875364 875380 868469 862557 847644 856894 862537 847689 847688 848631 847683 847686 853590 820472 820797 856096 872844 877313 (23)
Wutao85 173 856495 848675 854153 856503 854181 876091 849095 849112 854836 873106 878365 854471 874456 853636 874459 (15)
kparal 166 879295 875599 857523 857076 860791 810112 853988 864180 873065 848641 864842 849632 870586 879290 853404 864120 879187 863348 848682 856194 (20)
lnie 121 849504 849513 849507 849501 854844 848714 856463 875599 854836 875999 873103 878738 868777 856150 (14)
mkovarik 96 874012 862667 873463 873387 868834 856463 855513 873576 853508 873647 869391 861123 873355 866519 864468 868777 (16)
mkrizek 75 866486 (1)
satellit 52 868661 862591 862537 878985 864058 879046 875393 (7)
pschindl 50 849152 853405 856938 (3)
adamwill 47 868558 876789 856938 848305 863591 879142 856225 848641 855849 867658 879187 867605 (12)
jkeating 22 853404 (1)
jpospisi 20 876319 (1)
jskladan 19 864360 857044 (2)
smatula 17 870220 873446 870208 87342 856270 (5)
fholec 15 872695 872691 (2)
mbanas 12 851114 856463 862602 862371 (4)
bubeck 10 855170 862996 (2)
masami 9 863632 863634 860278 (3)
lkardos 7 864468 (1)
tflink 7 856225 853510 862613 868925 (4)
ljozsa 6 864926 868903 868704 (3)
efreeti 6 863689 863675 863673 863670 860278 863680 (6)
mbriza 6 855509 856169 (2)
secipolla 6 857257 857229 857207 (3)
pholica 5 (0)
jsedlak 5 864360 855849 862801 (3)
jgrulich 4 (0)
jstodola 3 862653 862593 (2)
boblfoot 3 (0)
vicodan 3 (0)
jreznik 3 705086 (1)
Wutao 3 (0)
wolfi 2 872791 (1)
Roignac 2 (0)
dvratil 2 (0)
spstarr 1 875414 (1)
Martix 1 (0)
adamwill/viking-ice 1 (0)
ljozsal 1 868704 (1)

What to say? Andre Robatino owns the game! A big thanks, Andre, your help is phenomenal! (I guess he has some handy scripts for certain test cases, but that definitely deserves a full credit.)

I am very happy to see significant community participation in the list, not just Red Hatters. Robatino being the first of course, but lots of results were reported also by satellit, followed by bubeck and masami. Thank you guys, and also thanks every one else in the matrix. It wouldn’t be possible to keep Fedora quality high without all of you!

If you haven’t participated in Fedora 18 release validation, you still have the chance and we would love to see you help us. Please read QA/Join#Release_validation or talk to us in #fedora-qa on IRC.

Thanks everyone!


A few footnotes:

  • Please bear in mind that the purpose of these numbers is not to evaluate anyone’s amount of contribution to Fedora, it displays just a single piece of a large puzzle. Lots of people test, but they don’t fill in the test case results. And even if they do, different test cases have different complexity.
  • The statistics were generated by the release-test-stats.py script.
October 22, 2012 / Kamil Páral

Fedora 18: yum no longer collides with PackageKit

There is a nice improvement in Fedora 18 related to yum and PackageKit. It fixes a long-standing issue that while PackageKit is active (e.g. checking for system updates), any yum usage is blocked. You would see messages like this:

$ yum install foo
...
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: PackageKit
    Memory :  41 M RSS (447 MB VSZ)
    Started: Fri Sep  7 09:27:08 2012 - 23:13 ago
    State  : Sleeping, pid: 1315
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: PackageKit
    Memory :  46 M RSS (452 MB VSZ)
    Started: Fri Sep  7 09:27:08 2012 - 23:15 ago
    State  : Running, pid: 1315
...

It could last from seconds to dozens of minutes. Killing PackageKit was often the only choice. For me, as a yum-only user, this was really painful and annoying.

But it is no longer the case! As you can see in Bug 812938, Elad Alfassa implemented a patch to PackageKit-yum-plugin and Richard Hughes incorporated it upstream. If you run yum in Fedora 18 now, it will send a signal to PackageKit to cancel any background operations, run your yum command almost immediately and then resume PackageKit operation. The fix turned out to be quite simple, which is ironic, because this issue caused a lot of grievance among our users.

Elad, Richard, thanks a lot!

And the lessons learned for the rest of us is that if you have at least decent technical knowledge and something troubles you, it’s worth to have a look at it. The solution might turn out quite simple. (Personally, I really miss some team in Fedora that would focus on these small issues that cause a lot of discomfort).

Thanks again, guys.

Flattr this

September 12, 2012 / Kamil Páral

KVM disk performance: IDE vs VirtIO

If you use QEMU-KVM (or virt-manager GUI) for running your virtual machines, you can specify a disk driver to be used for accessing the machine’s disk image. By default IDE is selected, but VirtIO is a very popular choice as well. How do they compare in performance?

I used Fedora 17 as a host, Fedora 18 as a guest system. I used bonnie++ for testing. I ran

$ bonnie++ -s 3g

twice for each driver. The disk images were in the form of raw files. The results are:

IDE round 1:

Version  1.96       ------Sequential Output------ --Sequential Input- --Random-
Concurrency   1     -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP
localhost        3G    76  97 24645  25 15658  17  1229  97 277235  56 717.8  65
Latency               196ms    3233ms     804ms   10194us    7619us   90962us
Version  1.96       ------Sequential Create------ --------Random Create--------
localhost           -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
              files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
                 16  4738  72 +++++ +++  7411  62  4893  74 +++++ +++  7853  59
Latency              1019us    6430us    7828us     693us     174us     824us

IDE round 2:

Version  1.96       ------Sequential Output------ --Sequential Input- --Random-
Concurrency   1     -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP
localhost        3G    68  87 24893  26 15971  17  1063  85 282355  56 730.7  66
Latency               260ms     679ms     734ms   43305us    8152us   85837us
Version  1.96       ------Sequential Create------ --------Random Create--------
localhost           -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
              files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
                 16  4740  72 +++++ +++  7488  65  4833  73 +++++ +++  7757  65
Latency              2480us    6227us    7094us     745us     251us     760us

VirtIO round 1:

Version  1.96       ------Sequential Output------ --Sequential Input- --Random-
Concurrency   1     -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP
localhost        3G    77  98 56770  38 32139  19  1222  98 392441  49 937.4  53
Latency               167ms     512ms     666ms    9544us    7309us   85529us
Version  1.96       ------Sequential Create------ --------Random Create--------
localhost           -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
              files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
                 16  5303  81 +++++ +++  8301  74  5398  81 +++++ +++  8851  68
Latency              3725us    6628us    7241us     738us     970us     795us

VirtIO round 2:

Version  1.96       ------Sequential Output------ --Sequential Input- --Random-
Concurrency   1     -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP
localhost        3G    77  97 57202  35 32640  19  1230  98 395489  48 972.4  50
Latency               241ms    1478ms     684ms    9326us   81461us   84019us
Version  1.96       ------Sequential Create------ --------Random Create--------
localhost           -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
              files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
                 16  4753  74 +++++ +++  8434  71  5473  82 +++++ +++  8987  69
Latency              8461us    5904us    7358us     706us      72us     779us

The results (see description) are pretty clear. VirtIO is substantially faster for disk I/O operations. If you don’t use it, you should definitely consider it. If you run a lot of installation tests or other heavy disk operations like I do, it can be a pretty significant difference in performance.

Flattr this

May 31, 2012 / Kamil Páral

Fedora 17 warning: kernel panic after upgrade (part 2)

I have already warned about broken kernel after upgrade to Fedora 17. The issue is worse than we expected. We thought it would hit only users using development version of Fedora and it would work OK after Fedora 17 is officially released. It’s not the case, the details are in bugs 820351, 826537 and 820340. I hope the fix will be ready soon, in the meantime:

  1. The current recommended order of upgrade methods is following: using Network install CD, using Install DVD, using preupgrade.
  2. If  you use Network install CD, you should not encounter any kernel problems after upgrade, Fedora 17 kernel should be installed and booted by default.
  3. If you use Install DVD, your kernel will not be updated to Fedora 17 version, so you will get kernel panic on every shutdown. Just run as root
    $ yum update

    to fix the issue.

  4. If you use preupgrade, the new Fedora 17 kernel will be installed, but it won’t be listed in GRUB boot menu and you’ll boot the old Fedora 16 version instead. This is hardest to fix. As root you have to run
    $ grub2-install /dev/sda
    $ grub2-mkconfig -o /boot/grub2/grub.cfg

    You should replace /dev/sda with your disk you want to install bootloader on. Usually it is /dev/sda, but in some cases it might be different.

    EDIT 2012-06-04: This problem seems to be fixed now.

I hope the preupgrade issue will be fixed in the near future and the extra step won’t be necessary. DVD upgrades can’t be fixed, but in their case the problem is not that crucial as the preupgrade issue.

Flattr this

May 23, 2012 / Kamil Páral

Fedora 17 warning: You might see a kernel panic on shutdown after upgrade

If you upgrade your Fedora 15/16 to Fedora 17 before it is officially released, there is a high probability that you encounter a bug, where your computer receives a kernel panic when you try to shut down/reboot. This is documented in bug 820351. The problem is that since Fedora 17 updates repository is still not open, your system might still have an older kernel installed. To fix this issue, just install the latest kernel from Fedora 17 updates-testing repository, like this:

$ yum update kernel\* --enablerepo=updates-testing

After one more reboot, your system should be fixed.

Please note: This bug should not appear once we officially release Fedora 17 (a.k.a GOLD), so that extra step won’t be necessary.

EDIT: The problem persists even in final release and different steps are required.

Flattr this

May 21, 2012 / Kamil Páral

Fedora 17: Your data on USB devices are now safe(r)

There was a nasty bug in Fedora 17 related to USB devices which I blogged about recently. Rejoice, because your data is safe(r) now. GNOME developers did an outstanding job in fixing this issue. If you try to eject your USB device now, and all the data hasn’t been written to it yet, you’ll see a notification instructing you to wait. After the data operations are finished, you’ll see another notification saying that you can unplug the device now. The device will also disappear from Nautilus side pane.

There are still some less-than-optimal corner cases, e.g. you can click on that notification and hide it, but then it’s not really obvious when you can unplug the device (a second notification will pop up, just wait for it). These issues will hopefully be dealt with in a future GNOME release.

Flattr this

Follow

Get every new post delivered to your Inbox.