[Evolution] Bug#387210: First error fixed, but evo still does not launch

Jesus M. Gonzalez-Barahona jgb at gsyc.escet.urjc.es
Thu Sep 14 18:20:56 UTC 2006


The first error, about org.freedesktop.DBus.Error.AccessDenied, has been
fixed, see below. But evolution still shows the other one
(Gtk-CRITICAL), and doesn't start up except when launched with the
--sm-disable option.

For the first error (org.freedesktop.Dbus.Error.AccessDenied), I've
found the problem, and a solution (not sure it is the best one).

The problem seems to be the configuration in
/etc/dbus-1/system.d/NetworkManager.conf (with the dist-upgrade that
took this version of evolution, network-manager came in), which states
that there is little to do for "the rest of us":

--------------------------------------
<!DOCTYPE busconfig PUBLIC
 "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
        <policy user="root">
                <allow own="org.freedesktop.NetworkManager"/>

                <allow
send_destination="org.freedesktop.NetworkManager"/>
                <allow send_interface="org.freedesktop.NetworkManager"/>
        </policy>
        <policy user="hal">
                <allow
send_destination="org.freedesktop.NetworkManager"/>
                <allow send_interface="org.freedesktop.NetworkManager"/>
        </policy>
        <policy group="netdev">
                <allow
send_destination="org.freedesktop.NetworkManager"/>
                <allow send_interface="org.freedesktop.NetworkManager"/>
        </policy>
        <policy context="default">
                <deny own="org.freedesktop.NetworkManager"/>
                <deny
send_destination="org.freedesktop.NetworkManager"/>
                <deny send_interface="org.freedesktop.NetworkManager"/>
        </policy>
</busconfig>
--------------------------------------

The fix (nto sure it is the best one, btw), has been to add jgb (my
user) to the netdev group. Using vigr, I changed from

----------------------------------
netdev:x:117:
----------------------------------

to

----------------------------------
netdev:x:117:jgb
----------------------------------

Then, 

----------------------------------
# /etc/init.d/dbus restart
----------------------------------

And that's all. I'm not sure if something like this should be done
either in evolution or (maybe more likely) in network-manager.




-- 
-----
Jesus M. Gonzalez Barahona        | GSyC (DITTE)
Edificio Departamental II (ESCET) | jgb at gsyc.escet.urjc.es / jgb at computer.org
Universidad Rey Juan Carlos       | tel: +34 91 664 74 67
c/ Tulipan s/n                    | fax: +34 91 664 74 94
28933 Mostoles, Spain





More information about the Pkg-evolution-maintainers mailing list