Tagged devices are not shown with the "tagged-devices" user #1174

Open
opened 2025-12-29 02:28:43 +01:00 by adam · 2 comments
Owner

Originally created by @kradalby on GitHub (Dec 18, 2025).

In headscale, devices that are tagged are not shown correctly as tagged-devices:

❯ tss
100.78.42.32     krair      kd@                macOS  -
100.99.162.73    beta       userid:2147455555  linux  idle; offers exit node

Where userid:2147455555 is hardcoded as the tagged device.

While in a Tailscale network:

100.125.212.85   core-ldn                tagged-devices      linux    - 
Originally created by @kradalby on GitHub (Dec 18, 2025). In headscale, devices that are tagged are not shown correctly as `tagged-devices`: ``` ❯ tss 100.78.42.32 krair kd@ macOS - 100.99.162.73 beta userid:2147455555 linux idle; offers exit node ``` Where `userid:2147455555` is hardcoded as the tagged device. While in a Tailscale network: ``` 100.125.212.85 core-ldn tagged-devices linux - ```
adam added the bughelp wantedgood first issueno-stale-bottags labels 2025-12-29 02:28:43 +01:00
Author
Owner

@kradalby commented on GitHub (Dec 18, 2025):

I suspect it is because

https://github.com/juanfont/headscale/blob/main/hscontrol/types/users.go#L25-L38

Is not part of the user list in the map response.

@kradalby commented on GitHub (Dec 18, 2025): I suspect it is because https://github.com/juanfont/headscale/blob/main/hscontrol/types/users.go#L25-L38 Is not part of the user list in the map response.
Author
Owner

@nblock commented on GitHub (Dec 21, 2025):

It looks like this on my test setup (Magic DNS enabled in SaaS):

SaaS:

100.72.20.107  n1         n1.tailffffff.ts.net  linux    - 

Headscale 0.28.0-beta.1:

100.72.20.107  n1         userid:2147455555  linux  - 
@nblock commented on GitHub (Dec 21, 2025): It looks like this on my test setup (Magic DNS enabled in SaaS): SaaS: ```bash 100.72.20.107 n1 n1.tailffffff.ts.net linux - ``` Headscale 0.28.0-beta.1: ```bash 100.72.20.107 n1 userid:2147455555 linux - ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#1174