Skip to main content

the avatar of Martin Vidner

dbus-dump

dbus-dump is a tool to capture D-Bus messages in a libpcap capture file.

It takes an idea from dbus-scrape, which processes a strace output of dbus-monitor, and takes it further by stracing dbus-daemon, thus not relying on any eavesdropping (mis)configuration.

The intended purpose is to establish the libpcap capture format as a base for debugging tools like

Thanks to Will Thompson for mentioning the pcap idea.

Usage

$ sudo strace -p `pgrep -f 'dbus-daemon --system'` \
    -s 3000 -ttt -xx -o foo.strace
$ ./dbus-dump foo.strace foo.pcap
$ ./dbus-pcap-parse foo.pcap
Tue Nov 16 12:56:47 +0100 2010 #<DBus::Message:0xb741f340
 @body_length=0,
 @destination="fi.epitest.hostap.WPASupplicant",
 @error_name=nil,
 @flags=0,
 @interface="fi.epitest.hostap.WPASupplicant.Interface",
 @member="scan",
 @message_type=1,
 @params=[],
 @path="/fi/epitest/hostap/WPASupplicant/Interfaces/180",
 @protocol=1,
 @reply_serial=nil,
 @sender=":1.7132",
 @serial=88639,
 @signature="">
Tue Nov 16 12:56:47 +0100 2010 #<DBus::Message:0xb741b060
 @body_length=4,
 @destination=":1.7132",
[...]>

Dependencies

It is written in Ruby. The pcap format is handled by a small bundled module. dbus-dump has no other dependencies. dbus-pcap-parse uses ruby-dbus.

Bugs

This is an early proof-of-concept release, serving to introduce the libpcap format.

The main problem of dbus-dump is duplicating the messages, seeing them both when the daemon receives them and when it sends them (multiple times, for the signals).

The other tools haven't caught up yet:

$ /usr/sbin/tcpdump -r foo.pcap
reading from file foo.pcap, link-type 231
tcpdump: unknown data link type 231

a silhouette of a person's head and shoulders, used as a default avatar

IRC-meeting of Russian openSUSE Community

На прошедшей неделе, после получения статуса openSUSE Member, мне пришло в голову организовать очередное IRC-собрание русскоязычного сообщества openSUSE. Пришло время отчитаться по этому поводу.
Итак, по результатам открытого голосования, в котором в этот раз приняло участие 14 человек, что не может не радовать, решено, что встреча пройдет в Воскресенье, 21.11.2010 в 18:00 по московскому времени (GMT+3).
IRC-сервер: irc.opensuse.org
IRC-канал: #opensuse.ru


Предварительный список тем:
  1. Новая Вики
  2. Новые проекты сообщества
  3. Цели сообщества
  4. Разобраться с курсом, руководством и организацией
  5. Меры предотвращения раскола сообщества
  6. Конфликты между участниками сообщества
  7. Амбасадоры
  8. Книга
Если у Вас есть предложения и замечания, высказать их можно в соответствующих темах:

По правилам проведения официальных митингов окончательный список тем должен быть утвержден не позднее, чем за 2 дня до даты проведения. Так что заинтересованным надо быть активнее. :)

Ждем всех заинтересованных в воскресенье...

a silhouette of a person's head and shoulders, used as a default avatar

Slideshow de Papel de Parede para OpenSuse 11.3

Neste artigo falarei do Crebs (Create Background Slideshow) uma aplicação escrita em Python/GTK para criar slideshow de papéis de parede para o Gnome.



Seu uso é bastante simples, basta selecionar as imagens, definir o tempo de transição, escolher um nome para refência do papel de parede, e clicar em confirmar (um v verde). Automaticamente seu papel de parede é alterado e seu slideshow já está funcionando.

Para instalar essa aplicação em seu Desktop OpenSuse, basta clicar no ícone do 1-ClickInstall abaixo e divirta-se.




Esse pacote está disponível tanto para 32 bits como para 64 bits.
Maiores detalhes sobre o software em http://www.obfuscatepenguin.net/crebs/

the avatar of Michael Löffler

/me is leaving

Moin,

after 7 years with SUSE and Novell I’ve chosen to change something in my life – and decided to accept a new job and will lay down my duties in the openSUSE project. I’ve been with the openSUSE project already prior to its launch in August 2005 and experienced a number of highs and lows. Overall the project  has been shaping up nicely, we reached a lot of our goals and the just passed openSUSE conference reflects this pretty well in my opinion.

Just to stop any rumours – I leave Novell because I found a new job in the trade show management area close to Nuremberg. Trade show management is where my expertise is and where I worked prior to coming to openSUSE. While I enjoyed the work at openSUSE, organizing the openSUSE conference meant doing what I really love and my new job will give me many more conferences and trade shows to plan and organise.  As I will leave Novell before the end of December the project needs a new openSUSE chairman who should serve until the openSUSE foundation is created.

Best wishes to the openSUSE project and the people behind it. I had a lot of fun over the past 7 years, met numerous outstanding people and learned a lot which will help me in my future life.

Best
Michael

the avatar of Martin Vidner

ruby-dbus 0.5.0 is a Gem with Errors

