[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 229735] Installing KDE in "/usr/KDE-4.4 breaks Authorization.
From:       Dario Freddi <drf () kde ! org>
Date:       2010-03-16 8:40:44
Message-ID: 20100316084045.4493637CA3 () immanuel ! kde ! org
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=229735


Dario Freddi <drf@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEW




--- Comment #17 from Dario Freddi <drf kde org>  2010-03-16 09:40:28 ---
(In reply to comment #16)
> IIUC, the "*.policy" files must be installed in the appropriate sub-directories
> of $PREFIX/share where $PREFIX is the prefix where PolicyKit and PolKit are
> installed.  This should be accomplished by using the CMake parameter:
> 
> -DKDE4_AUTH_POLICY_FILES_INSTALL_DIR:STRING=/usr/share/PolicyKit/policy
> 
> and the "*.policy" files were installed in that directory, except for one:
> "org.kde.kcontrol.kcmremotewidgets.policy".  Could that be a bug?  IAC, I
> linked to to be sure.

Yup, it is, probably a problem while bootstrapping.

> 
> Now, thing have improved.  When I open SystemSettings and go to: "Advanced ->
> PolicyKit Authorization", the KDE policies now show up in the tree view in a
> tree rooted with "org.kde".  And, the notice in the "Date & Time" now says that
> I will be required to authenticate when I save.
> 
> HOWEVER, it still doesn't work.  I can't save a change in time zone.  In fact,
> the button: "Apply" remains grayed out.  Unless there is something else that I
> need to do, I have to conclude that this *is* a KDE problem.  Or, perhaps I
> need to install: PolKit-Qt and PolKit-Qt-1 with a PREFIX of "/usr" as well, but
> that would be a KDE problem, wouldn't it.

Polkit-Qt* do not need to be installed to the same prefix. 99/100, if the
button is greyed out, is for one of the following reason:

 - You don't have the action file in your system. You seem like you do ,
however the action dir is the PolicyKit one. Can you please check kdelibs is
being built with Polkit-Qt as a backend and not with Polkit-Qt-1? (cmake says
it)
 - You don't have consolekit running, hence the default policy prevents you
from saving. Can you please check if your kdm has been compiled with consolekit
support? If you're logging in without kdm that's another story instead. If
that's the case you could:
  - Either spawn ck manually when launching kde (if you google around some
people do that)
  - Either change the system policies to let you authorize even if you're not
on any console.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic