Bug#705963: apper: Please document how to setup authorization

2013-04-24 Thread Daniel Schepler
retitle 705693 apper: Asks for password for wrong user
severity 705693 normal
thanks

OK, I finally figured out, from looking in /var/log/auth.log, that for some
reason it was actually asking for the password for my "buildd" account.
Once I entered that password, the system upgrade worked fine.

I have no idea why it would be asking for that password, though.  The
buildd user is actually a pseudo-account that I never log into directly,
and the various times I tried it, I was actually logged in as either
"daniel" for personal stuff or "snt" for work-related stuff.

Feel free to reassign to the appropriate package if, for example, apper is
just passing along a request from policykit.
-- 
Daniel Schepler


Bug#705963: apper: Please document how to setup authorization

2013-04-22 Thread Daniel Schepler
On Mon, Apr 22, 2013 at 2:01 PM, Matthias Klumpp  wrote:

> Hi!
> Apper uses PolicyKit for authorization - there is nothing to set up
> but PolicyKit privileges, which are usually fine.
> So, this is
>  a) broken configuration on your system
>  b) a bug in the PolicyKit packaging
> Have you checked that you have the latest version of Polkit installed,
> and a policykit-agent is running?
>

OK, so I guess it's supposed to work out of the box, without needing to do
anything like adding users authorized to update the system to a particular
group?

All my packages are up to date as of sid, with a few upgraded to
experimental (including the KDE 4.10.2 packages, and
gcc-4.7/gcc-4.8/eglibc).  I did 'ps auwwx | grep policykit' and saw a
polkitd process but nothing with "policykit-agent".

Looking through ~/.xsession-errors, I see a few possibly interesting lines:
QDBusConnection: session D-Bus connection created before QCoreApplication.
Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication.
Application may misbehave.
Error, cannot create transaction proxy
QDBusError("org.freedesktop.DBus.Error.NameHasNoOwner", "Could not get
owner of name 'org.freedesktop.PackageKit': no such name")

Then, at the point of actually asking for authentication, the messages
aren't too helpful:
kwin(14630) KWin::Client::configureRequest: KWin::Client(0x2adb5d0) true
false false
kwin(14630) KWin::Client::configureRequest: PERMITTED 'ID: 62914567
;WMCLASS: "polkit-kde-authentication-agent-1" :
"polkit-kde-authentication-agent-1" ;Caption: "Authentication is required
to update packages – PolicyKit1-KDE" ' true
REQUEST
polkit-agent-helper-1: pam_authenticate failed: Authentication failure
COMPLETED
REQUEST
polkit-agent-helper-1: pam_authenticate failed: Authentication failure
COMPLETED
Listener adapter polkit_qt_listener_initiate_authentication_finish
polkit_qt_listener_initiate_authentication_finish callback for  0x1360ec0
kded(13417) ApperdThread::transactionListChanged: tids.size() 0
kded(13417) ApperdThread::getTimeSinceRefreshCache: 13832


(I will close this bug later)
>

Wouldn't it be better to keep this open until we figure out why it isn't
working as it's supposed to?  And maybe instead reassign it to a more
appropriate package?  I haven't done anything strange to the system
configuration files or package installations that I'd think should cause
something like this.


> Cheers,
> Matthias
>
-- 
Daniel Schepler


Bug#705963: apper: Please document how to setup authorization

2013-04-22 Thread Matthias Klumpp
Hi!
Apper uses PolicyKit for authorization - there is nothing to set up
but PolicyKit privileges, which are usually fine.
So, this is
 a) broken configuration on your system
 b) a bug in the PolicyKit packaging
Have you checked that you have the latest version of Polkit installed,
and a policykit-agent is running?
(I will close this bug later)
Cheers,
Matthias


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#705963: apper: Please document how to setup authorization

2013-04-22 Thread Daniel Schepler
Package: apper
Version: 0.7.2-5
Severity: wishlist

I recently installed apper after realizing it was a dependency of the KDE
task (but not kde-full).  However, it's not working for me -- I've tried
both my personal account's password and the root password, and neither is
accepted.  So, I looked into /usr/share/doc/apper to see if it had any
information on how to set things up properly, and didn't see anything
useful there.

If the documentation is already present somewhere (like in one of the
policykit packages), a pointer from /usr/share/doc/apper/README to where to
find this would be sufficient.
-- 
Daniel Schepler