Skip to content

Bluetooth: Privacy is under the wrong section and uses an unsupported literal value #379

Description

@krecony

Inside of the bluetooth configuration there is the setting Privacy=network/on, which is:

  • In the wrong section - should be under [General] but is under [Policy]
  • The parser does not accept the value network/on

# network/on: A device will only accept advertising packets from peer
# devices that contain private addresses. It may not be compatible with some
# legacy devices since it requires the use of RPA(s) all the time.
Privacy=network/on

While the bluez config lists network/on as an option, the documentation is ambiguous, the parser accepts either network or on, not network/on (parser code).

So the correct config should simply have

[General]
Privacy=network

Randomly noticed this tiny mistake when going through my journal warnings haha

wrz 27 21:27:19 nyx bluetoothd[1110]: src/main.c:check_options() Unknown key Privacy for group Policy in /etc/bluetooth/main.conf

Running NixOS (with nix-mineral) and Bluez 5.87

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions