You are not logged in.

#1 2018-08-19 13:04:24

spsf64
Member
From: FL, US or SP, BR
Registered: 2012-05-18
Posts: 100
Website

[SOLVED] New "blueman" 2.0.6+ requires polkit auth for root commands

Quoting github page at: https://github.com/blueman-project/blueman/releases

==================================
This release adds authorisation checks for the commands blueman runs as root

We added the following policykit authorisation checks

org.blueman.network.setup
org.blueman.pppd.pppconnect
org.blueman.rfkill.setstate
See https://github.com/blueman-project/blue … /PolicyKit
==================================

I think the wiki need to be updated, I am not skilled enough to edit it....
Otherwise we get some polkit prompts during login when using a GUI DE.

Solved: https://wiki.archlinux.org/index.php/Bl … ermissions

Last edited by spsf64 (2018-08-29 14:54:52)


Sergio S.

Offline

#2 2018-08-20 13:17:46

Thomas Krishan
Member
Registered: 2014-02-04
Posts: 3

Re: [SOLVED] New "blueman" 2.0.6+ requires polkit auth for root commands

You may already have done this but for anyone else who is reading this, what needs to be done is explained in the second link in your comment.

https://github.com/blueman-project/blue … /PolicyKit

A file needs to be created for polkit as root in:

/usr/share/polkit-1/rules.d/

that contains the following:

/* Allow users in wheel group to use blueman feature requiring root without authentication */
polkit.addRule(function(action, subject) {
    if ((action.id == "org.blueman.network.setup" ||
         action.id == "org.blueman.dhcp.client" ||
         action.id == "org.blueman.rfkill.setstate" ||
         action.id == "org.blueman.pppd.pppconnect") &&
        subject.isInGroup("wheel")) {
        return polkit.Result.YES;
    }
});

I simply named my file blueman.rules.

Offline

#3 2018-08-21 13:23:42

delx
Member
Registered: 2015-02-08
Posts: 13

Re: [SOLVED] New "blueman" 2.0.6+ requires polkit auth for root commands

I've created https://bugs.archlinux.org/task/59736, so hopefully this will be added to the blueman package.

Offline

#4 2018-08-21 14:43:44

spsf64
Member
From: FL, US or SP, BR
Registered: 2012-05-18
Posts: 100
Website

Re: [SOLVED] New "blueman" 2.0.6+ requires polkit auth for root commands

@delx, I don't believe it is a bug, it is more like a configuration setting?? Maybe an expert/mod can answer...
That is why I mentioned the WIKI should be updated.
Maybe this topic should be moved to "Forum & Wiki discussion"?


Sergio S.

Offline

#5 2018-08-21 15:58:35

loqs
Member
Registered: 2014-03-06
Posts: 17,325

Re: [SOLVED] New "blueman" 2.0.6+ requires polkit auth for root commands

@spsf64 you could updated the wiki.

Offline

#6 2018-08-21 22:46:58

delx
Member
Registered: 2015-02-08
Posts: 13

Re: [SOLVED] New "blueman" 2.0.6+ requires polkit auth for root commands

You're right, it isn't an Arch packaging issue. I've raised a request with blueman to reconsider the default policy: https://github.com/blueman-project/blueman/issues/912

Offline

#7 2018-08-22 00:35:13

spsf64
Member
From: FL, US or SP, BR
Registered: 2012-05-18
Posts: 100
Website

Re: [SOLVED] New "blueman" 2.0.6+ requires polkit auth for root commands

@loqs, I don't feel comfortable editing the wiki, no experience at all, also English is not my primary language. I am afraid of screwing things, lol!

@delx, just checked the github page and saw the reply, thanks


Sergio S.

Offline

#8 2018-08-22 04:05:43

mneiner
Member
Registered: 2017-12-13
Posts: 20

Re: [SOLVED] New "blueman" 2.0.6+ requires polkit auth for root commands

New file in /usr/share/polkit-1/rules.d/ did the trick !

Thanks !


_________________________
Asus X200CA Notebook

Offline

#9 2018-08-29 14:55:56

spsf64
Member
From: FL, US or SP, BR
Registered: 2012-05-18
Posts: 100
Website

Re: [SOLVED] New "blueman" 2.0.6+ requires polkit auth for root commands

Marked as solved, someone kindly edit the wiki, thanks!
Also edited the 1st post.

https://wiki.archlinux.org/index.php/Bl … ermissions


Sergio S.

Offline

Board footer

Powered by FluxBB