Bluetooth cannot be switched on/off on Nexus 4 (rfkill issues)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bluetooth Menu |
Fix Released
|
High
|
Charles Kerr | ||
indicator-bluetooth (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Saucy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When using the latest indicator-bluetooth on the Nexus 4 (mako) and Ubuntu Touch switching bluetooth on/off is impossible, as the state never changes. Same when doing it from the ubuntu-
The unity8.log upstart log has this in it:
Can't open /dev/rfkill for use as a killswitch backend: Permission denied
Couldn't write rfkill event: Bad file descriptor
Can't open /dev/rfkill for use as a killswitch backend: Permission denied
[Impact]
* User has no chance to switch bluetooth on or off which can also pose a security problem when having bluetooth on all the time.
[Test Case]
* Try to switch BT on/off via indicator or system settings.
[Regression Potential]
* None really as it cannot be more broken as it is currently.
Related branches
- Ted Gould (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 422 lines (+133/-84)8 files modifiedsrc/bluetooth.vala (+8/-41)
src/bluez.vala (+108/-26)
src/desktop.vala (+2/-6)
src/killswitch.vala (+7/-0)
src/main.vala (+1/-1)
src/org-bluez.vala (+1/-1)
src/phone.vala (+1/-1)
src/profile.vala (+5/-8)
Changed in indicator-bluetooth: | |
status: | New → Triaged |
Changed in indicator-bluetooth: | |
importance: | Undecided → High |
assignee: | Charles Kerr (charlesk) → nobody |
assignee: | nobody → Charles Kerr (charlesk) |
Changed in indicator-bluetooth: | |
status: | Triaged → In Progress |
description: | updated |
Changed in indicator-bluetooth: | |
status: | Fix Committed → Fix Released |
This is a permissions issue with /dev/rfkill. If indicator-bluetooth can't read or write /dev/rfkill, it can't toggle bluetooth on & off.