Ressources documentaires pour Mandriva Linux et les Logiciels Libres

Billets dans la catégorie Mandriva

SVN version of OpenOffice.org 3 in Cooker

A SVN version of OpenOffice.org 3 have just been released in Cooker. This version allow to fix at the same time an issue introduced since latest cairo update ( bug #42735 ). OpenOffice.org 3 brings many new features like : multiple pages view in Writer, prettier notes in the margin, Microsoft Office 2007 file format support, solver in Calc, new theme in Calc with improved selection, native tables in Impress, official support for Mac, performance improvements, PDF import ( not yet implemented ) and much improved icon theme ( Galaxy icon theme ). For furthers informations about theses features, please have a look at OOoninja website : OpenOffice.org 3.0’s new features, an early look

As usual under mandriva, users have the choice to install whenever icon theme they want ( tango, crystal old KDE3 style, Andromeda/Galaxy, Industrial old Ximian theme ) with the openoffice.org-style-* packages. Each OpenOffice.org components can be installed separately, and Gnome support is available in openoffice.org-gnome.


Multiple page view in OpenOffice.org 3.0 Writer

New selection mode in OpenOffice.org 3.0 Calc

]]

How to not kill a bug with a hammer

Yesterday one of my user was having a problem since a long time with OpenOffice.org under GNOME. When he was opening an attachment in evolution with OpenOffice.org, changing the directory will erase the attachment filename. As the user was using 2008.0, I decide to upgrade his notebook from Mandriva 2008.0 to Mandriva 2008.1 Spring. I’m pretty sure that I could solve the issue by telling OpenOffice.org to use its native dialogs instead, but I was willing to begin the transition of all of my workstations and notebook to Mandriva 2008.1 Spring.

So I upgrade the computer by using urpmi, and everything went well. However even after the upgrade, my openoffice.org bug was not solved ( bug #42794 ) : in short, I use a hammer to kill a bug … for nothing. Even worst, I have to face another bug, but this time with Nautilus. This is a regression since the move to gvfs : Nautilus will no longer show NFS shares from fstab in computer:// ( bug #42792 ) 🙁

I’ve been able somewhat to solve the issue by using autofs to mount the share, and by putting a symlink from the mountpoint to the Desktop of the user. However I must admit that this regression will be an issue for me as I don’t know how the system will react if the NFS share is not available. Wait & See …

]]

PackageKit support in upcoming Mandriva 2009.0

One of the new feature in Mandriva 2009.0 will be PackageKit support. As of today, PackageKit now have support for an urpmi backend ! This backend have been developped by Mandriva, and is already one of the backend supporting the most features. Except yum ( and eventually zypp ), urpmi is the backend which have the most features support as seen on PackageKit backend feature matrix and thus even compared to apt !

People willing to test PackageKit under Mandriva just need to use Cooker, or waiting for the next Mandriva 2009.0 release. Then they will just have to install the packagekit package, and kpackagekit ( KDE frontend ) or gnome-packagekit ( Gnome/GTK frontend ). Presently theses packages are in the contrib repository, but they should be moved shortly in the main repository. Once done, you need to check that the default backend in /etc/PackageKit/PackageKit.conf is urpmi as follow :

DefaultBackend=urpmi

As Mandriva is not using NetworkManager, please be sure to activate also manual network connectivity detection :

UseNetworkHeuristic=true

Now you may want to test if PackageKit is working. For example, you can start a search from CLI with the pkcon utility. For example to search by name all the packages having mandriva-theme in their name, you can do :
pkcon search name mandriva-theme
This will give you the following output :

[admin@info1 Ecoutes]$ pkcon search name mandriva-theme
installed    mandriva-theme-Powerpack-1.3.0-3mdv2009.0
installed    mandriva-theme-common-1.3.0-3mdv2009.0
installed    mandriva-theme-Powerpack-screensaver-1.3.0-3mdv2009.0
available    mandriva-theme-Free-screensaver-1.3.0-3mdv2009.0
available    mandriva-theme-One-screensaver-1.3.0-3mdv2009.0
available    mandriva-theme-One-1.3.0-3mdv2009.0
available    mandriva-theme-Flash-1.3.0-3mdv2009.0
available    mandriva-theme-Flash-screensaver-1.3.0-3mdv2009.0
available    mandriva-theme-Free-1.3.0-3mdv2009.0
available    mandriva-theme-Free-screensaver-1.3.0-3mdv2009.0
available    mandriva-theme-One-screensaver-1.3.0-3mdv2009.0
available    mandriva-theme-One-1.3.0-3mdv2009.0
available    mandriva-theme-Flash-1.3.0-3mdv2009.0
available    mandriva-theme-Flash-screensaver-1.3.0-3mdv2009.0
available    mandriva-theme-Free-1.3.0-3mdv2009.0

As you can see, we can quickly see which packages are installed, and which ones are not installed. Here is a quick command matrix between urpmi and PackageKit CLI utility :

