[From nobody Mon Nov 25 00:12:30 2013
Received: (at submit) by bugs.debian.org; 24 Nov 2013 23:57:37 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2-bugs.debian.org_2005_01_02
 (2011-06-06) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-17.9 required=4.0 tests=BAYES_00,DIGITS_LETTERS,
 DKIM_SIGNED,DKIM_VALID,FOURLA,FROMDEVELOPER,FVGT_m_MULTI_ODD,HAS_PACKAGE,
 PGPSIGNATURE,T_FRT_SLUT,XMAILER_REPORTBUG autolearn=ham
 version=3.3.2-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 74; hammy, 151; neutral, 277; spammy,
 0. spammytokens: hammytokens:0.000-+--H*x:6.4.4,
 0.000-+--H*UA:6.4.4, 
 0.000-+--H*r:2a01, 0.000-+--H*M:reportbug, 0.000-+--H*MI:reportbug
Return-path: &lt;bernat@debian.org&gt;
Received: from bart.luffy.cx ([78.47.78.131])
 by buxtehude.debian.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256)
 (Exim 4.80) (envelope-from &lt;bernat@debian.org&gt;) id 1VkjYW-0002uk-Mh
 for submit@bugs.debian.org; Sun, 24 Nov 2013 23:57:37 +0000
Received: from bart.luffy.cx (localhost [127.0.0.1])
 by bart.luffy.cx (Postfix) with ESMTP id 4395F1423C;
 Mon, 25 Nov 2013 00:57:33 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha1; c=simple; d=luffy.cx; h=content-type
 :mime-version:content-transfer-encoding:from:to:subject
 :message-id:date; s=postfix; bh=D/+uko1KWGWvVxplUoCvWPmguHE=; b=
 RZh0reK8AfERF40nkyGk0HUoFrK0ypcqgJCnh+8oD1wVVoCRfSLxm8wyglRp2hb5
 CjWXhEe2Tx1sSMFf/3NmNkfltrnJGyDxSuLEKqSnV3g2ugMSyns9qD5FcEi4g8Si
 sxESIXV8BSseJkJzMCK+zd7kUmVLw3mMXe2F/doqpbo=
Received: from neo.luffy.cx (unknown
 [IPv6:2a01:e34:ec6d:710:218:f3ff:fe03:4e06])
 by bart.luffy.cx (Postfix) with ESMTPS id EBE0B1423A;
 Mon, 25 Nov 2013 00:57:32 +0100 (CET)
Received: by neo.luffy.cx (Postfix, from userid 500)
 id 55F731552; Mon, 25 Nov 2013 00:57:30 +0100 (CET)
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Vincent Bernat &lt;bernat@debian.org&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: logind should replace console-kit in Debian
Message-ID: &lt;20131124235730.18299.10209.reportbug@neo.luffy.cx&gt;
X-Mailer: reportbug 6.4.4
Date: Mon, 25 Nov 2013 00:57:30 +0100
Delivered-To: submit@bugs.debian.org

Package: systemd
Version: 204-5
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi!

I am using systemd+lightdm. For some reason, console-kit stopped
working on my system. I am no longer registered in the list of
sessions after logging (ck-list-sessions is empty). However, I am
correctly registered with logind:

$ loginctl show-session $XDG_SESSION_ID
Id=5
Timestamp=lun. 2013-11-25 00:41:18 CET
TimestampMonotonic=44821763894
DefaultControlGroup=systemd:/user/500.user/5.session
VTNr=7
Display=:0
Remote=no
Service=lightdm
Leader=15734
Audit=5
Type=x11
Class=user
Active=yes
State=active
KillProcesses=no
IdleHint=no
IdleSinceHint=0
IdleSinceHintMonotonic=0
Name=bernat

However, absolutely nothing works as expected. I am unable to run
polkit-gnome-authentication-agent-1:

/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 --verbose

** (polkit-gnome-authentication-agent-1:18484): WARNING **: Couldn't register with accessibility bus: 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.

(polkit-gnome-authentication-agent-1:18484): polkit-gnome-1-WARNING **: Unable to determine the session we are in: GDBus.Error:org.freedesktop.ConsoleKit.Manager.GeneralError: Unable to lookup session information for process '18484'

And anything that requires an active local user just fails with
permission denied. It seems we are still massively using ConsoleKit. A
quick look at policykit-1 package shows that there is no dependency on
systemd. Therefore, I think that policykit is not able to speak with
logind. This makes the whole chain breaks.

I am filing this bug against systemd because I don't have anything in
hand for this problem. If the problem can be solved just by compiling
policykit with systemd support, please, reassign this bug.

I have also updated pamd files with pam-auth-update --force. No
change.

- -- Package-specific info:

- -- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages systemd depends on:
ii  initscripts          2.88dsf-43
ii  libacl1              2.2.52-1
ii  libaudit1            1:2.3.2-2
ii  libc6                2.17-96
ii  libcap2              1:2.22-1.2
ii  libcryptsetup4       2:1.6.1-1
ii  libdbus-1-3          1.6.18-1
ii  libgcrypt11          1.5.3-2
ii  libkmod2             9-3
ii  liblzma5             5.1.1alpha+20120614-2
ii  libpam0g             1.1.3-10
ii  libselinux1          2.2.1-1
ii  libsystemd-daemon0   204-5
ii  libsystemd-journal0  204-5
ii  libsystemd-login0    204-5
ii  libudev1             204-5
ii  libwrap0             7.6.q-24
ii  udev                 204-5
ii  util-linux           2.20.1-5.5

Versions of packages systemd recommends:
ii  libpam-systemd  204-5

Versions of packages systemd suggests:
pn  systemd-ui  &lt;none&gt;

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)

iQIcBAEBCAAGBQJSkpJlAAoJEJWkL+g1NSX5AXkQAIjyNu2XToL/BHz48uLIsL13
DNU+vOpZXCJUgfo35kz1/DHTLetFriJpAbbB85fJNIoDyFjcA+Gf7XFIIvJ7Y0ue
8KOwHs9jbFZgV6Gr2P437gFNl1xIcMPLfgzKOEiDmMEeVUiLu4aTKcNFrwzo43Rv
G9hNe2E6ZfL954/Bz2KXNmKY+q8OsPwuZRgzeswxvzfTudMU4JbF4VJTwT63HU+z
J20r4aVzzouZQcdF9KIJx2CQclsbHU9IzYavt9kEGk6Hu3ly+NPckv7QyBzZvY/B
950ObwrI5UNKNHr6Ng6NvDzOr5BFFv3KGIMPdbKyLrXr5VBZQx/fY/mDImEg1X+O
7G+tOEEzsQsx4hZJl+rFaGQ1LeE0nzh5bMnTXCFGt2lCDsBoxCMbxOfWDve1xyW7
UDud7rF/KpIEqcDvrOzDBm+LXpH11fymFi0HizZjpvbb9VLLPFdoe2YVu4RRubsT
G80y8XMsfl2KwYo6BDd4BvoAhi3Ta8czqDfeSskaESzkGcsgu5LiyVfDVjjBC27q
yjPGjNP72pVnfnD8hWUxwjhaHUimsZkU+jNwU030A8UGU9Vvzi9D6Txh1kluvP8Q
4iNghDOSbRTS3WWQPTBTFc/jSrBIIqUGKsWKx9jiVyOqS5fWwUtjVXjaSAA5nyE+
xECOHV22FiNQde0XAxOe
=/4Y1
-----END PGP SIGNATURE-----
]