I am on a fresh and clean installation of Gentoo and did install NM-0.7. NetworkManager (the service) runs, but it does not work. I've tracked down the problem to "nm-system-settings" which should be launched somehow by dbus or NM. "ps aux|grep nm-system" gives me an empty result. When I launch "nm-system-settings --config /etc/NetworkManager/nm-system-settings.conf" manually from a console (or via /etc/init.d/local), NetworkManager starts working. I did observe this problem on a amd64 box last week and ony my own x86 laptop. Reproducible: Always Mar 25 08:51:41 [NetworkManager] <info> starting..._ Mar 25 08:51:41 [NetworkManager] <info> eth0: driver is 'tg3'._ Mar 25 08:51:41 [NetworkManager] <info> Found new Ethernet device 'eth0'._ Mar 25 08:51:41 [NetworkManager] <info> (eth0): exported as /org/freedesktop/Hal/devices/net_00_0f_b0_xx_xx_xx_ Mar 25 08:51:41 [NetworkManager] <info> wlan0: driver is 'b43-pci-bridge'._ Mar 25 08:51:41 [NetworkManager] <info> wlan0: driver supports SSID scans (scan_capa 0x01)._ Mar 25 08:51:41 [NetworkManager] <info> Found new 802.11 WiFi device 'wlan0'._ Mar 25 08:51:41 [NetworkManager] <info> (wlan0): exported as /org/freedesktop/Hal/devices/net_00_14_a5_xx_xx_xx_ Mar 25 08:51:41 [NetworkManager] <info> Trying to start the supplicant..._ Mar 25 08:51:41 [NetworkManager] <info> Trying to start the system settings daemon..._ Mar 25 08:51:45 [NetworkManager] <info> (eth0): device state change: 1 -> 2_ Mar 25 08:51:45 [NetworkManager] <info> (eth0): bringing up device._ Mar 25 08:51:45 [NetworkManager] <info> (eth0): preparing device._ Mar 25 08:51:45 [NetworkManager] <info> (eth0): deactivating device (reason: 2)._ Mar 25 08:51:45 [NetworkManager] <info> Setting system hostname to 'localhost.localdomain' (no default device)_ Mar 25 08:51:45 [NetworkManager] <info> (eth0): carrier now ON (device state 2)_ Mar 25 08:51:45 [NetworkManager] <info> (eth0): device state change: 2 -> 3_ Mar 25 08:51:45 [NetworkManager] <info> (wlan0): device state change: 1 -> 2_ Mar 25 08:51:45 [NetworkManager] <info> (wlan0): bringing up device._ Mar 25 08:51:45 [NetworkManager] <info> (wlan0): preparing device._ Mar 25 08:51:45 [NetworkManager] <info> (wlan0): deactivating device (reason: 2)._ Mar 25 08:51:45 [NetworkManager] supplicant_interface_acquire: assertion `mgr_state == NM_SUPPLICANT_MANAGER_STATE_IDLE' failed Mar 25 08:51:45 [NetworkManager] <info> (eth0): carrier now OFF (device state 3)_ Mar 25 08:51:45 [NetworkManager] <info> (eth0): device state change: 3 -> 2_ Mar 25 08:51:45 [NetworkManager] <info> (eth0): deactivating device (reason: 40)._ Mar 25 08:51:48 [NetworkManager] <info> (eth0): carrier now ON (device state 2)_ Mar 25 08:51:48 [NetworkManager] <info> (eth0): device state change: 2 -> 3_ Mar 25 08:53:41 [NetworkManager] <info> Trying to start the supplicant..._ Mar 25 08:53:41 [NetworkManager] <info> Trying to start the system settings daemon..._ Mar 25 08:55:41 [NetworkManager] <info> Trying to start the supplicant..._ Mar 25 08:55:41 [NetworkManager] <info> Trying to start the system settings daemon..._ Mar 25 08:57:41 [NetworkManager] <info> Trying to start the supplicant..._ Mar 25 08:57:41 [NetworkManager] <info> Trying to start the system settings daemon..._ Mar 25 08:59:41 [NetworkManager] <info> Trying to start the supplicant..._ Mar 25 08:59:41 [NetworkManager] <info> Trying to start the system settings daemon..._ Mar 25 09:01:41 [NetworkManager] <info> Trying to start the supplicant..._ Mar 25 09:01:41 [NetworkManager] <info> Trying to start the system settings daemon..._ Mar 25 09:03:41 [NetworkManager] <info> Trying to start the supplicant..._ Mar 25 09:03:41 [NetworkManager] <info> Trying to start the system settings daemon..._ Mar 25 09:05:41 [NetworkManager] <info> Trying to start the supplicant..._ Mar 25 09:05:41 [NetworkManager] <info> Trying to start the system settings daemon..._ Mar 25 09:07:41 [NetworkManager] <info> Trying to start the supplicant..._ Mar 25 09:07:41 [NetworkManager] <info> Trying to start the system settings daemon..._
Portage 2.2_rc26 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.8_p20080602-r1, 2.6.28.8 i686) ================================================================= System uname: Linux-2.6.28.8-i686-Mobile_AMD_Sempron-tm-_3100+-with-glibc2.0 Timestamp of tree: Mon, 23 Mar 2009 18:00:01 +0000 app-shells/bash: 3.2_p39 dev-lang/python: 2.5.2-r7 dev-util/cmake: 2.6.2-r1 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r1 sys-apps/sandbox: 1.6 sys-devel/autoconf: 2.63 sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -ftree-vectorize" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -ftree-vectorize" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="de_DE.UTF-8" LC_ALL="de_DE.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/custom" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac aalib acl acpi alsa bash-completion berkdb bonjour bzip2 cairo cdr cli cracklib crypt cups cupsddk daap dbus dhclient divx dri dvd dvdr dvdread dvi encode firefox flac fortran gdbm gif gimp glitz gnutls gtk2 hal htmlhandbook iconv ieee1394 imagemagick ipod isdnlog jpeg jpg kde kdeprefix kipi laptop mad midi mmx mmxext mng mp3 mp4 mpeg mudflap ncurses networkmanager nfs nls nptl nptlonly nspluginogg opengl openmp otr pam pcre pda pdf perl plasma png pppd python qt3support qt4 quicktime readline reflection samba scanner semantic-desktopsession spell spl sse sse2 sse3 ssl ssse3 startup-notification svg sysfs tcpd tiff unicode usb vcd vorbis webdav webkit wifi win32codecs x86 xcb xcomposite xorg xscreensaver xulrunner xv xvid zeroconf zlib" ALSA_CARDS="atiixp" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="radeon" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I investigated this a little further and the message "Trying to start the supplicant" indicates that NM also is not able to start wpa_supplicant (aka: wireless does not work either). So I did check my dbus setup and ran "revdep-rebuild" - but everything was OK. Now I remerged dbus today and the problem mystically went away. The strange thing is that this was a _clean_ and _fresh_ system. I started out with a stage3-tarball (weekly build), compiled system, dbus, hal, NM, X and so on. And it did not work. I did not change any USE flags. One can say this problem is solved now, but in my opinion there is still something wrong (this is why I left the bug open). At least we could notify the users with elog in the NM ebuild that if they encounter any problems they should re-merge dbus.
It's a dbus - and not NM specific problem. Dbus doesn't start services on-demand as it should. Usually downgrading, restarting, and upgrading (even to the same version) solves the problem. I didn't manage to get to the root of this problem yet.
Same issue. ~amd64. Cleanly installed about a month ago from stage3. Downgraded to dbus 1.2.1, rebooted, remerged 1.2.12 (current highest ~amd64) and all was fine. Also noted X keeps working now. Using dhcpcd for the dhcp client, emerging networkmanager clearly stated I had to remove a hostname option from the dhcpcd.conf, which I did, but it still kept changing my hostname. Didn't really care for the hostname, but because it did that I could only log on to X, about 95% of the apps wouldn't start. Why is beyond me, afaik gentoo disables tcp connections to X by default (I presume it uses sockets) but it's gone now. Could very well be some other update fixed it though, haven't looked at this issue for a couple of weeks.
(In reply to comment #2) > I investigated this a little further and the message "Trying to start the > supplicant" indicates that NM also is not able to start wpa_supplicant (aka: > wireless does not work either). > So I did check my dbus setup and ran "revdep-rebuild" - but everything was OK. > > Now I remerged dbus today and the problem mystically went away. same thing here... after re-emerging dbus NM worked just fine
This appears to be a duplicate of bug #212724.
net-misc/networkmanager-0.7.0 is no longer in the the tree. Please close this bug.