I have made a new release of ruby-dbus, a Ruby language binding for the D-Bus IPC system.
The main feature is a better binding of Ruby Exceptions to D-Bus Errors. See below for an excerpt of the documentation.
Perhaps more importantly, the library is now primarily packaged as a RubyGem (Issue#6). Also I converted the tutorial from Webgen to Markdown.
Bug fixes:
  • Don't pass file descriptors to subprocesses, they would not let go of the service name.
  • Fixed InterfaceElement::validate_name (Ticket#38, by Herwin Weststrate).
  • Fixed a typo in InvalidDestinationName description (Ticket#40).
RPMs can be found via openSUSE Build Service Search.

Errors

D-Bus calls can reply with an error instead of a return value. An error is translated to a Ruby exception.
begin
    network_manager.sleep
rescue DBus::Error => e
    puts e unless e.name == "org.freedesktop.NetworkManager.AlreadyAsleepOrAwake"
end

Replying with an error

To reply to a dbus_method with a D-Bus error, raise a DBus::Error, as constructed by the error convenience function:
raise DBus.error("org.example.Error.SeatOccupied"), "Seat #{seat} is occupied"
If the error name is not specified, the generic org.freedesktop.DBus.Error.Failed is used.
raise DBus.error, "Seat #{seat} is occupied"
raise DBus.error
the avatar of Vojtěch Zeisek

Oracle VirtualBox v openSUSE 11.3

Oracle VirtualBox v openSUSE 11.3

Oracle VirtualBox je velmi populární, jednoduchý a efektivní virtualizátor. Můžete tak mít spuštěn svůj oblíbený operační systém (Linux, samozřejmě;-) a v rámci něho vám poběží libovolný jiný operační systém. Ideální na testování všeho druhu nebo když potřebujete spustit nějakou aplikace, ktrerá ve vašem oblíbeném systému prostě neběží. Virtualizačních nástrojů je celá řada, já v následujícím textu stručně popíši instalaci Oracle VirtualBoxu 3.2 na openSUSE 11.3. Na ostatních (Linuxových) systémech to bude velmi podobné.

vojta Út, 11/09/2010 - 06:57

a silhouette of a person's head and shoulders, used as a default avatar

GnoMenu para OpenSuse 11.3

Continuando minha experiência de migração do Fedora para OpenSuse, acabo de disponibilizar os pacotes do GnoMenu para OpenSuse 11.3 (32 e 64 bits). Para instalar é só clicar no ícone do OneClickInstall abaixo.



Para quem não conhece, o OneClickInstall é um modelo de instalação de pacotes do OpenSuse de forma que, através do próprio navegador Web você consiga instalar pacotes de maneira simples e prática. O arquivo (.ymp - Yast MetaPackage) se responsabiliza por adicionar os repositórios necessários e instalar os pacotes. Quem se responsabiliza pelo conhecimento necessário na criação do pacotes e do arquivo ymp é o desenvolvedor do programa e não o usuário.

a silhouette of a person's head and shoulders, used as a default avatar

GNOME handling of GIMP funds: FAIL

GIMP doesn't have any formal organisation. There is no association that would be able to have a bank account etc. So, since 2004 or thereabouts, any money that the GIMP project receives as donations has been kept by the GNOME Foundation.

Occasionally a consensus of GIMP developers then decides to spend some of these funds on various purposes that benefit the project. Like reimbursing travel expenses to GIMP meetings, which in recent years have been held in conjunction with the Libre Graphics Meeting.

But... it has been very slow getting the reimbursements paid this year. The necessary details (account numbers and amounts) was collected and provided to relevant people in the GNOME Foundation quite quickly after LGM, already during Summer. The information was sent, as requested, in a spreadsheet, with all invoices. But nothing happens. One can't help but wonder, what is going on?

The flight and accommodation expenses represent a significant amount of money to many of us who travelled to Brussels this year. How can we in the future convince people to come to the meeting if we have no idea if getting the travel expenses reimbursed will take months or years? Next year's LGM will be in Montréal, much further away for us Europeans, and thus with more expensive flights.

a silhouette of a person's head and shoulders, used as a default avatar

DKMS in openSUSE

AJ requested DKMS which is the good news.

What is not so good are some comments that oppose need for DKMS.


Free and Open Source Software (FOSS) ideals are nice, and very special word in that name is Free, like freedom. Creating obstacles that will limit users ability to use what works for them will not help us, nor FOSS. We can recommend opensource software and install it by default, but we can't make sure that it works for everyone, in which case giving that as the only choice is forcing users to give up on Linux, or go elsewhere. Does that help to build user base?

With alternatives that are not very strict in enforcement of ideals (and ironically, bring few times more new users to the free and open source software), those that are not happy with openSUSE have no trouble to find what they need.

DKMS is solution for only one of obstacles, and there is many more. If we can't offer some stuff for legal reasons, there is no need to create other problems for people that want to run openSUSE.
a silhouette of a person's head and shoulders, used as a default avatar

Migrando Fedora para Opensuse part4

Neste post falarei sobre dois aplicativos que usava bastante no Fedora e continuo usando no OpenSuse. Dropbox e GnoMenu.

Dropbox não é bem um aplicativo, mas um serviço de disco virtual que uso para compartilhar meus documentos entre computadores diferentes. Também pode ser usado para realizar Backups. Para instalá-lo no OpenSuse basta instalar o pacote dropbox disponível no Gerenciador de Software. No fedora eu tinha que baixar o pacote direto do site. Ponto para o OpenSuse. Mais informações sobre o serviço em http://www.dropbox.com

Gnomenu é um menu alternativo para o Gnome, com alto nível de personalização e bem interessante. Uso-o há algum tempo e sempre achei melhor do que os concorrentes. Criei um pacote dele para o OpenSuse. Clique aqui para baixar. Após a instalação, clique com o botão direito na barra de tarefas e clique em "Adicionar ao painel". Procure pelo item GnoMenu. Essa versão é para intel/amd 64 bits (arch x86_64). Em breve disponibilizo a versão para 32 bits.
Mais informações sobre GnoMenu em https://launchpad.net/gnomenu

Por enquanto é só pessoal. Até a próxima.