URPMI pkcon Description
urpmi « foo » pkcon install « foo » Install package « foo »
urpme « foo » pkcon remove « foo » Remove package « foo »
urpmq –auto-select pkcon get-updates Return list of updates availables
urpmi –auto-select pkcon update Install updates
urpmf –name « foo » pkcon search name « foo » Search for packages containing « foo » in the name
urpmq -r –list | grep « foo » pkcon search name « foo » Search for packages containing « foo » in the name
urpmq -r –list pkcon get-packages List all availables packages
urpmq -i « foo » pkcon get-details « foo » Print details about package « foo »
urpmq -l « foo » pkcon get-files « foo » Return list of files for package « foo »

Presently PackageKit is very slow ( remember, this is a python program talking to a Perl one ), and some command are not working ( like « pkcon update » ), but remember this is a work in progress. Last but not least, the manpages are useless, and there’re no complete documentation on PackageKit website. However don’t hesitate to use –help option to discover the availables commands.

If you want to use a GUI, please be sure to have installed gnome-packagekit package, and start gpk-application


Gnome PackageKit main screen

Gnome PackageKit showing a package requires

For further screenshots of PackageKit, please go on project homepage

]]

Some july-august Cooker news

After Mandriva 2009.0 Beta 1 release, here are some news on the Cooker front :

  • Improving mdkapplet behaviour : Many users have noticed in the past that sometimes rpmdrake or urpmi ( or any Mandriva tools willing to install a package ) may be blocked sometimes with the criptic « urpmi database locked » message. This message was due most of the time to mdkapplet. Indeed, mdkapplet will check regularly the updates medias, and if they have been updated, it will update the urpmi database. During this phase, the urpmi DB will be locked, and so others applications won’t be able to install packages. A long thread start on Cooker ML to discuss this issue and see how things could be improved. During the discussion, Thierry Vignaud provide some clarifications about mdkapplet behaviour. cf mdv bug #38817
  • Xmetisse and Xgl in contrib : Paulo Cesar Pereira de Andrade ( Mandriva Xorg maintainer ) asked to move move x11-server-xgl and x11-server-xmetisse to contrib. Please note that upstream Xgl is no longer supported and thus even for ATI/AMD graphic cards users, whereas Metisse is somewhat in sleep mode.
  • Vodafone Mobile Connect Card Driver : Buchan Milne have packaged for Mandriva the « Vodafone Mobile Connect Card Driver for Linux » which allow to easily set up new 3g connections (with hardware detection, hardware-specific settings, network-specific settings etc.), and support for reading SMS’s from the modem.
  • Refreshed installer UI landing in cooker : Fred Crozat announced on Cooker ML that the new UI for the installer has been put on the mirrors. Beta 2 users will be able to see the DrakX UI. Please feel free to report bugs or issues.
  • Improved xulrunner integration in Mandriva : Look at the possibilities to improve xulrunner integration in Mandriva. G

KDE 4.1 packages under Mandriva 2008.1 Spring

This is a quick HOWTO which show how to install KDE 4.1 packages from kde.org under Mandriva Linux 2008.1 Spring.

  1. Ensure that you have at least 1GB of free space on /, and especially /opt as KDE 4 packages will be installed in /opt
  2. To be sure that everything will be installed cleanly, you may want to remove previous KDE 4.0.x package :

    urpme qt4-common; urpme libkdecore4; urpme libkdebase4; urpme kdenetwork4-core; urpme kdelibs4-core; urpme kde4-nsplugins
  3. Once done, you can visit the Mandriva page on kde.org 4.1 release page. There you will find the list of mirrors from where you can download KDE 4.1 packages for Mandriva
  4. To have the complete URL needed for urpmi.addmedia, you just need to right-click on one of the mirrors, and do « Copy Link Location », then paste the URL after the urpmi.addmedia command and append RPMS/i586 just after the URL as follow :

    urpmi.addmedia KDE41 MIRROR_URL/RPMS/i586
  5. For example for the lip6 mirror, you will have the following command :

    urpmi.addmedia KDE41 ftp://ftp.lip6.fr/pub/X11/kde/stable/4.1.0/Mandriva/RPMS/i586
  6. Now you can install qt4 4.4.0 packages : urpmi -a libqt; urpmi libqtxml4 libqtsvg4
  7. After this, you just need to install the task-kde4 metapackage to install KDE 4.1 :
    urpmi task-kde4
  8. Several questions will be asked, please be sure to select each time the KDE 4.1.0 or 4.0.98 packages and the Qt 4.4.0 ones.
  9. If some packages failed to be installed, please do not hesitate to launch again the previous urpmi command. At the end everything will be fine.

Now you after all the KDE 4 packages will be installed, you will be able to log in KDE 4.1 by selecting KDE4 in the session menu of the display manager ( KDM, GDM, … ).

