Hi,<br><br>I've built NetworkManager, but can't get it to start. I was told by a member at the NetworkManager mailing list that the problem is most likely DBUS related.<br>Anyway, I build Network Manager on VectorLinux
5.8 (Slackware 11 derivative). Since Slackware doesn't have support for either DBUS, HAL or PolicyKit, I built these packages myself, following a LinuxFromScratch wiki (CBLFS-Cross), making ajustments where necessary for the packages to work on my system. In short, I build the packages, and made sure that the install script also created a haldaemon and messagebus user/group.
<br><br>When I try to run NetworkManager applet, enetering the "nm-applet" command in a terminal, I get this error:<br><br><br>$ nm-applet<br><br>** (nm-applet:3811): WARNING **: <WARNING> nma_dbus_init (): nma_dbus_init() could not acquire its service. dbus_bus_acquire_service() says: 'Connection ":
1.2" is not allowed to own the service "org.freedesktop.NetworkManagerInfo" due to security policies in the configuration file'<br><br><br>** (nm-applet:3811): WARNING **: <WARNING> nma_dbus_init (): nma_dbus_init() could not acquire its service. dbus_bus_acquire_service() says: 'Connection ":
1.2" is not allowed to own the service "org.freedesktop.NetworkManagerInfo" due to security policies in the configuration file'<br><br>And it just keeps on like that indefinitely. I does certainly look like a policy problem. So I added:
<br><br><allow own="org.freedesktop.NetworkManagerInfo"/><br><br>to /etc/dbus-1/system.conf, just before the end of the context="default" policy.<br>After that I added my username to the NetworkManager.conf
and nm-applet.conf dbus policies.<br><br>Then, I tried to restart the dbus daemon with /etc/rc.d/rc.dbus restart but it gave this error:<br><br>Starting system message bus: /usr/bin/dbus-daemon --system<br>Unknown username "*" in message bus configuration file
<br>Unknown username "*" in message bus configuration file<br><br>Strangely enough, using htop, I can see the dbus daemon running, but its obviously not loading the policies correctly. <br>However, I fail to find any problems with my policy files, so I'd like to ask for some help in making sure they are correct (first time I've tampered with dbus/hal...):
<br>My configuration files are as follows:<br><br>/etc/dbus-1/system.conf:<br><br><a href="http://pastebin.com/856654">http://pastebin.com/856654</a><br><br>/etc/dbus-1/system.d/NetworkManager.conf<br><br><a href="http://pastebin.com/856656">
http://pastebin.com/856656</a><br><br>/etc/dbus-1/system.d/nm-applet.conf:<br><br><a href="http://pastebin.com/856658">http://pastebin.com/856658</a><br><br>/etc/dbus-1/system.d/hal.conf and PolicyKit.conf (FWIW):<br><br>
<a href="http://pastebin.com/856661">http://pastebin.com/856661</a><br><a href="http://pastebin.com/856670">http://pastebin.com/856670</a><br><br>Do I need to load any extra services (I have PAM installed, but I'm unaware if I need to have any king of pam-daemon running)?
<br>I feel I'm really close to getting this working, so any help with this is much appreciated!!<br><br>Regards,<br><br>Eugéne<br>