-
-
Notifications
You must be signed in to change notification settings - Fork 16.6k
sing-box: 1.11.15 -> 1.12.3, nixos/sing-box: add user and group, nixosTests.sing-box: migrate config #430835
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
bb34b16
to
302d645
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise LGTM.
302d645
to
fd3c69c
Compare
It should be noted that although sing-box 1.12.0 changes some configuration formats, it is not a breaking change. The old format will continue to be compatible until two minor versions, which is about a year later, giving users plenty of time to update their configurations. |
Thanks. However, this will mean that if we don't consider 1.11.15 -> 1.12.0 as a breaking change, then we need to make 1.12.1 -> 1.12.2 as one, which breaks semantic versioning and will cause confusion. Thus it's better to do it right now, and nothing can stop nixos-unstable user to migrate now or later anyway. |
You seem to have misunderstood, that's 1.14.0, not 1.12.2 |
I'm avoiding DynamicUser now because of systemd/systemd#9503. |
I believe that most people will not need to use the resolved service and its DNS server, since their purpose is to replace systemd-resolved to accept DNS settings set by other software (e.g. NetworkManager, Tailscale), rather than querying through resolved (although it is implemented in the local DNS server in new 1.13 alpha versions). |
Looks like resolved is working now, should be good. |
e36b47a
to
b3b14b6
Compare
Since 1.12 has been in beta for six months and I haven't received any bug reports regarding the default interface finder, I suspect this is a configuration issue or a test failure caused by an unusual environment. In any case, if this bug occurs during normal use, please open an issue with us. |
sing-box works fine, just that there's this harmless ERROR level message. It could be related to how we set up network interfaces, as I don't see this outside of NixOS tests. |
|
b3b14b6
to
5bcb1ac
Compare
|
aarch64-linux test is failing consistently:
|
aarch64-linux |
Again, please test if the polkit/dbus rules actually work as intended, otherwise we may as well remove them. |
They are used when sing-box is running as an unprivileged user (such as sing-box) and needs to set up resolved-related features. Since resolved is tested to work, we can be confident that the rules are working. |
Release notes: https://github.com/SagerNet/sing-box/releases/tag/v1.12.3
Changelog: https://sing-box.sagernet.org/changelog/#1123
Reference:
Things done
passthru.tests
.nixpkgs-review
on this PR. See nixpkgs-review usage../result/bin/
.Add a 👍 reaction to pull requests you find important.