Newsgroup: it.comp.os.linux.iniziare
Titolo: NetworkManager e dbus

Non so nulla su dbus e quindi vi chiedo:
Non riesco a far partire l'applet NetworkManager in xfce, ottengo questo
--8<---------------cut here---------------start------------->8---
** (nm-applet:11586): WARNING **: <WARNING>      nma_dbus_init (): nma_dbus_init() could not acquire its service.  dbus_bus_acquire_service() says: 'Connection ":1.19" is not allowed to own the service "org.freedesktop.NetworkManagerInfo" due to security policies in the configuration file'
--8<---------------cut here---------------end--------------->8---
ecco il contenuto di /etc/dbus-1/system.d/NetworkManager.conf
--8<---------------cut here---------------start------------->8---
<!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="haldaemon">
                <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>
--8<---------------cut here---------------end--------------->8---
e /etc/dbus-1/system.d/nm-applet.conf
--8<---------------cut here---------------start------------->8---
<!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.NetworkManagerInfo"/>
		<allow send_destination="org.freedesktop.NetworkManagerInfo"/>
                <allow send_interface="org.freedesktop.NetworkManagerInfo"/>
	</policy>
	<policy group="netdev">
		<allow own="org.freedesktop.NetworkManagerInfo"/>
		<allow send_destination="org.freedesktop.NetworkManagerInfo"/>
                <allow send_interface="org.freedesktop.NetworkManagerInfo"/>
	</policy>
	<policy context="default">
		<deny own="org.freedesktop.NetworkManagerInfo"/>
		<deny send_destination="org.freedesktop.NetworkManagerInfo"/>
		<deny send_interface="org.freedesktop.NetworkManagerInfo"/>
	</policy>
</busconfig>
--8<---------------cut here---------------end--------------->8---
Ho provato ad inserire il mio utente nel gruppo netdev, senza risultato.
-- 
     Daniele Giglio       Dona i tuoi cicli di clock alla ricerca!
     dgiglio(a)
iol.it
 
http://boinc.berkeley.edu/
                          --------------------
  Finalmente una buona notizia sul fronte scientifico.  L'atomica non
  causa il cancro.
  		-- Da it.hobby.umorismo

Risolto, ho inserito
--8<---------------cut here---------------start------------->8---
         <allow own="org.freedesktop.NetworkManagerInfo"/>
--8<---------------cut here---------------end--------------->8---
in /etc/dbus-1/system.d/NetworkManager.conf
--8<---------------cut here---------------start------------->8---
        <policy group="netdev">
qui ->           ...
                <allow send_destination="org.freedesktop.NetworkManager"/>
                <allow send_interface="org.freedesktop.NetworkManager"/>
        </policy>
--8<---------------cut here---------------end--------------->8---
-- 
     Daniele Giglio       Dona i tuoi cicli di clock alla ricerca!
     dgiglio(a)
iol.it
 
http://boinc.berkeley.edu/
                          --------------------
       Cappuccetto Rosso attraversa il bosco e incontra il lupo.
       "Ciao Cappuccetto Azzurro!".
       "Ciao Lupo daltonico!".
       		-- Da it.hobby.umorismo