While I was trying to configure my wireless network from networkmanager I was having a lot of problems for saving configuration in /etc/NetworkManager/system-connections/"net profile". The steps are simply configure the profile and try to apply to all users. When I clicked on button for applying to all users it simply didn't work and, when I reopened networkmanager it appeared as not enabled for all users again. Running nm-applet from a terminal I got: [WARN 21823] polkit-action.c:211:polkit_action_set_action_id(): polkit_action_validate_id (action_id) Not built with -rdynamic so unable to print a backtrace Then, I searched in google and found this: http://lists.freedesktop.org/archives/polkit-devel/2008-July.txt Maybe NetworkManager init.d file should add a need over consolekit service or, at least, this should be included under elog to the ebuild Thanks Reproducible: Always
Hi Pacho, Did you add your user to policykit? Usually this error occurs when user doesn't have rights under policykit section. I will check your report out (as I've got consolekit enabled ever since I remember, and didn't expect it could affect NM in any case). Thank you very much for your report. Rob
I tried to add me (pacho) with polkit-auth --grant org.freedesktop.network-manager-settings.system.modify "pacho" But it failed (bug 250858) Anyway this also occurs when running it as root
consolekit is not required. I just upgraaded last night and do not have consolekit enabled at all.
(In reply to comment #3) > consolekit is not required. I just upgraaded last night and do not have > consolekit enabled at all. > For me it is still required when trying to apply network profile settings to all users
This is the thread: http://lists.freedesktop.org/archives/polkit-devel/2008-July/000010.html Also, David Zeuthen seems to prefer have consolekit running when policykit is used: http://lists.freedesktop.org/archives/polkit-devel/2008-July/000014.html
[00:53]:gnoome:~:#:>emerge --info Portage 2.1.6.11 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.29-gentoo-r5 i686) ================================================================= System uname: Linux-2.6.29-gentoo-r5-i686-Intel-R-_Xeon-TM-_CPU_3.20GHz-with-glibc2.0 Timestamp of tree: Sun, 21 Jun 2009 01:30:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 2.1.7 dev-lang/python: 2.4.4-r13, 2.5.4-r2 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O3 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1" 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" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X berkdb bzip2 cairo cli cracklib custom-optimization dbus djvu epiphany exif fam fontconfig fortran gdbm gedit gif gnome gpm gtk hal iconv java jpeg jpeg2k kde kdeenablefinal mng ncurses networkmanager nocxx nptl nptlonly nsplugin openmp pam pcre perl png pppd python qt3 readline reflection sbg session spell spl ssl startup-notification svg sysfs tcpd tiff truetype unicode x86 xorg zlib" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vesa vmware" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
networkmanager-0.7.0 is no longer in the tree. Please close this bug.
Also "xdm" now requires uses consolekit...