From: Bastien Nocera <hadess@hadess.net>
To: Marcel Holtmann <marcel@holtmann.org>
Cc: Andrea Veri <andrea.veri89@gmail.com>, linux-bluetooth@vger.kernel.org
Subject: Re: rfkill read / write access needs to be enabled for normal users
Date: Sat, 24 Oct 2009 18:28:10 +0100 [thread overview]
Message-ID: <1256405290.3198.5.camel@localhost.localdomain> (raw)
In-Reply-To: <1256401467.7812.7.camel@localhost.localdomain>
On Sun, 2009-10-25 at 01:24 +0900, Marcel Holtmann wrote:
> Hi Andrea,
>
> > while working on gnome-bluetooth for Debian, I noticed that rfkill's
> > read / write access needs to be enabled for normal users.
> >
> > There is a patch for this already:
> >
> > KERNEL=="rfkill", ENV{ACL_MANAGE}="1"
> >
> > This is done through an udev rule, but I don't think this is the best
> > way to have it fixed.
> >
> > I guess that having a fix included into bluez itself would make the
> > trick IMHO.
> >
> > Is there someone working on this already? if not, someone can suggest
> > me another way to have this fixed without having to use an udev rule?
This isn't a bug, it's mentioned in gnome-bluetooth's README, along with
the dependencies.
> I have said this before and let me repeat it again, gnome-bluetooth
> should not mess directly with the RFKILL subsystem. It is the wrong
> approach and that is the reason why normal users don't have uncontrolled
> access to /dev/rfkill.
Except that you have failed to come up with a better solution for _now_.
I don't think that we want to wait for you to write rfkilld, or to
change your mind again about how it should be implemented.
bluetoothd didn't even work properly with killswitches before I
mentioned it on the list and on IRC, so I'd appreciate a bit more
honesty in your blanket opinions...
Cheers
next prev parent reply other threads:[~2009-10-24 17:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-24 15:13 rfkill read / write access needs to be enabled for normal users Andrea Veri
2009-10-24 16:24 ` Marcel Holtmann
2009-10-24 17:28 ` Bastien Nocera [this message]
2009-10-25 11:48 ` Andrea Veri
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1256405290.3198.5.camel@localhost.localdomain \
--to=hadess@hadess.net \
--cc=andrea.veri89@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=marcel@holtmann.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox