[Pkg-utopia-maintainers] Bug#619432: policykit-1-gnome: do not start agent in GNOME3 normal session

Frederic Peters fpeters at debian.org
Wed Mar 23 20:34:42 UTC 2011


Package: policykit-1-gnome
Version: 0.99-2
Severity: normal


gnome-shell comes with its own implementation of a policy kit agent, so the one
provided by policykit-gnome shouldn't be started.

The mechanism to do so is available in gnome-session 2.91, thanks to a new key
in the autostart file, AutostartCondition.

Setting it to "GNOME3 unless-session gnome" means that for sessions started
with gnome-session, the session named "gnome" won't get the agent started. (the
other known session name is gnome-fallback).



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.37-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages policykit-1-gnome depends on:
ii  libc6                         2.11.2-13  Embedded GNU C Library: Shared lib
ii  libglib2.0-0                  2.28.2-1   The GLib library of C routines
ii  libgtk2.0-0                   2.24.3-1   The GTK+ graphical user interface 
ii  libpolkit-agent-1-0           0.101-1    PolicyKit Authentication Agent API
ii  libpolkit-gobject-1-0         0.101-1    PolicyKit Authorization API
ii  policykit-1                   0.101-1    framework for managing administrat

policykit-1-gnome recommends no packages.

policykit-1-gnome suggests no packages.

-- Configuration Files:
/etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop changed [not included]

-- no debconf information
-------------- next part --------------
>From 20588c00a1125f32a60a9704c671819c4aee5cf3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= <fpeters at 0d.be>
Date: Mon, 14 Mar 2011 18:22:14 +0100
Subject: [PATCH] Don't run the authentication agent in GNOME 3

---
 debian/polkit-gnome-authentication-agent-1.desktop |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/debian/polkit-gnome-authentication-agent-1.desktop b/debian/polkit-gnome-authentication-agent-1.desktop
index a1dbaea..f3d257d 100644
--- a/debian/polkit-gnome-authentication-agent-1.desktop
+++ b/debian/polkit-gnome-authentication-agent-1.desktop
@@ -85,3 +85,4 @@ Type=Application
 Categories=
 NoDisplay=true
 OnlyShowIn=GNOME;XFCE;
+AutostartCondition=GNOME3 unless-session gnome
-- 
1.7.4.1



More information about the Pkg-utopia-maintainers mailing list