GNOME Bugzilla – Bug 526233
NM spews too many messages if system settings service can't start
Last modified: 2009-08-12 21:29:27 UTC
Please describe the problem: If Networkmanager is unable to start the system settings daemon (I presume it's nm-applet - if I'm wrong at this point, you can delete this bug) it doesn't check if it was manually run by the user and it's trying to start it all over again. Currently on my laptop I'm using svn version of KDE and svn version on NM. Solid currently has only basic support for nm-0.6.x and no support for nm-0.7. To get NM to work I need to add gnome-keyring-daemon and nm-applet to my kde autostart. Well it's not ideal solution (there is no global settings applet for my distribution of choice - gentoo) but it works and for the time being I'm afraid it has to stay like that. Anyway, networkmanager is unable to automatically start nm-applet in kde4 environment. Even after nm-applet has been started manually I can still see in logs: NetworkManager] <info> Trying to start the system settings daemon..._ Steps to reproduce: 1. see above 2. 3. Actual results: Expected results: networkmanager should check it nm-applet hasn't been started manually Does this happen every time? yes Other information: I had similar problem on gnome once, when after some crazy update nm-applet wasn't started automatically and despite I run it by hand it still reported the same problem.
the system settings daemon is actually /usr/sbin/nm-system-settings, not nm-applet. The system settings daemon is a non-GUI settings provider that provides system connections to NetworkManager. The applet provides user connections. System connections persist across login/logout and are available before login too. To start nm-applet automatically, you'll have to add the applet to your login programs in whatever manner KDE allows you to launch arbitrary programs at login time.
Dan, Thanks for an explanation. So the question is, why NM cant start /usr/sbin/nm-system-settings? Interesting is this only happens on my laptop with KDE. On my gnome dekstop it's working fine (both use NM svn). Any ideas where how can I check it? Also this doesn't prevent nm from normal work.
So after that message, there is no existing process called nm-system-settings running on your system? It's normal to see that message at least once right after startup, since the system settings daemon isn't running when NM starts, and NM starts it automatically... If after that message there's not nm-system-settings process, then we should re-open the bug and diagnose further.
I'm using NM-svn on two of my systems and at first I noticed this on my KDE laptop (wireless). I wrongly assumed it's because nm-system-settings is related to nm-applet (not global system settings). At this point my desktop didn't have that problem. Right now I can see the same problem on my desktop as well. This one is using gnome 2.20 and WIRED network. Apr 9 12:21:08 [NetworkManager] <info> Trying to start the system settings daemon..._ Apr 9 12:23:08 [NetworkManager] <info> Trying to start the system settings daemon..._ Apr 9 12:25:08 [NetworkManager] <info> Trying to start the system settings daemon..._ Apr 9 12:27:08 [NetworkManager] <info> Trying to start the system settings daemon..._ Apr 9 12:29:08 [NetworkManager] <info> Trying to start the system settings daemon..._ Apr 9 12:31:08 [NetworkManager] <info> Trying to start the system settings daemon..._ Apr 9 12:33:08 [NetworkManager] <info> Trying to start the system settings daemon..._ Apr 9 12:35:08 [NetworkManager] <info> Trying to start the system settings daemon..._ What other information should I provide which might be useful? I'm using Gentoo Linux, kernel 2.6.24, dbus 1.2.1, glibc 2.7, gcc 4.2.3, no fancy CFLAGS
So since you're running on Gentoo, the system settings daemon won't have any backend plugins for reading your scripts. That means the system settings service will exit (it has no plugins), and NM will poke it again every 2 minutes. There are three fixes for this; either I quiet the log message after 5 times or something, or make the system settings service start up without plugins, or somebody writes a Gentoo plugin :)
Yeah. I presumed NM will poke for system settings only limited number of times. On the other hand, I would love to see Gentoo plugin for system settings as it's annoying like hell to type my gnome-keyring password every time, but as far as I'm concerned none gentoo dev is currently working on it atm. I will poke Steev (gentoo NM maintainer) and ask if he's planning to implement it. It not, I will try to write a plugin myself based on fedora or suse one. Considering how low my programing skills are it might take a while :))
You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue for you. Can you please check again if the issue you reported here still happens in a recent version and update this report by adding a comment and adjusting the 'Version' field? Again thank you for reporting this and sorry that it could not be fixed for the version you originally used here. Without feedback this report will be closed as INCOMPLETE after 6 weeks.
Please change status of this bug report as incorrect or non-NM. It's been reported ages ago and I found out it's actually not NM, but dbus on-demand service activation problem. Cheers, Rob