Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 250860 - net-misc/networkmanager-0.7.0 needs consolekit service to be running for working fine
Summary: net-misc/networkmanager-0.7.0 needs consolekit service to be running for work...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robert Piasek (RETIRED)
URL: http://lists.freedesktop.org/archives...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-13 18:58 UTC by Pacho Ramos
Modified: 2012-01-29 10:05 UTC (History)
5 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 Pacho Ramos gentoo-dev 2008-12-13 18:58:46 UTC
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
Comment 1 Robert Piasek (RETIRED) gentoo-dev 2008-12-14 15:50:55 UTC
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 
Comment 2 Pacho Ramos gentoo-dev 2008-12-14 20:07:19 UTC
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
Comment 3 Jory A. Pratt gentoo-dev 2008-12-23 14:14:58 UTC
consolekit is not required. I just upgraaded last night and do not have consolekit enabled at all.
Comment 4 Pacho Ramos gentoo-dev 2008-12-31 21:28:25 UTC
(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
Comment 5 Pacho Ramos gentoo-dev 2009-01-30 10:11:32 UTC
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
Comment 6 Sasha Polonsky 2009-06-21 21:54:26 UTC
[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
Comment 7 Daniel M. Weeks 2011-06-16 06:34:25 UTC
networkmanager-0.7.0 is no longer in the tree. Please close this bug.
Comment 8 Pacho Ramos gentoo-dev 2012-01-29 10:05:45 UTC
Also "xdm" now requires uses consolekit...