Note : There’re still some issues with the packaging as kde4-l10n-fr-4.1.0-1mdv2008.1.noarch and kode-4.1.0-2mdv2008.1.i586 conflict with kde-i18n-fr-3.5.9-1mdv2008.1.noarch and kdepim-kontact-3.5.9-9mdv2008.1.i586. You will have to accept their removal eventually.

]]

Some Cooker news as of 2008-06-08

Ok, here are some quick news from Cooker :

  • Banshee 1.0 is available. This is the banshee-1 package.
  • On users requests, wallpapoz have been packaged. WHat’s interesting with wallpapoz is the fact that you have a large panel of options to configure the wallpaper of the GNOME desktop, notably the ability to define a wallpaper for each virtual desktop 🙂
  • Google Gadgets for Linux have been packaged too
  • SSL support in KDE 3 Kopete version have been fixed in the new QCA package
  • Oxygen theme support for Firefox have been packaged as mozilla-firefox-theme-oxygen
  • Latests xservers snapshots are upload in Cooker by Paulo Andrade. Indeed, for people doing upstream Xorg dev, they can use the snapshots packagesdone by Paulo, which are extracted directly from git. For those willing to test them, they should look at the packages ending with -snapshot. Maybe in the future a task-x11-snapshot will be created to ease their installation.
  • KDE 4.0.81 is in Cooker since at least 1 week. Don’t forget to report bugs upstream for features/fixes/crashers, and at Mandriva bugzilla for the others ones, like the packaging or the desktop integration ones. KDE 4.0.4 is available in 2008.1/contrib/backports for 2008.1 users.
  • Firefox 3.0 RC2 is available in main/testing
  • Cooker is now using kernel 2.6.26-rc4-git5 ( kernel-2.6.26-0.rc4.2mnb2 ). Nvidia drivers have been updated to support this new kernel.
  • There will have some changes concerning post-rpm installation shared libraries linking
  • Since May, Mandriva have switched to TCB ( from OpenWall ) to store password instead of the old shadow. Presently, the compatibility mode is used, but users can easily switch to full TCB database and blowfish encryption. In the future, it may be possible to switch from shadow compatibility mode to full TCB mode by using MSEC/draksec.
  • Olivier Blin is on fire and have add many new features and bugfixes to Mandriva network tools, notably concerning 3G connections. Memory optimisation of net_applet have been done, and LXDE support have been added. Look at drakx-net-0.35-1mdv2009.0 changelog for more informations.

That’s all for today 🙂

]]

OpenSSL vulnerability

Whereas Mandriva did not integrate the patch which make the debian based system being vulnerable to dictionary attacks, Mandriva users should also check their system to see if they are not eventually using of the vulnerable keys. As explained in this blog, Debian have include a tool to check if the user is using a known vulnerable SSH key by using a blacklist database : ssh-vulnkey.
More information on this utility can be found in the debian page dedicated to this issue.

Mandriva users are encouraged to check their SSL keys, and notably their SSH keys to see if eventually they not end up with a known vulnerable key. To do this, they can use the dowkd.pl perl utility. Here are the instructions to use it and test it as root :

  • Install the downkd.pl utility :
    urpmi perl-File-Temp perl-DB_File
    cd /tmp
    wget http://security.debian.org/project/extra/dowkd/dowkd.pl.gz
    gunzip dowkd.pl.gz
    
  • test your SSH Server Host Key :
    perl dowkd.pl host localhost
    
  • Test ssh key for user root :
    perl dowkd.pl user root
    
  • Do the same for any other user connecting with SSH, for example for the user named joe :
    perl dowkd.pl user joe

If you want to remotely test your SSH servers, you may use the debian_ssh_scan utility available on ITsecurity.net. Others tools can be found on the Metasploit dedicated page.

  • First, download and install it :
    urpmi python-paramiko
    cd /tmp
    wget http://itsecurity.net/debian_ssh_scan_v3.tar.bz2
    tar -jxvf debian_ssh_scan_v3.tar.bz2
    cd debian_ssh_scan_v3
    
  • Then, to check if the remote host with the IP 10.128.15.110 is vulnerable :
    ./debian_ssh_scan_v3.py 10.128.15.110
    

]]

Magui : un PC d

Ce concours L

More on Firefox 3 : warning for NFS users

As said by Vincent, Firefox 3 package is in Cooker main/testing repositories. So people willing to test it are free to do it. However, the SQLite usage for the bookmark history may make your system unresponsive by excessive fsync calls. This is especially problematic for people having many I/O request on their filesystem, or for people using NFS home directories. So you should install and use FF3 with care.
BMO #421482 : Firefox 3 uses fsync excessively
BKO #9546 : Huge latency in concurrent I/O when using data=ordered

]]

Mandriva on a Low cost notebook : Kira

Many people are talking about the Asus Eee PC : low cost, tiny, and for the « geeks », running Linux. Mandriva 2008 Spring is compatible out of the box with Asus Eee PC. However a new low cost PC is appearing, done by a spanish company : AIRIS KIRA. This notebbok is low cost ( 299

Catégories

My Tweets