tailscale / tailscale/tailscale

"Smaller Binary" breaks recently

Open
#15,987 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
36.5k
Forks
3.2k
Avg merge
2d 3h
Merged PRs (30d)
123

Description

### What is the issue?

The resulted binary from guide [https://tailscale.com/kb/1207/small-tailscale](url) only works as tailscale command, not tailscaled deamon.

![Image](https://github.com/user-attachments/assets/1618621d-ff4a-4fd3-a119-1c3f760c3736)

### Steps to reproduce

Building on 1.82 release branch with following command:
`go build -o tailscale.combined -tags ts_include_cli,ts_omit_aws,ts_omi
t_bird,ts_omit_tap,ts_omit_kube -ldflags="-s -w" ./cmd/tailscale`

### Are there any recent changes that introduced the issue?

Last working version was:
Program starting: v1.77.0-dev20241011-t12e6094d9-dirty, Go 1.23.2: []string{"./tailscale.combined.old"}

### OS

Linux

### OS version

Not related (confirmed on both GOARM=5 and AMD64)

### Tailscale version

1.82.5

### Other software

_No response_

### Bug report

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.