Comment 1 for bug 441333

Revision history for this message
Francesco Marella (francesco-marella) wrote : Re: [Bug 441333] [NEW] cgmail fails on startup when running as root user

Thanks for this bug report.
This is due to gnome keyring not available when user is root,
so we should fallback to a plain file for store account information.

Il giorno sab, 03/10/2009 alle 12.45 +0000, Andrea Veri ha scritto:
> Public bug reported:
>
> running cgmail as root user makes it failing to startup with:
>
> gnome.keyring.IOerror
>
> and
>
> Traceback (most recent call last):
> File "/usr/bin/cgmail", line 45, in <module>
> iface = get_dbus_interface()
> File "/usr/share/cGmail/cGmail/manager/dbusinterface.py", line 46, in get_dbus_interface
> bus = dbus.SessionBus()
> File "/usr/lib/pymodules/python2.5/dbus/_dbus.py", line 219, in __new__
> mainloop=mainloop)
> File "/usr/lib/pymodules/python2.5/dbus/_dbus.py", line 108, in __new__
> bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
> File "/usr/lib/pymodules/python2.5/dbus/bus.py", line 125, in __new__
> bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
> dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
>
> works fine as normal user. I've tested the package using Debian unstable
> with cgmail 0.6.1-1.
>
> ** Affects: cgmail
> Importance: Medium
> Status: Confirmed
>
> ** Changed in: cgmail
> Importance: Undecided => Medium
>
> ** Changed in: cgmail
> Status: New => Confirmed
>

--
Francesco Marella <email address hidden>