Feature #10801

Make bluetooth opt-in in the Greeter

Added by Anonymous 2015-12-29 08:30:26 . Updated 2020-04-15 06:01:53 .

Status:
Confirmed
Priority:
Low
Assignee:
Category:
Hardware support
Target version:
Start date:
2015-12-29
Due date:
% Done:

0%

Feature Branch:
Type of work:
Code
Blueprint:

Starter:
Affected tool:
Welcome Screen
Deliverable for:

Description

Like network cards, Bluetooth devices have MAC addresses which can potentially identify a user.

Bluetooth is enabled by default in Tails but we do not ship the corresponding userspace software stack. We now have a feature request to make it possible to disable bluetooth on boot/in the greeter.

Also see https://labs.riseup.net/code/projects/tails/repository/revisions/613b14c689c9b5d94361e90d4f9623fc27fdcef9/entry/wiki/src/doc/advanced_topics/wireless_devices.mdwn

A plan could be:

  • at build time, blacklist bluetooth (bluetooth stack)
  • at (early) boot, rfkill block bluetooth config/chroot_local-includes/usr/local/sbin/tails-set-wireless-devices-state
  • in the Greeter, allow opting-in for Bluetooth
    • in PostLogin.default, pass Bluetooth user prefs to tails-unblock-network
    • in tails-unblock-network, if Bluetooth is enabled, remove the blacklist file and rfkill unblock bluetooth
  • later
    • for added safety, disable system-wide daemon and/or move gnome-bluetooth files out of the way?
    • hardware-dependent device drivers?
    • support enabling Bluetooth post-login if I forgot?

Subtasks


Related issues

Related to Tails - Feature #5547: Deactivate PCMCIA, ExpressCard and FireWire if unused after 5 minutes Confirmed
Related to Tails - Feature #5751: Support Bluetooth when it's used at boot Rejected
Related to Tails - Bug #14957: Document how to re-enable Bluetooth in the GNOME session Confirmed 2017-11-11
Related to Tails - Feature #7787: Better document the (lack of) BlueTooth support in Tails Resolved 2014-08-16
Related to Tails - Feature #15645: Implement a Blueproximity type system for Tails Rejected 2018-06-10

History

#1 Updated by Anonymous 2015-12-29 08:32:36

  • Description updated

#2 Updated by intrigeri 2016-01-03 21:06:24

  • Subject changed from Provide an option to completely disable bluetooth in the greeter to Make bluetooth opt-in in the Greeter
  • Description updated
  • Category set to Hardware support
  • Status changed from New to Confirmed
  • Type of work changed from Discuss to Code

#3 Updated by Anonymous 2016-01-03 21:07:15

  • related to Feature #5547: Deactivate PCMCIA, ExpressCard and FireWire if unused after 5 minutes added

#4 Updated by Anonymous 2016-01-03 21:17:14

  • Description updated

#5 Updated by cypherpunx 2016-01-10 18:28:37

I had a go on a patch to disable BT and enabling it later on in the greeter. The patch is older then one year an possibly completely outdated. Still useful might be the /etc/modprobe.d/blacklist-bluetooth.conf file

—- cut here —-
install bluetooth /bin/false
blacklist bnep
blacklist btusb
blacklist bluetooth
—- cut here —-

The first line is important since the ‘blacklist’ keyword doesn’t seem to be effective if the bluetooth module is load as a dependency.

#6 Updated by intrigeri 2016-01-10 21:02:09

> I had a go on a patch to disable BT and enabling it later on in the greeter.
> The patch is older then one year an possibly completely outdated.

I think that other bits of the patch (especially the non-GUI parts that enable bluetooth if the user wants it) can still be very useful!

> Still useful might be the /etc/modprobe.d/blacklist-bluetooth.conf file

Sure! Thanks a lot :)

#7 Updated by alant 2017-07-27 15:50:34

#8 Updated by alant 2017-07-27 15:51:24

#9 Updated by alant 2017-07-27 15:51:42

#10 Updated by intrigeri 2017-09-14 07:40:37

  • related to Feature #5751: Support Bluetooth when it's used at boot added

#11 Updated by intrigeri 2017-11-11 13:07:27

  • related to Bug #14957: Document how to re-enable Bluetooth in the GNOME session added

#12 Updated by Anonymous 2018-01-19 14:21:31

  • related to Feature #7787: Better document the (lack of) BlueTooth support in Tails added

#13 Updated by Anonymous 2018-01-19 14:21:45

  • related to Feature #5751: Support Bluetooth when it's used at boot added

#14 Updated by Anonymous 2018-01-19 14:21:50

  • related to deleted (Feature #5751: Support Bluetooth when it's used at boot)

#15 Updated by intrigeri 2018-06-14 14:55:30

  • blocks Feature #15645: Implement a Blueproximity type system for Tails added

#16 Updated by intrigeri 2018-06-14 15:06:03

  • blocked by deleted (Feature #15645: Implement a Blueproximity type system for Tails)

#17 Updated by intrigeri 2018-06-14 15:06:06

  • related to Feature #15645: Implement a Blueproximity type system for Tails added

#18 Updated by Anonymous 2018-08-18 09:54:16

  • Priority changed from Normal to Low

Nobody to tackle this within our team → setting priority to low.

#19 Updated by sajolida 2019-01-22 18:08:14

  • Affected tool set to Greeter

#20 Updated by sajolida 2019-01-22 18:56:26

#21 Updated by intrigeri 2020-04-15 06:01:53

  • Affected tool changed from Greeter to Welcome Screen