Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 353862 - kde-misc/knetworkmanager-20110204: Upgrades produce odd WEB/WPA/WPA2 authorization behavior
Summary: kde-misc/knetworkmanager-20110204: Upgrades produce odd WEB/WPA/WPA2 authoriz...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL: https://bugs.kde.org/show_bug.cgi?id=...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-06 15:47 UTC by Richard
Modified: 2011-04-10 16:36 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard 2011-02-06 15:47:13 UTC
Every time I upgrade, knetworkmanager develops selective network key amnesia. The most immediate effect is that when I log into KDE, it will ask me for my WPA2 key, with the key already in the dialog. Clicking okay will cause it to do nothing, with the plasmoid saying "Waiting for authorization". Clicking on the network puts it in the same state in which it started.

If I go into the network manager configuration, I cannot find the keys. If I enter the key in the network manager configuration and then click okay on the authorization dialog, it will allow me to connect.

When I restart KDE, this issue occurs again. Deleting networks in the configuration window and recreating them only has the effect of rearranging the window. It has no effect on this issue.

Every upgrade, I resolve this issue by deleting ~/.kde4/share/config/networkmanagementrc, restarting KDE and recreating my networks from scratch, but I am tired of having to hunt down my keys every time this happens. The keys are clearly being stored somewhere, but I have not been able to find that.
Comment 1 Richard 2011-02-06 16:53:29 UTC
My usual fix involving wiping all of my old settings did not work. I was using an unencrypted secrets file with kwallet turned off. Turning kwallet on and switching to it fixed this issue for me.
Comment 2 Mu Qiao (RETIRED) gentoo-dev 2011-02-07 01:27:21 UTC
What version of NetworkManager do you use? Could you please paste relevant part of  /var/log/message
Comment 3 Richard 2011-02-07 01:44:54 UTC
The last time I encountered what appeared to be this problem, upgrading and downgrading NetworkManager did not help. I am using net-misc/networkmanager-0.8.2-r5. /var/log/message is not present on my computer.

By the way, it appears that the Network Manager plasmoid will behave the same way if you change the default kwallet file. That is not how I came across it (it was configured to not use kwallet), but it might help in diagnosing the cause of this issue.

Here is emerge --info:

 $ emerge --info
Portage 2.1.9.36 (default/linux/x86/10.0/desktop/kde, gcc-4.4.5, glibc-2.13-r0, 2.6.37 i686)
=================================================================
System uname: Linux-2.6.37-i686-Genuine_Intel-R-_CPU_T2400_@_1.83GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 06 Feb 2011 17:30:01 +0000
ccache version 3.1.4 [enabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1, 3.1.3
dev-util/ccache:     3.1.4
dev-util/cmake:      2.8.3-r1
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.4.5, 4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=2048 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /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="-O2 -march=prescott --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=2048 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs buildpkg ccache distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS="-O2 -march=prescott --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=2048 -pipe -fomit-frame-pointer"
GENTOO_MIRRORS="http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://gentoo.netnitco.net http://distro.ibiblio.org/pub/linux/distributions/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j3"
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="/var/lib/layman/sunrise /var/lib/layman/vmware /var/lib/layman/java-overlay /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa bash-completion berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam ffmpeg fftw firefox flac fontconfig fortran gdbm gdu gif gnutls gpm iconv ipv6 java jpeg kde lcms ldap libnotify lzma mad mikmod mmap mmx mng modules mp3 mp4 mpeg mudflap ncurses networkmanager nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support qt4 readline sdl session spell sse sse2 sse3 ssl startup-notification svg sysfs tcpd theora threads tiff truetype udev unicode usb vdpau vorbis x264 x86 xcb xcomposite xml xorg xulrunner xv xvid xvmc zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 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" 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 ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" NETBEANS_MODULES="apisupport harness ide java nb websvccommon" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau" 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" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Paul Sobey 2011-02-09 14:20:19 UTC
Are you storing wireless credentials in plain text perchance? I think you may be running into upstream bug:

https://bugs.kde.org/show_bug.cgi?id=257777

I just downgraded to 4.4.0_p20101012 in portage (against kde 4.6) and it works fine again for me - the newer 20110204 is clearly borked.
Comment 5 Alex Legler (RETIRED) archtester gentoo-dev Security 2011-02-12 20:52:19 UTC
(In reply to comment #4)
> Are you storing wireless credentials in plain text perchance? I think you may
> be running into upstream bug:
> 
> https://bugs.kde.org/show_bug.cgi?id=257777
> 
> I just downgraded to 4.4.0_p20101012 in portage (against kde 4.6) and it works
> fine again for me - the newer 20110204 is clearly borked.
> 

Same here, plaintext storage, old knetworkmanager worked. 2011 version doesn't.
Comment 6 Richard 2011-02-12 21:22:30 UTC
(In reply to comment #4)
> Are you storing wireless credentials in plain text perchance? I think you may
> be running into upstream bug:
> 
> https://bugs.kde.org/show_bug.cgi?id=257777
> 
> I just downgraded to 4.4.0_p20101012 in portage (against kde 4.6) and it works
> fine again for me - the newer 20110204 is clearly borked.
> 

I was using plaintext storage when I stumbled across this bug.
Comment 7 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2011-04-10 16:36:06 UTC
there's a new snapshot in tree, please test and reopen if the problem persists