After I updated to gnome 2.28, today I am having some problems like not having my hard drive partitions mounted and gnome-power-manager greying-out some features, like the cpu throttling feature... I checked .xsession-errors file and I found these as possibly relevant: (polkit-gnome-authentication-agent-1:4252): GLib-GObject-WARNING **: cannot register existing type `_PolkitError' (polkit-gnome-authentication-agent-1:4252): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed and then the following: ** (gnome-power-manager:4253): WARNING **: ERROR: Cannot determine if caller is privileged ** (gnome-power-manager:4253): WARNING **: ERROR: Cannot determine if caller is privileged ** (gnome-power-manager:4253): WARNING **: ERROR: Cannot determine if caller is privileged ** (gnome-power-manager:4253): WARNING **: ERROR: Cannot determine if caller is privileged I guess it might also explain why I can not get my drives auto mounted and despite I granted explicit rights, I am still asked for root user password? Reproducible: Always Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.33-gentoo-r2 x86_64) ================================================================= System uname: Linux-2.6.33-gentoo-r2-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8700_@_2.53GHz-with-gentoo-1.12.13 Timestamp of tree: Tue, 04 May 2010 19:30:01 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] ccache version 2.4 [enabled] app-shells/bash: 4.0_p37 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.4-r1 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc: 4.3.4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=core2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -march=core2" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp.linux.org.tr/gentoo/ http://gentoo.virginmedia.com/ " LANG="en_GB.UTF-8" LC_ALL="en_GB.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="tr en en_GB en_US" 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="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="64bit X a52 aac acl acpi alsa amd64 applet aspell automount avahi bash-completion beagle berkdb bluetooth branding brasero bzip2 cairo ccache cdda cddax cddb cdr cdrom cdrtools cli consolekit cpufreq cracklib crypt css cups cxx daap dbus deskbar device-mapper dga dhcpcd disk-partition dri dtmf dts dvd dvdnav dvdr dvi dvipdfm eds encode evo exif extra faac faad fbcon fbcondecor ffmpeg firefox flac galago gdbm gdu gif gnome gnome-keyring gnutls gpm gps graphics gstreamer gtk h323 hal hddtemp iconv inotify ipv6 jabber java java6 javascript jingle jpeg jpeg2k kms kpathsea laptop libnotify mmx modules mp3 msn mudflap multilib musicbrainz nautilus ncurses networkmanager nls nptl nptlonly nsplugin offensive ogg opengl openmp pam pcre pdf perl png policykit pppd pstricks pulseaudio python qt4 readline reflection science session smp sms speex spell spl sqlite sse sse2 sse4 sse4a ssl ssse3 svg sysfs tcpd theora threads tiff totem truetype unicode usb v4l2 vim-syntax vorbis wav wavpack wifi wmf wps xorg zemberek zeroconf zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 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="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="tr en en_GB en_US" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fglrx" 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, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I don't think: (polkit-gnome-authentication-agent-1:6650): GLib-GObject-WARNING **: cannot register existing type `_PolkitError' (polkit-gnome-authentication-agent-1:6650): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed they seem to affect to other distributions (https://bugs.launchpad.net/ubuntu/+source/policykit-1-gnome/+bug/449378) and doesn't cause any failure like you are seeing on my systems :-/
Do you have a fully updated system? Are you read elog messages (usually in /var/log/portage/elog/summary.log)? Maybe you have an older polkit process still running in your system and causing you these problems... maybe a reboot (or careful revision of "ps axu | less" output could help ;-) Please also provide "emerge -pv polkit polkit-gnome" output
Also be sure to, at least, have restarted consolekit to use new version (as elog info suggests)
(In reply to comment #3) > Also be sure to, at least, have restarted consolekit to use new version (as > elog info suggests) > Hello Pacho, Sorry for late reply. I was just testing to see the theory I had in mind, which was that all this weirdness might be caused from the parallel startup of the init system that I had... I was having inconsistent behaviour with the above without making any changes to my computer and then I realised that I have my system to start in parallel running of the init scripts, which could explain the randomness in the results. So far, it is working ok, so you might wanna look into that or an extra notice in your elogs.. I have one last question, even though this might not be the right place for it: I want user x, and only user x, to be able to auto mount (mount without auth) the partitions. Isn't it enough in the policykit to grant an explicit right for user x to mount internal drives, while keeping implicit auths at default? Currently, I could not manage this by granting explicit rights to user x but only by modifying implicit rights 'active console' to 'yes' , which enables all the users to mount without auth...
(In reply to comment #2) > Do you have a fully updated system? Are you read elog messages (usually in > /var/log/portage/elog/summary.log)? Maybe you have an older polkit process > still running in your system and causing you these problems... maybe a reboot > (or careful revision of "ps axu | less" output could help ;-) > > Please also provide "emerge -pv polkit polkit-gnome" output > [ebuild R ] sys-auth/polkit-0.96-r1 USE="nls pam -debug -doc -examples -expat" 0 kB [ebuild R ] gnome-extra/polkit-gnome-0.96 USE="-debug -doc -examples" 0 kB
(In reply to comment #4) > I have one last question, even though this might not be the right place for it: > I want user x, and only user x, to be able to auto mount (mount without auth) > the partitions. Isn't it enough in the policykit to grant an explicit right for > user x to mount internal drives, while keeping implicit auths at default? > > Currently, I could not manage this by granting explicit rights to user x but > only by modifying implicit rights 'active console' to 'yes' , which enables all > the users to mount without auth... > Sadly, I don't know hot to deal with that :-/, maybe some other gnome team members knows but I would suggest you to ask in http://forums.gentoo.org for help Good luck!
Please reopen the bug, I have a similar error. If I close the lid my laptop goes seldom to the power save state. Even if it is working the first time after booting, it fails usually if I try it a second time and in .xsession-errors I find similar messages as Mehmet Giritli: ** (gnome-power-preferences:25559): WARNING **: ERROR: Cannot determine if caller is privileged A new main_window has been created Traceback (most recent call last): File "/usr/bin/avahi-discover", line 274, in <module> main() File "/usr/bin/avahi-discover", line 269, in main main_window = Main_window() File "/usr/bin/avahi-discover", line 63, in __init__ SimpleGladeApp.__init__(self, path, root, domain, **kwargs) File "/usr/lib64/python2.6/site-packages/avahi_discover/SimpleGladeApp.py", line 108, in __init__ self.new() File "/usr/bin/avahi-discover", line 254, in new self.server = dbus.Interface(self.bus.get_object(avahi.DBUS_NAME, avahi.DBUS_PATH_SERVER), avahi.DBUS_INTERFACE_SERVER) File "/usr/lib64/python2.6/site-packages/dbus/bus.py", line 244, in get_object follow_name_owner_changes=follow_name_owner_changes) File "/usr/lib64/python2.6/site-packages/dbus/proxies.py", line 241, in __init__ self._named_service = conn.activate_name_owner(bus_name) File "/usr/lib64/python2.6/site-packages/dbus/bus.py", line 183, in activate_name_owner self.start_service_by_name(bus_name) File "/usr/lib64/python2.6/site-packages/dbus/bus.py", line 281, in start_service_by_name 'su', (bus_name, flags))) File "/usr/lib64/python2.6/site-packages/dbus/connection.py", line 630, in call_blocking message, timeout) dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Avahi was not provided by any .service files ** (gnome-power-preferences:26122): WARNING **: ERROR: Cannot determine if caller is privileged (gnome-power-manager:1682): devkit-power-gobject-DEBUG: DBUS timed out, but recovering (gnome-power-manager:1682): devkit-power-gobject-WARNING **: Error invoking GetAll() to get properties: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. ** (gnome-power-manager:1682): WARNING **: ERROR: Cannot determine if caller is privileged ** (gnome-power-manager:1682): WARNING **: ERROR: Cannot determine if caller is privileged ** (gnome-power-manager:1682): WARNING **: ERROR: Cannot determine if caller is privileged ** (gnome-power-manager:1682): WARNING **: ERROR: Cannot determine if caller is privileged