[Bug 816842] [NEW] Unable to authenticate Gnome applications after a recent update of libdbus-1-3 dbus dbus-x11

nitinpanchkula 816842 at bugs.launchpad.net
Wed Jul 27 08:22:32 UTC 2011


Public bug reported:

I'm using Ubuntu Lucid 10.04 LTS x64 and there has been a recent update of the following packages:
libdbus-1-3 dbus dbus-x11 libpng12-0 libsndfile1

Right after this update, without rebooting, I tried to mount partitions
which didn't work. I'm using the correct passwords and tried with
another user account as well. I'm getting the following error in logs
when I try to mount any unmounted partitions from within nautilus or the
'places tab':

Jul 27 13:25:29 user-mech polkitd(authority=local): Operator of unix-
session:/org/freedesktop/ConsoleKit/Session6 FAILED to authenticate to
gain authorization for action org.freedesktop.systemtoolsbackends.set
for system-bus-name::1.145 [users-admin] (owned by unix-user:gopal)

In order to collect more information on this, I checked for the
processes that come up when the "Authentication Window" opens and found
that the following daemons run:

/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 under the local user(gopal)
 and
/usr/lib/policykit-1/polkitd as root.


I killed both the processes and did the following in order to view debug information:
$gopal:/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
$gopal:sudo /usr/lib/policykit-1/polkitd

I'm getting the following on the prompt where I've executed "/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1"
polkit-agent-helper-1: pam_authenticated failed: Authentication failure

and

on the prompt with "sudo /usr/lib/policykit-1/polkitd":
** (process:10433): DEBUG: system-bus-name::1.41 is inquiring whether system-bus-name::1.130 is authorized for org.freedesktop.udisks.filesystem-mount-system-internal
** (process:10433): DEBUG:  user of caller is unix-user:root
** (process:10433): DEBUG:  user of subject is unix-user:gopal
** (process:10433): DEBUG: checking whether system-bus-name::1.130 is authorized for org.freedesktop.udisks.filesystem-mount-system-internal
** (process:10433): DEBUG:   0x1b9ed50
** (process:10433): DEBUG:  subject is in session /org/freedesktop/ConsoleKit/Session6 (local=1 active=1)
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/10-vendor.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/10-vendor.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/20-org.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/20-org.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/30-site.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/30-site.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/50-local.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/50-local.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/90-mandatory.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/90-mandatory.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/10-vendor.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/10-vendor.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/20-org.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/20-org.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/30-site.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/30-site.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/50-local.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/50-local.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/90-mandatory.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/90-mandatory.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/10-vendor.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/10-vendor.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/20-org.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/20-org.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/30-site.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/30-site.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/50-local.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/50-local.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/90-mandatory.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/90-mandatory.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/10-vendor.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/10-vendor.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/20-org.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/20-org.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/30-site.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/30-site.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/50-local.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/50-local.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/90-mandatory.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/90-mandatory.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/10-vendor.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/10-vendor.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/20-org.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/20-org.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/30-site.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/30-site.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/50-local.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/50-local.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/90-mandatory.d'
** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/90-mandatory.d'
** (process:10433): DEBUG:  challenge (implicit_authorization = auth_admin_keep)
** (process:10433): DEBUG:  
** (process:10433): DEBUG:  using authentication agent for challenge
** (process:10433): DEBUG: Authentication complete, is_authenticated = 0
** (process:10433): DEBUG: In check_authorization_challenge_cb
  subject                system-bus-name::1.130
  action_id              org.freedesktop.udisks.filesystem-mount-system-internal
  authentication_success 0

===============================
I'll shortly try to downgrade the packages in order to see if it fixes the issue and will report back.

** Affects: dbus (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dbus in Ubuntu.
https://bugs.launchpad.net/bugs/816842

Title:
  Unable to authenticate Gnome applications after a recent update of
  libdbus-1-3 dbus dbus-x11

Status in “dbus” package in Ubuntu:
  New

Bug description:
  I'm using Ubuntu Lucid 10.04 LTS x64 and there has been a recent update of the following packages:
  libdbus-1-3 dbus dbus-x11 libpng12-0 libsndfile1

  Right after this update, without rebooting, I tried to mount
  partitions which didn't work. I'm using the correct passwords and
  tried with another user account as well. I'm getting the following
  error in logs when I try to mount any unmounted partitions from within
  nautilus or the 'places tab':

  Jul 27 13:25:29 user-mech polkitd(authority=local): Operator of unix-
  session:/org/freedesktop/ConsoleKit/Session6 FAILED to authenticate to
  gain authorization for action org.freedesktop.systemtoolsbackends.set
  for system-bus-name::1.145 [users-admin] (owned by unix-user:gopal)

  In order to collect more information on this, I checked for the
  processes that come up when the "Authentication Window" opens and
  found that the following daemons run:

  /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 under the local user(gopal)
   and
  /usr/lib/policykit-1/polkitd as root.

  
  I killed both the processes and did the following in order to view debug information:
  $gopal:/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
  $gopal:sudo /usr/lib/policykit-1/polkitd

  I'm getting the following on the prompt where I've executed "/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1"
  polkit-agent-helper-1: pam_authenticated failed: Authentication failure

  and

  on the prompt with "sudo /usr/lib/policykit-1/polkitd":
  ** (process:10433): DEBUG: system-bus-name::1.41 is inquiring whether system-bus-name::1.130 is authorized for org.freedesktop.udisks.filesystem-mount-system-internal
  ** (process:10433): DEBUG:  user of caller is unix-user:root
  ** (process:10433): DEBUG:  user of subject is unix-user:gopal
  ** (process:10433): DEBUG: checking whether system-bus-name::1.130 is authorized for org.freedesktop.udisks.filesystem-mount-system-internal
  ** (process:10433): DEBUG:   0x1b9ed50
  ** (process:10433): DEBUG:  subject is in session /org/freedesktop/ConsoleKit/Session6 (local=1 active=1)
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/10-vendor.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/10-vendor.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/20-org.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/20-org.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/30-site.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/30-site.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/50-local.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/50-local.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/90-mandatory.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/90-mandatory.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/10-vendor.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/10-vendor.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/20-org.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/20-org.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/30-site.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/30-site.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/50-local.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/50-local.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/90-mandatory.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/90-mandatory.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/10-vendor.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/10-vendor.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/20-org.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/20-org.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/30-site.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/30-site.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/50-local.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/50-local.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/90-mandatory.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/90-mandatory.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/10-vendor.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/10-vendor.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/20-org.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/20-org.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/30-site.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/30-site.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/50-local.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/50-local.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/90-mandatory.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/90-mandatory.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/10-vendor.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/10-vendor.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/20-org.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/20-org.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/30-site.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/30-site.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/50-local.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/50-local.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/var/lib/polkit-1/localauthority/90-mandatory.d'
  ** (process:10433): DEBUG: Dropping all .pkla caches for directory `/etc/polkit-1/localauthority/90-mandatory.d'
  ** (process:10433): DEBUG:  challenge (implicit_authorization = auth_admin_keep)
  ** (process:10433): DEBUG:  
  ** (process:10433): DEBUG:  using authentication agent for challenge
  ** (process:10433): DEBUG: Authentication complete, is_authenticated = 0
  ** (process:10433): DEBUG: In check_authorization_challenge_cb
    subject                system-bus-name::1.130
    action_id              org.freedesktop.udisks.filesystem-mount-system-internal
    authentication_success 0

  ===============================
  I'll shortly try to downgrade the packages in order to see if it fixes the issue and will report back.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dbus/+bug/816842/+subscriptions




More information about the foundations-bugs mailing list