Selecting a wireless network via the nm-applet system tray icon pops up a message "Failed to add/activate connection; (4) Message did not receive a reply (timeout by the message bus)" and causes the NetworkManager daemon to crash. After the message appears, nm-applet displays a message "NetworkManager is not running" when left clicking on it thereafter. I haven't testing with a wired network, as I have no connection to plug into. Reproducible: Always Steps to Reproduce: 1. Start network manager 2. Start nm-applet 3. Select any wireless network from the nm-applet menu Actual Results: I'm not connected to the wireless network A message window pops up saying "Failed to add/activate connection; (4) Message did not receive a reply (timeout by the message bus)" nm-applet no longer responds to left clicks, instead displaying only "NetworkManager is not running" The NetworkManager daemon process is no longer running Expected Results: I should have been connected to the wireless network I chose My emerge --info output ------------------------------------------------------------------------------ Portage 2.2.14_rc1 (python 2.7.8-final-0, default/linux/amd64/13.0, gcc-4.8.3, glibc-2.19-r1, 3.16.3-gentoo x86_64) ================================================================= System uname: Linux-3.16.3-gentoo-x86_64-Intel-R-_Core-TM-_i5-3210M_CPU_@_2.50GHz-with-gentoo-2.2 KiB Mem: 8069132 total, 2857476 free KiB Swap: 8912892 total, 8912892 free Timestamp of tree: Thu, 02 Oct 2014 11:30:01 +0000 ld GNU ld (Gentoo 2.24 p1.4) 2.24 distcc 3.1 x86_64-pc-linux-gnu [disabled] app-shells/bash: 4.2_p50 dev-java/java-config: 2.2.0 dev-lang/python: 2.7.8, 3.4.1 dev-util/cmake: 3.0.2 dev-util/pkgconfig: 0.28-r2 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.13.1 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.6, 1.14.1 sys-devel/binutils: 2.24-r3 sys-devel/gcc: 4.8.3 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2-r1 sys-devel/make: 4.0-r1 sys-kernel/linux-headers: 3.16 (virtual/os-headers) sys-libs/glibc: 2.19-r1 Repositories: gentoo qt x-portage ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core-avx-i -O2 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb" 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" CXXFLAGS="-march=core-avx-i -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--quiet-build" FCFLAGS="-march=core-avx-i -O2 -pipe -fomit-frame-pointer" FEATURES="assume-digests binpkg-logs cgroup clean-logs config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles merge-sync news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms split-elog split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-march=core-avx-i -O2 -pipe -fomit-frame-pointer" GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_ZA.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/qt /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi adns alsa amd64 ao apache2 avahi bash-completion berkdb bidi bluetooth bzip2 cairo caps cdda cddb cdio cdparanoia cdr cjk cli consolekit cracklib crypt cscope css cups curl cvs cxx dbus dhcp directfb djvu dri drm dts dv dvd emotion encode ethumb exif fam fftw filecaps flac fortran ftp gd gdbm geoip ggi gif git gnome-keyring gnutls gpg gpm gtk3 gtkstyle gzip iconv icu idn inotify introspection ipv6 javascript jbig jit jpeg kerberos lame lapack latex ldap libass libnotify libsamplerate lzma mmap mms mmx mmxext modemmanager modules mp3 mp4 mpeg multilib mysql ncurses network networkmanager nls nptl nsplugin ogg openal opencl opengl openmp pam pcre pdf png policykit postgres postscript ppds python qt3support qt4 quicktime raw readline samba session slang smp sna sound spell sqlite sqlite3 sse sse2 sse3 sse4_1 ssh ssl ssse3 startup-notification subversion svg syslog taglib tcpd theora threads tiff truetype udev unicode usb uxa v4l vaapi vcd vdpau vim-syntax vorbis vpx webkit wifi wmf x264 xattr xcb xcomposite xetex xinerama xinetd xscreensaver xv xvid xvmc zeroconf zlib" ABI_X86="64" ALSA_CARDS="seq-dummy intel-hda-snd" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_ZA en_GB en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" USE_PYTHON="2.7" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I have been following [Bug 501852] and [Bug 523700]. I tried the patch available in [Bug 523700], but made no change to the behaviour of my problem. Also, I attached a the output of my NetworkManager process running in debug mode to [Bug 501852], which I reattach here
Created attachment 386714 [details] Debug log of NetworkManager-0.9.10.0 running and crashing when nm-applet connects to bring up a wifi network
Please try with net-misc/networkmanager-0.9.10.0-r1 (please note you will need to reconfigure your network profiles... please read carefully the messages that will be shown after building it)
Tested, and it works. I got no helpful messages after compilation, and I double-checked the build log. All I saw was * One or more symlinks to directories have been preserved in order to * ensure that files installed via these symlinks remain accessible. This * indicates that the mentioned symlink(s) may be obsolete remnants of an * old install, and it may be appropriate to replace a given symlink with * the directory that it points to. * * /var/run * * Updating desktop mime database ... * Updating shared mime info database ... That said, the only config I had to change was to remove ifnet from plugins= in /etc/NetworkManager/NetworkManager.conf
(In reply to James Dominy from comment #4) > Tested, and it works. I got no helpful messages after compilation, and I > double-checked the build log. All I saw was > > * One or more symlinks to directories have been preserved in order to > * ensure that files installed via these symlinks remain accessible. This > * indicates that the mentioned symlink(s) may be obsolete remnants of an > * old install, and it may be appropriate to replace a given symlink with > * the directory that it points to. > * > * /var/run > * > * Updating desktop mime database ... > * Updating shared mime info database ... > > That said, the only config I had to change was to remove ifnet from plugins= > in /etc/NetworkManager/NetworkManager.conf I have just checked the warning when updating from 0.9.10.0 to 0.9.10.0-r1 and it works (with USE -systemd) >>> Installing (1 of 1) net-misc/networkmanager-0.9.10.0-r1::gentoo * One or more symlinks to directories have been preserved in order to * ensure that files installed via these symlinks remain accessible. This * indicates that the mentioned symlink(s) may be obsolete remnants of an * old install, and it may be appropriate to replace a given symlink with * the directory that it points to. * * /var/run * * Updating desktop mime database ... * Updating shared mime info database ... * Updating desktop mime database ... * Updating shared mime info database ... * Ifnet plugin is now disabled because of it being unattended * and unmaintained for a long time, leading to some unfixed bugs * and new problems appearing. We will now use upstream 'keyfile' * plugin. * Because of this, you will likely need to reconfigure some of * your networks. To do this you can rely on Gnome control center, * nm-connection-editor or nmtui tools for example. >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date. * IMPORTANT: 2 config files in '/etc' need updating. * See the CONFIGURATION FILES section of the emerge * man page to learn how to update config files. (they are "ewarn" messages, not "elog"... but default config should store ewarn messages to in /var/log/portage/elog/summary.log as it does for me)
Well, the concrete "ifnet" warnings should come from: if [[ -e "${EROOT}etc/NetworkManager/NetworkManager.conf" ]]; then if grep -q plugins "${EROOT}etc/NetworkManager/NetworkManager.conf" | grep -q ifnet; then ewarn ewarn "You seem to use 'ifnet' plugin in ${EROOT}etc/NetworkManager/NetworkManager.conf" ewarn "Since it won't be used when running under Systemd, you will need to stop setting" ewarn "ifnet plugin there to allow NetworkManager to work." ewarn fi fi